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 184595

Summary: IllegalStateException: The model is not initialized or is broken.
Product: xml Reporter: FrantaM
Component: XDMAssignee: Svata Dedic <sdedic>
Status: RESOLVED DUPLICATE    
Severity: normal CC: FrantaM, peterwlynch
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 162990
Attachments: stacktrace
stacktrace

Description FrantaM 2010-04-21 09:04:23 UTC
Build: NetBeans IDE Dev (Build 201004200200)
VM: Java HotSpot(TM) 64-Bit Server VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Windows 7

User Comments:
GUEST: doing a global search

peterwlynch: navigating a pom.xml

FrantaM: Adding <exclusions> section to <dependency> in pom.




Stacktrace: 
java.lang.IllegalStateException: The model is not initialized or is broken.
   at org.netbeans.modules.xml.xdm.XDMModel.checkStableOrParsingState(XDMModel.java:983)
   at org.netbeans.modules.xml.xdm.XDMModel.getDocument(XDMModel.java:824)
   at org.netbeans.modules.xml.xdm.nodes.NodeImpl.getNamespaceURI(NodeImpl.java:601)
   at org.netbeans.modules.maven.model.pom.impl.POMComponentFactoryImpl.getQName(POMComponentFactoryImpl.java:63)
   at org.netbeans.modules.maven.model.pom.impl.POMComponentFactoryImpl.create(POMComponentFactoryImpl.java:81)
   at org.netbeans.modules.maven.model.pom.impl.POMComponentFactoryImpl.create(POMComponentFactoryImpl.java:51)
Comment 1 FrantaM 2010-04-21 09:04:28 UTC
Created attachment 97772 [details]
stacktrace
Comment 2 FrantaM 2010-04-26 10:14:00 UTC
Created attachment 98010 [details]
stacktrace
Comment 3 Svata Dedic 2011-10-21 11:56:08 UTC

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