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.
Summary: | [67cat] NullPointerException at org.apache.lucene.search.BooleanQuery.rewrite | ||
---|---|---|---|
Product: | projects | Reporter: | neilg <neilg> |
Component: | Maven | Assignee: | David Simonek <dsimonek> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | ovk |
Priority: | P3 | Keywords: | RANDOM |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=147808 | ||
Issue Type: | DEFECT | Exception Reporter: | 147808 |
Attachments: |
stacktrace
stacktrace |
Description
neilg
2009-05-13 23:24:47 UTC
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 |