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 185975

Summary: AbstractDocumentComponent.getQName throws undocumented ISE
Product: xml Reporter: madhurtanwani <madhurtanwani>
Component: XAMAssignee: issues@xml <issues>
Status: RESOLVED DUPLICATE    
Severity: normal CC: jglick, sworisbreathing
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 169469
Attachments: stacktrace
stacktrace
messages.log

Description madhurtanwani 2010-05-12 08:34:42 UTC
This bug was originally marked as duplicate of bug 120648, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 6.9 Beta (Build 201004200117)
VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02
OS: Linux

User Comments:
madhurtanwani: Making edits to a POM file. The POM file was not complete and had some errors

GUEST: on saving a pom.xml




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.xml.xam.dom.AbstractDocumentComponent.getQName(AbstractDocumentComponent.java:739)
   at org.netbeans.modules.xml.xam.dom.AbstractDocumentComponent.getQName(AbstractDocumentComponent.java:735)
   at org.netbeans.modules.maven.model.pom.impl.POMComponentImpl.getChildElementText(POMComponentImpl.java:159)
Comment 1 madhurtanwani 2010-05-12 08:34:45 UTC
Created attachment 98818 [details]
stacktrace
Comment 2 Sergey Lunegov 2010-05-12 08:53:00 UTC
reassigned to maven
Comment 3 sworisbreathing 2010-11-22 18:24:47 UTC
Created attachment 103201 [details]
stacktrace

I was editing a POM for a Maven project.  I've been working in the same instance of NetBeans for about 3 hours now, and the status bar shows "Transferring Repository Index :Java.net Repository" at 3%.  When it does takes forever to transfer the repository index, AutoComplete and other features stop working correctly.  I believe this error is caused by the long repository index.
Comment 4 sworisbreathing 2010-11-22 18:27:17 UTC
Created attachment 103202 [details]
messages.log
Comment 5 sworisbreathing 2010-11-22 18:27:49 UTC
Attaching my messages.log to this issue.  Maybe it'll shed some light on this problem, or possibly another one.
Comment 6 Exceptions Reporter 2011-03-26 18:18:59 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=169469
Comment 7 Jesse Glick 2011-03-28 19:51:44 UTC

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