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 241395

Summary: NullPointerException at org.netbeans.modules.xml.schema.completion.util.CompletionContextImpl.populateNamespaces
Product: xml Reporter: -Silver-
Component: Schema ToolsAssignee: Svata Dedic <sdedic>
Status: RESOLVED WONTFIX    
Severity: normal CC: mr_lou_d
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 190783
Attachments: stacktrace
stacktrace

Description -Silver- 2014-02-04 14:46:32 UTC
Build: NetBeans IDE Dev (Build 201401310001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b67, Java(TM) SE Runtime Environment, 1.8.0-b126
OS: Windows 7

User Comments:
GUEST: Slows down Netbeans. Trying to cancel scanning porjects crashes Netbeans

GUEST: Copy/paste from Firefox in source file.

GUEST: Saved changes

-Silver-: I'm writing on a xul file.
The line that I want to write is:
<label control="BorderStyle" value="&optionPanel.borderStyle;"/>

but when I arrive to:
<label control="BorderStyle" value="&

If I continue to write the next character the ide throws this exception

Product Version: NetBeans IDE Dev (Build 201401310001)
Java: 1.8.0; Java HotSpot(TM) 64-Bit Server VM 25.0-b67
Runtime: Java(TM) SE Runtime Environment 1.8.0-b126
System: Windows 7 version 6.1 running on amd64; Cp1252; it_IT (nb)




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.xml.schema.completion.util.CompletionContextImpl.populateNamespaces(CompletionContextImpl.java:370)
   at org.netbeans.modules.xml.schema.completion.util.CompletionContextImpl.initContext(CompletionContextImpl.java:462)
   at org.netbeans.modules.xml.schema.completion.CompletionQuery.getCompletionItems(CompletionQuery.java:357)
   at org.netbeans.modules.xml.schema.completion.CompletionQuery$ModelTask.run(CompletionQuery.java:327)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
Comment 1 -Silver- 2014-02-04 14:46:34 UTC
Created attachment 144782 [details]
stacktrace
Comment 2 Lou Dasaro 2014-07-28 05:19:43 UTC
Created attachment 148346 [details]
stacktrace

Occurred while editing an fxml file
Comment 3 Exceptions Reporter 2015-07-27 05:38:41 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=190783
Comment 4 Martin Balin 2016-07-07 09:56:17 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss