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 160104

Summary: IllegalArgumentException: Cannot have null root context.
Product: xml Reporter: mpaszenda <mpaszenda>
Component: CodeAssignee: Svata Dedic <sdedic>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=143956
Issue Type: DEFECT Exception Reporter: 143956
Attachments: stacktrace

Description mpaszenda 2009-03-11 13:26:03 UTC
Build: NetBeans IDE Dev (Build 200902231810)
VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04
OS: Windows XP, 5.1, x86

User Comments:
GUEST: I was trying to open a new XML file with a schema.  It said to type a URL or click browse to select a local schema.  When I clicked browse, nothing happened and an exception was thrown.

GUEST: browsing a xsd file on file system

mpaszenda: Create new XML file and try to select XSD definition file. When click Browse button msg box Exception appear



Stacktrace: 
java.lang.IllegalArgumentException: Cannot have null root context.
        at org.openide.explorer.ExplorerManager.setRootContext(ExplorerManager.java:470)
        at org.netbeans.modules.xml.wizard.impl.SchemaImportGUI.<init>(SchemaImportGUI.java:129)
        at org.netbeans.modules.xml.wizard.impl.SchemaPanel.browseButtonActionPerformed(SchemaPanel.java:229)
        at org.netbeans.modules.xml.wizard.impl.SchemaPanel.access$000(SchemaPanel.java:92)
        at org.netbeans.modules.xml.wizard.impl.SchemaPanel$1.actionPerformed(SchemaPanel.java:137)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
Comment 1 mpaszenda 2009-03-11 13:26:08 UTC
Created attachment 78045 [details]
stacktrace
Comment 2 Exceptions Reporter 2009-11-21 13:27:24 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=143956
Comment 3 Svata Dedic 2011-10-24 08:29:28 UTC
Already fixed.

*** This bug has been marked as a duplicate of bug 144273 ***