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.

Bug 168513 - NullPointerException at org.netbeans.modules.xml.schema.completion.util.CompletionUtil.substituteAny
Summary: NullPointerException at org.netbeans.modules.xml.schema.completion.util.Compl...
Status: RESOLVED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ alexpetrov
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-13 23:46 UTC by ernestojpg
Modified: 2009-07-14 17:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 153355


Attachments
stacktrace (747 bytes, text/plain)
2009-07-13 23:46 UTC, ernestojpg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernestojpg 2009-07-13 23:46:00 UTC
Build: NetBeans IDE 6.7 (Build 200906241340)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02-83, Java(TM) SE Runtime Environment, 1.6.0_13-b03-211
OS: Mac OS X, 10.5.7, x86_64

Stacktrace: 
java.lang.NullPointerException<br/>
        at org.netbeans.modules.xml.schema.completion.util.CompletionUtil.substituteAny(CompletionUtil.java:474)<br/>
        at org.netbeans.modules.xml.schema.completion.util.CompletionUtil.getElements(CompletionUtil.java:239)<br/>
        at org.netbeans.modules.xml.schema.completion.CompletionQuery.getCompletionItems(CompletionQuery.java:110)<br/>
        at org.netbeans.modules.xml.schema.completion.CompletionQuery.query(CompletionQuery.java:87)<br/>
        at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:218)<br/>
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:577)<br/>
Comment 1 ernestojpg 2009-07-13 23:46:05 UTC
Created attachment 84677 [details]
stacktrace
Comment 2 _ alexpetrov 2009-07-14 15:00:53 UTC
Could you, please, attach the project, which you used, and shortly describe your scenario to help me to reproduce this bug?
Comment 3 _ alexpetrov 2009-07-14 17:29:01 UTC
Fixed in trunk: http://hg.netbeans.org/main/rev/354826c71921