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.
Build: NetBeans IDE Dev (Build 201506040001) VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b12, Java(TM) SE Runtime Environment, 1.8.0_60-ea-b12 OS: Windows 7 User Comments: mkhramov: Find usages in EJB Stacktrace: java.lang.NullPointerException at org.netbeans.modules.j2ee.jpa.refactoring.whereused.PersistenceXmlWhereUsed$1.run(PersistenceXmlWhereUsed.java:109) at org.netbeans.modules.j2ee.jpa.refactoring.whereused.PersistenceXmlWhereUsed$1.run(PersistenceXmlWhereUsed.java:99) at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:479) at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
Created attachment 154067 [details] stacktrace
Created attachment 154938 [details] stacktrace Searching for not JEE class usage
Created attachment 154964 [details] stacktrace started nb 8.1 beta with settings imported from nb 8.0, some nb modules opened
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=217756
Created attachment 156227 [details] stacktrace Searching for usages of an annotation in a Java EE project
Created attachment 156544 [details] stacktrace Execute Find-Usages on Java-Class in Projects-view
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=217756
Created attachment 158888 [details] stacktrace Just using the IDE and opening some maven projects (non java ee)
Created attachment 158889 [details] stacktrace Calling Find Usages at a simple Maven project (non Java EE, it is a library), but this library is used at some Java EE projects, which some of them are opened.
Created attachment 159130 [details] stacktrace searching for usages
Created attachment 159925 [details] stacktrace where used on java file
Created attachment 160057 [details] stacktrace FindUsages while scanning
Created attachment 161731 [details] stacktrace Running find usages on a nested class generated from an annotation processor, where there are duplicate second-level nested class names, e.g. class FooBuilder { static class WithBarAsString { static class WithBazAsInt { // <----- } } static class WithBarAsNumber { static class WithBazAsInt { // <----- } } } Guessing this confuses JPA refactoring?
Created attachment 163470 [details] stacktrace Tried to find useages