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.
This bug was originally marked as duplicate of bug 225180, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 8.0 Beta (Build 201401141042) VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11 OS: Windows 7 User Comments: wissenstein: I opened Usages pane to find all usages of a private member of class. GUEST: just started up a few minutes ago; edited vars; deleted some. mgukov: Find usages enum constant and remove it during this process GUEST: re-search Usage of static final variable after removing all traces of it Stacktrace: java.lang.NullPointerException at org.netbeans.modules.j2ee.jpa.refactoring.whereused.RelationshipMappingWhereUsed.prepare(RelationshipMappingWhereUsed.java:127) at org.netbeans.modules.j2ee.jpa.refactoring.JPARefactoringPlugin.prepare(JPARefactoringPlugin.java:92) at org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare2(AbstractRefactoring.java:437) at org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare(AbstractRefactoring.java:421) at org.netbeans.modules.refactoring.api.AbstractRefactoring.prepare(AbstractRefactoring.java:232) at org.netbeans.modules.refactoring.spi.impl.ParametersPanel$Prepare$2.run(ParametersPanel.java:1022)
Created attachment 144354 [details] stacktrace
http://hg.netbeans.org/web-main/rev/0e6030363732 can't verify, but most probable case is covered by null check
Integrated into 'main-silver', will be available in build *201401290001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/0e6030363732 User: Sergey B. Petrov <sj-nb@netbeans.org> Log: #240941 null check