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 173469 - [68cat] IllegalStateException: The model is not initialized or is broken.
Summary: [68cat] IllegalStateException: The model is not initialized or is broken.
Status: RESOLVED WORKSFORME
Alias: None
Product: xml
Classification: Unclassified
Component: XDM (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ alexpetrov
URL: http://statistics.netbeans.org/except...
Keywords:
: 172058 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-01 10:18 UTC by neilg
Modified: 2010-03-23 10:57 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 159354


Attachments
stacktrace (4.07 KB, text/plain)
2009-10-01 10:18 UTC, neilg
Details
stacktrace (4.07 KB, text/plain)
2009-10-01 10:19 UTC, neilg
Details
screen shot (66.32 KB, image/png)
2009-10-06 16:05 UTC, _ alexpetrov
Details
log file leading up to exception (117.79 KB, text/plain)
2009-10-14 14:12 UTC, neilg
Details
stacktrace (5.70 KB, text/plain)
2010-03-23 10:57 UTC, denbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description neilg 2009-10-01 10:18:22 UTC
This issue was originally marked as duplicate of issue 120648, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related.

Build: NetBeans IDE Dev (Build 200909301401)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Linux, 2.6.28-15-generic, amd64

User Comments:
neilg: Editing maven pom



Stacktrace: 
java.lang.IllegalStateException: The model is not initialized or is broken.
        at org.netbeans.modules.xml.xdm.XDMModel.checkStableOrParsingState(XDMModel.java:987)
        at org.netbeans.modules.xml.xdm.XDMModel.getDocument(XDMModel.java:829)
        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.maven.model.pom.impl.POMModelImpl.createRootComponent(POMModelImpl.java:79)
        at org.netbeans.modules.maven.model.pom.impl.POMModelImpl.createRootComponent(POMModelImpl.java:53)
Comment 1 neilg 2009-10-01 10:18:27 UTC
Created attachment 88654 [details]
stacktrace
Comment 2 neilg 2009-10-01 10:19:52 UTC
Build: NetBeans IDE Dev (Build 200909301401)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Linux, 2.6.28-15-generic, amd64

User Comments: 
Editing maven pom. Error occurred when I copied text from the pom.

Stacktrace: 
java.lang.IllegalStateException: The model is not initialized or is broken.
        at org.netbeans.modules.xml.xdm.XDMModel.checkStableOrParsingState(XDMModel.java:987)
        at org.netbeans.modules.xml.xdm.XDMModel.getDocument(XDMModel.java:829)
        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.maven.model.pom.impl.POMModelImpl.createRootComponent(POMModelImpl.java:79)
        at org.netbeans.modules.maven.model.pom.impl.POMModelImpl.createRootComponent(POMModelImpl.java:53)
Comment 3 neilg 2009-10-01 10:19:55 UTC
Created attachment 88655 [details]
stacktrace
Comment 4 Sergey Lunegov 2009-10-01 13:00:11 UTC
Alex, please look at this.
Comment 5 _ alexpetrov 2009-10-06 16:04:13 UTC
I can't reproduce this bug on: 
Product Version: NetBeans IDE Dev (Build 20091005)
Java: 1.6.0_14; Java HotSpot(TM) Client VM 14.0-b16
System: Linux version 2.6.28-15-generic running on i386

See the attached screen shot - highlighted text was cut/copied and pasted several times and no exception was thrown.
Please, provide steps for a bug reproducing.
Comment 6 _ alexpetrov 2009-10-06 16:05:37 UTC
Created attachment 88924 [details]
screen shot
Comment 7 _ alexpetrov 2009-10-07 14:47:02 UTC
*** Issue 172058 has been marked as a duplicate of this issue. ***
Comment 8 neilg 2009-10-14 13:05:25 UTC
It's quite difficult to provide steps to reproduce, it's intermittent. I have seen it again today. Once it happens, pom
editing becomes impossible: it happens every time I select text.
Comment 9 neilg 2009-10-14 14:12:04 UTC
Created attachment 89441 [details]
log file leading up to exception
Comment 10 Exceptions Reporter 2010-02-18 07:08:07 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=159354
Comment 11 Vladimir Yaroslavskiy 2010-02-19 01:33:30 UTC
Alex, please, look at this.
Comment 12 Sergey Lunegov 2010-03-16 10:19:55 UTC
There are were some changes in maven plugin. Most probably this issue was already fixed.
Comment 13 denbo 2010-03-23 10:57:11 UTC
Created attachment 95594 [details]
stacktrace