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.

Bug 75124 - Error inserting call to session bean in web package.
Summary: Error inserting call to session bean in web package.
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-17 17:37 UTC by nj_hutchison
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NetBeans 5.5 message log. (18.47 KB, text/plain)
2006-04-17 17:39 UTC, nj_hutchison
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nj_hutchison 2006-04-17 17:37:34 UTC
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.
Comment 1 nj_hutchison 2006-04-17 17:39:56 UTC
Created attachment 29880 [details]
NetBeans 5.5 message log.
Comment 2 Jan Pokorsky 2006-04-19 10:34:51 UTC
NPE in javacore
Comment 3 Jan Becicka 2006-10-26 16:26:47 UTC
Javacore module was replaced by Retouche infrastructure. This bug is not valid
in trunk any more.
Comment 4 Quality Engineering 2007-09-20 11:52:14 UTC
Reorganization of java component