This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
When verifying a war project and the web.xml file contains an ejb-ref element for which the ejb-ref- type element is missing i get the following a NullPointerException Error Name : com.sun.enterprise.tools.verifier.tests.web.elements.WebEjb RefTypeElement Error Description : java.lang.NullPointerException at com.sun.enterprise.tools.verifier.tests.web.elements.WebEjbRefTypeEle ment.check(WebEjbRefTypeElement.java:64) at com.sun.enterprise.tools.verifier.tests.web.WebTest.check(WebTest.jav a:67) at com.sun.enterprise.tools.verifier.CheckMgr.check(CheckMgr.java:120) at com.sun.enterprise.tools.verifier.web.WebCheckMgrImpl.check(WebCheckM grImpl.java:105) at com.sun.enterprise.tools.verifier.BaseVerifier.verify(BaseVerifier.ja va:133) at com.sun.enterprise.tools.verifier.web.WebVerifier.verify(WebVerifier. java:79) at com.sun.enterprise.tools.verifier.VerificationHandler.runVerifier(Ver ificationHandler.java:223) at com.sun.enterprise.tools.verifier.VerificationHandler.verifyArchive(V erificationHandler.java:134) at com.sun.enterprise.tools.verifier.Verifier.verify(Verifier.java:131) at com.sun.enterprise.tools.verifier.Verifier.main(Verifier.java:101) <ejb-ref> <ejb-ref-name>ejb/Hello</ejb-ref-name> <!-- <ejb-ref-type>Session</ejb-ref-type> --> <remote>fi.kronodoc.test.Hello</remote> </ejb-ref>
Reassigning to serverplugins, please evaluate. Maybe a bug in GF.
verifier code error...
please attach sample war that demonstrates this issue.
Created attachment 32356 [details] project for demonstrating the issue
please modify netbeans/Hello/hello-war/web/WEB-INF/web.xml in hello.tgz to reproduce
Opened https://glassfish.dev.java.net/issues/show_bug.cgi?id=974 to track the issue in the GF verifier. This basic issue is that the plugin forwards this junk to users.... So I am marking this issue as a dup of issue 80322. *** This issue has been marked as a duplicate of 80322 ***