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 201110200600) VM: Java HotSpot(TM) 64-Bit Server VM, 20.1-b02-383, Java(TM) SE Runtime Environment, 1.6.0_26-b03-383-11A511 OS: Mac OS X User Comments: dbell: Used "find" to search for text in project Stacktrace: java.lang.NullPointerException at org.openide.loaders.MultiDataObject$Entry.access$000(MultiDataObject.java:1212) at org.openide.loaders.MultiDataObject.getFolderList(MultiDataObject.java:288) at org.openide.loaders.MultiDataObject.addSecondaryEntry(MultiDataObject.java:272) at org.openide.loaders.MultiDataObject.registerEntry(MultiDataObject.java:359) at org.openide.loaders.MultiFileLoader.handleFindDataObject(MultiFileLoader.java:223) at org.openide.loaders.DataObjectPool.handleFindDataObject(DataObjectPool.java:161)
Created attachment 112328 [details] stacktrace
Please, what types of project (PHP, Java) were opened when the exception was raised? Can you find out which file causes the problem? Thank you.
I am sorry, I need more information to be able to reproduce the problem. If you can provide us with more details, please reopen.
(In reply to comment #2) > Please, what types of project (PHP, Java) were opened when the exception was > raised? > Can you find out which file causes the problem? > Thank you. Sorry I missed this message. The projects were Java projects, some of which were NetBeans IDE sources. From the stacktrace it looks as though the file that was causing the problem was java.source/src/org/netbeans/modules/java/source/usages/ContainsErrorsWarning.form. It looks like it was missing.
Thank you for your reply. I've just tested searching in module java.source, with your NetBeans build (201110200600), deleted the form file, and no exception was raised. Can you please attach your ide log?
(In reply to comment #5) > Can you please attach your ide log? I think my IDE log might already be attached (see http://statistics.netbeans.org/exceptions/detail.do?id=182218)
Sorry, of course, thanks.
No worries. Thanks for looking into it.
core-main/rev/b1864ee74416 Logging warning instead of throwing exception, so the search can continue. It seems that the file is somehow damaged in the filesystem. Can you please check whether files ContainsErrorsWarning.form and ContainsErrorsWarning.java exist? Have you encountered the exception only once, or can you reproduce it?
On 1.11.2011 20:07, Jesse Glick wrote (excerpts): > WARNING is probably too severe for this. > Also a more sensible default return value would be true. > This is not about a DONFE, but rather an undocumented NPE which should > be reassigned to platform/Datasystems. core-main/rev/fe0f49bca2d9
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/b1864ee74416 User: Jaroslav Havlin <jhavlin@netbeans.org> Log: #204099 - [71cat] NullPointerException at org.openide.loaders.MultiDataObject$Entry.access$000
Integrated into 'main-golden', will be available in build *201111030600* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/b1864ee74416 User: Jaroslav Havlin <jhavlin@netbeans.org> Log: #204099 - [71cat] NullPointerException at org.openide.loaders.MultiDataObject$Entry.access$000
ergonomics#8d5fb1bffd47