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 - IllegalArgumentException: Cannot have null root context.
Summary: IllegalArgumentException: Cannot have null root context.
Status: RESOLVED DUPLICATE of bug 144273
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Svata Dedic
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-11 13:26 UTC by mpaszenda
Modified: 2011-10-24 08:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 143956


Attachments
stacktrace (5.93 KB, text/plain)
2009-03-11 13:26 UTC, mpaszenda
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***