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.
I am working through the CustomerBook example from the netbeans website. In the 'Coding the servlet' section; at step 2 when attempting to include a call to the CustomerFacade session bean from the web package I get an unexpected error pop-up: A java.lang.NullPointerException exception has occurred. Please report this at http://www.netbeans.org/community/issues.html, including a copy of your messages.log file as an attachment. The messages.log file is located in your C:\Documents and Settings\Nigel\.netbeans\5.5preview\var\log folder. Details are: java.lang.NullPointerException at org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.testResourceCha nge(MetadataElement.java:1184) at org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.getPosition (MetadataElement.java:519) at org.netbeans.modules.javacore.JMManager.getElementPosition (JMManager.java:725) at org.netbeans.modules.javacore.JMManager.getElementPosition (JMManager.java:711) at org.netbeans.modules.j2ee.common.JMIUtils$1.run(JMIUtils.java:330) at org.openide.util.RequestProcessor$Task.run (RequestProcessor.java:493) [catch] at org.openide.util.RequestProcessor$Processor.run (RequestProcessor.java:926) Message file attached.
Created attachment 29880 [details] NetBeans 5.5 message log.
NPE in javacore
Javacore module was replaced by Retouche infrastructure. This bug is not valid in trunk any more.
Reorganization of java component