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 107174 - NPE while deleting source.
Summary: NPE while deleting source.
Status: CLOSED DUPLICATE of bug 106959
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-19 12:21 UTC by Peter Pis
Modified: 2007-07-12 14:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NPE (3.16 KB, text/plain)
2007-06-19 12:21 UTC, Peter Pis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Pis 2007-06-19 12:21:03 UTC
Product Version: NetBeans IDE Dev (Build 200706180000) Java: 1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b101 System:
Windows XP version 5.1 running on x86; Cp1252; en_GB (nb) Userdir: C:\Documents and Settings\peter\.netbeans\dev

Steps:
1. Open J2SE project.
2. Select some file of the project and press "Delete" key.

NPE was thrown. Happens randomly.
Comment 1 Peter Pis 2007-06-19 12:21:41 UTC
Created attachment 43950 [details]
NPE
Comment 2 Peter Pis 2007-06-19 12:22:47 UTC
java.lang.NullPointerException
	at
org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationScanner.findAnnotatedTypes(AnnotationScanner.java:87)
	at
org.netbeans.modules.j2ee.persistenceapi.metadata.orm.annotation.EntityMappingsImpl$EntityProvider.createInitialObjects(EntityMappingsImpl.java:369)
	at
org.netbeans.modules.j2ee.metadata.model.api.support.annotation.PersistentObjectManager.ensureInitialized(PersistentObjectManager.java:100)
	at
org.netbeans.modules.j2ee.metadata.model.api.support.annotation.PersistentObjectManager.getObjects(PersistentObjectManager.java:81)
	at
org.netbeans.modules.j2ee.persistenceapi.metadata.orm.annotation.EntityMappingsImpl.getEntity(EntityMappingsImpl.java:317)
	at org.netbeans.modules.j2ee.jpa.model.ModelUtils.getEntity(ModelUtils.java:54)
	at org.netbeans.modules.j2ee.jpa.verification.JPAProblemFinder.findProblemContext(JPAProblemFinder.java:178)
...
Comment 3 Andrei Badea 2007-06-19 17:08:35 UTC

*** This issue has been marked as a duplicate of 106959 ***
Comment 4 Peter Pis 2007-07-12 14:28:45 UTC
Verified as a dup. Closed.