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 120648 - IllegalStateException when adding comment to wsdl file
Summary: IllegalStateException when adding comment to wsdl file
Status: RESOLVED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: WSDL Tools (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Shivanand Kini
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-31 15:56 UTC by Lukas Jungmann
Modified: 2011-03-28 19:53 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 10022


Attachments
stacktrace (2.30 KB, text/plain)
2007-10-31 15:56 UTC, Lukas Jungmann
Details
used wsdl file (1.71 KB, text/xml)
2007-10-31 15:57 UTC, Lukas Jungmann
Details
stacktrace (4.07 KB, text/plain)
2009-10-01 10:13 UTC, neilg
Details
stacktrace (4.95 KB, text/plain)
2009-10-01 10:14 UTC, neilg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Jungmann 2007-10-31 15:56:04 UTC
Build: NetBeans IDE Dev (Build 20071031110342)
VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05
OS: Linux, 2.6.22-14-generic, i386

User Comments: 
-go to Favirites view and locate and open attached WSDL in the editor
-add '<!--' to line 42 and move cursor using the keybord to some other line

=>IllegalStateException
Comment 1 Lukas Jungmann 2007-10-31 15:56:11 UTC
Created attachment 52134 [details]
stacktrace
Comment 2 Lukas Jungmann 2007-10-31 15:57:48 UTC
Created attachment 52136 [details]
used wsdl file
Comment 3 Nam Nguyen 2007-10-31 17:48:40 UTC
This is wsdl editor issue.  When in source view, WSDLElementNode create sheet should check whether the model state is
VALID before trying to render its components.
Comment 4 Shivanand Kini 2007-10-31 19:04:06 UTC
Fixed
Comment 5 tonybeckham 2007-11-02 20:06:48 UTC
Fix VERIFIED

Product Version: NetBeans IDE Dev (Build 200711020000)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05
System: SunOS version 5.11 running on x86; ISO646-US; en (nb)
Comment 6 Exceptions Reporter 2008-10-08 16:43:30 UTC
Reopening - reproduced in NetBeans IDE Dev (Build 200809241401)
http://statistics.netbeans.org/exceptions/detail.do?id=124976
Comment 7 Shivanand Kini 2008-10-16 02:07:37 UTC
Works for me.
Comment 8 jlautz 2009-04-27 20:11:34 UTC
Verified with Glassfish 2.1 kit PRODUCT_BUILD=20090426-0723:

NETBEANS_BUILD=200904151427
NETBEANS_VERSION=6.5.1

SOA_BUILD=090426
NETBEANS_VERSION=Sierra/soarelease Build
CODELINE=gfesbv21

Cannot reproduce using the specified steps.
Comment 9 neilg 2009-10-01 10:13: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: 


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 10 neilg 2009-10-01 10:13:56 UTC
Created attachment 88652 [details]
stacktrace
Comment 11 neilg 2009-10-01 10:14: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: 


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 12 neilg 2009-10-01 10:14:56 UTC
Created attachment 88653 [details]
stacktrace
Comment 13 Jesse Glick 2011-03-28 19:53:55 UTC
The original bug was marked FIXED. The later duplicates are of bug #190041.