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 200810141401) VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284 OS: Mac OS X, 10.5.5, i386 User Comments: ckutler: typing in the search box ckutler: Just wanted to add a note that n, a, and t did not throw exceptions, but g did. This is in a Ruby on Rails project and I was testing whether Generate would show up, as it didn't awhile back. GUEST: searching for a helper module using the Apple+I quick search, i had finished typing the entry and once i hit enter this error came up Stacktrace: java.lang.NullPointerException at org.netbeans.modules.jumpto.quicksearch.JavaTypeSearchProvider.evaluate(JavaTypeSearchProvider.java:63) at org.netbeans.modules.quicksearch.CommandEvaluator$1.run(CommandEvaluator.java:201) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
Created attachment 72225 [details] stacktrace
Build: NetBeans IDE Dev (Build 20081016123104) VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284 OS: Mac OS X, 10.5.5, i386 User Comments: using quicksearch Stacktrace: java.lang.NullPointerException at org.netbeans.modules.jumpto.quicksearch.JavaTypeSearchProvider.evaluate(JavaTypeSearchProvider.java:63) at org.netbeans.modules.quicksearch.CommandEvaluator$1.run(CommandEvaluator.java:201) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
Created attachment 72452 [details] stacktrace
This issue has already 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=101416
Please consider looking into this – it consistently happens when I do Quick Search.
Can't reproduce. Could you please check this on the trunk build?
Doesn't seem to occur in 6.7M3
Reassigning to utilities/jumpto owner
Build: NetBeans IDE Dev (Build 200905241401) VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: Linux, 2.6.28-11-generic, i386 User Comments: Searching for a java type in quick search box Stacktrace: org.openide.util.RequestProcessor$Item: task failed due to: java.lang.NullPointerException at org.openide.util.RequestProcessor.post(RequestProcessor.java:267) at org.netbeans.modules.quicksearch.CommandEvaluator.runEvaluation(CommandEvaluator.java:199) at org.netbeans.modules.quicksearch.CommandEvaluator.evaluate(CommandEvaluator.java:98) at org.netbeans.modules.quicksearch.QuickSearchPopup.actionPerformed(QuickSearchPopup.java:160) at javax.swing.Timer.fireActionPerformed(Timer.java:271) at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
Created attachment 82970 [details] stacktrace
Valid issue, there were 22 exception logs since August 2008. Yet I do not believe that this is a P2. Could someone please provide a reproducible case ? Thanks.
A cause is the method typeDescriptor.getFileObject() can return null.
Fixed in the main trunk http://hg.netbeans.org/main/rev/dcce726f22a5
Integrated into 'main-golden', will be available in build *200910091401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/dcce726f22a5 User: Victor G. Vasilyev <vvg@netbeans.org> Log: #150654 - NullPointerException at org.netbeans.modules.jumpto.quicksearch.JavaTypeSearchProvider.evaluate