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.
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)
Created attachment 88654 [details] stacktrace
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)
Created attachment 88655 [details] stacktrace
Alex, please look at this.
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.
Created attachment 88924 [details] screen shot
*** Issue 172058 has been marked as a duplicate of this issue. ***
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.
Created attachment 89441 [details] log file leading up to exception
This bug already has 20 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=159354
Alex, please, look at this.
There are were some changes in maven plugin. Most probably this issue was already fixed.
Created attachment 95594 [details] stacktrace