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 84692 - [55cat] NPE at NNMDRListener
Summary: [55cat] NPE at NNMDRListener
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Martin Adamek
URL:
Keywords:
: 84794 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-09-12 12:48 UTC by wulgar
Modified: 2006-09-18 09:28 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wulgar 2006-09-12 12:48:23 UTC
[ BUILD # : 200609120000 ]
[ JDK VERSION : 1.6 ]

*********** Exception occurred ************ at 1:47 PM on Sep 12, 2006
java.lang.NullPointerException
	at org.netbeans.modules.j2ee.metadata.NNMDRListener.findAnnotationsInList(NNMDRListener.java:475)
	at org.netbeans.modules.j2ee.metadata.NNMDRListener.findAnnotationsInClass(NNMDRListener.java:469)
	at org.netbeans.modules.j2ee.metadata.NNMDRListener.getAnnotationUsages(NNMDRListener.java:459)
	at org.netbeans.modules.j2ee.metadata.NNMDRListener.access$400(NNMDRListener.java:71)
	at org.netbeans.modules.j2ee.metadata.NNMDRListener$2.run(NNMDRListener.java:134)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
Comment 1 Jindrich Sedek 2006-09-13 09:03:31 UTC
I can reproduce this exception
Create EJB module
Run new EntityClass wizard
set some package and create persistance unit
press finish
Exception rises with mentioned stacktrace
Comment 2 martineez 2006-09-13 15:21:19 UTC
i get same error
when starting ide - after scanning project classpaths
nb5.5 dev 200609120000, jdk 1.5.0_08
Comment 3 Jan Horvath 2006-09-13 17:36:41 UTC
*** Issue 84794 has been marked as a duplicate of this issue. ***
Comment 5 Andrei Badea 2006-09-14 15:35:22 UTC
The fix looks good to me.
Comment 6 Jindrich Sedek 2006-09-15 09:48:59 UTC
Verified NetBeans5.5Dev 200609150300(dev branch)
Comment 8 Jindrich Sedek 2006-09-18 09:28:39 UTC
Verified NetBeans 5.5Dev 200609160000