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 200905100201) VM: OpenJDK 64-Bit Server VM, 14.0-b08, OpenJDK Runtime Environment, 1.6.0_0-b14 OS: Linux, 2.6.28-11-generic, amd64 User Comments: neilg: pasted block of text into "Query" field of "Add Dependency" window Stacktrace: org.openide.util.RequestProcessor$Item: task failed: java.lang.NullPointerException at org.openide.util.RequestProcessor$Item.fillInStackTrace(RequestProcessor.java:853) at java.lang.Throwable.<init>(Throwable.java:198) at java.lang.Exception.<init>(Exception.java:46) at org.openide.util.RequestProcessor$Item.<init>(RequestProcessor.java:819) at org.openide.util.RequestProcessor$Task.schedule(RequestProcessor.java:629) at org.openide.util.RequestProcessor.post(RequestProcessor.java:295)
Created attachment 82085 [details] stacktrace
Could you please try the same,running od JDK6?
It seems to be working now.
Such exception probably means that empty string was passed as text to search - perhaps due to request coalescing there is possibility that when text is typed and deleted quickly afterwards, it will enter described situation. Needs to be examined more.
Build: NetBeans IDE 6.7 RC1 (Build 200905232021) VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: Windows XP, 5.1, x86 User Comments: find empty string in maven repository viewer Stacktrace: java.lang.NullPointerException at org.apache.lucene.search.BooleanQuery.rewrite(BooleanQuery.java:385) at org.apache.lucene.search.IndexSearcher.rewrite(IndexSearcher.java:151) at org.apache.lucene.search.Query.weight(Query.java:94) at org.apache.lucene.search.Hits.<init>(Hits.java:72) at org.apache.lucene.search.Searcher.search(Searcher.java:55) at org.sonatype.nexus.index.DefaultSearchEngine.searchFlat(DefaultSearchEngine.java:118)
Created attachment 82791 [details] stacktrace
should be fixed now: d15c688e8b9a I also checked AddDep dialog and it seems to be fine now.
Integrated into 'main-golden', will be available in build *200905300201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/d15c688e8b9a User: Dafe Simonek <dsimonek@netbeans.org> Log: #165117: don't allow empty string as text to find