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 140367 - [65cat] [editor] Cut and Paste WSDL, then Rewinding operation generates IllegalStateException
Summary: [65cat] [editor] Cut and Paste WSDL, then Rewinding operation generates Illeg...
Status: RESOLVED WONTFIX
Alias: None
Product: xml
Classification: Unclassified
Component: WSDL Model (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Samaresh Panda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-16 17:40 UTC by esmithbss
Modified: 2016-07-07 09:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description esmithbss 2008-07-16 17:40:46 UTC
[ BUILD # : 200807101204 ]
[ JDK VERSION : 1.6.0_07 ]

When cutting from a malformed WSDL, pasting into the same file (to
correct WSDL), then backing out the changes, NetBeans generated the
following:


java.lang.IllegalStateException: The model is not initialized or is
broken.
	at
org.netbeans.modules.xml.xdm.XDMModel.checkStableOrParsingState(XDMMod
el.java:987)
	at
org.netbeans.modules.xml.xdm.XDMModel.getDocument(XDMModel.java:829)
	at
org.netbeans.modules.xml.xdm.nodes.NodeImpl.getNamespaceURI(NodeImpl.j
ava:601)
	at
org.netbeans.modules.xml.xam.dom.AbstractDocumentComponent.getQName(Ab
stractDocumentComponent.java:729)
	at
org.netbeans.modules.xml.xdm.xam.XDMAccess.getAttributeMap(XDMAccess.j
ava:408)
	at
org.netbeans.modules.xml.xam.dom.AbstractDocumentComponent.getAttribut
eMap(AbstractDocumentComponent.java:802)
	at
org.netbeans.modules.xml.wsdl.ui.view.treeeditor.WSDLElementNode.addOt
herAttributesProperties(WSDLElementNode.java:842)
	at
org.netbeans.modules.xml.wsdl.ui.view.treeeditor.WSDLElementNode.refre
shOtherAttributesSheetSet(WSDLElementNode.java:825)
	at
org.netbeans.modules.xml.wsdl.ui.view.treeeditor.WSDLElementNode.refre
shSheet(WSDLElementNode.java:653)
	at
org.netbeans.modules.xml.wsdl.ui.view.treeeditor.WSDLElementNode.creat
eSheet(WSDLElementNode.java:642)
	at org.openide.nodes.AbstractNode.getSheet(AbstractNode.java:438)
	at
org.openide.nodes.AbstractNode.getPropertySets(AbstractNode.java:449)
	at
org.openide.explorer.propertysheet.PropertySheet.setCurrentNode(Proper
tySheet.java:638)
	at
org.openide.explorer.propertysheet.PropertySheet.doSetNodes(PropertySh
eet.java:442)
	at
org.openide.explorer.propertysheet.PropertySheet.access$100(PropertySh
eet.java:117)
[catch] at
org.openide.explorer.propertysheet.PropertySheet$2$1.run(PropertySheet
.java:597)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
	at
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.ja
va:104)
	at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThrea
d.java:284)
	at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.j
ava:184)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThrea
d.java:174)
	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Comment 1 Samaresh Panda 2008-08-07 23:18:49 UTC
Needs to be taken care of by wsdl model.
Comment 2 Shivanand Kini 2008-08-07 23:33:19 UTC
I am not the owner of wsdl model. Reassign back.
Comment 3 Sergey Lunegov 2008-10-01 15:17:35 UTC
Changed target milestone.
Comment 4 Martin Balin 2016-07-07 09:56:31 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss