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 140366 - [65cat] [editor] Saving a WSDL file following a "Malformed WSDL" message generates an AssertionError
Summary: [65cat] [editor] Saving a WSDL file following a "Malformed WSDL" message gene...
Status: RESOLVED INCOMPLETE
Alias: None
Product: xml
Classification: Unclassified
Component: Code (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:37 UTC by esmithbss
Modified: 2008-08-07 23:22 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:37:01 UTC
[ BUILD # : 200807101204 ]
[ JDK VERSION : 1.6.0_07 ]

I have multiple WSDL files open and am cutting/pasting from one to
another.  I cut a portion from one file, saved the resulting file,
and clicked onto my destination file.  This generated a "Malformed
WSDL" error.  After pasting, I went back to the original file and
clicked save.  This generated the following assertion error:

java.lang.AssertionError
	at
org.netbeans.modules.xml.xdm.diff.MergeDiff.applyChildrenDiffs(MergeDi
ff.java:142)
	at
org.netbeans.modules.xml.xdm.diff.MergeDiff.merge(MergeDiff.java:108)
	at
org.netbeans.modules.xml.xdm.XDMModel.mergeDiff(XDMModel.java:251)
	at
org.netbeans.modules.xml.xdm.XDMModel.finishSync(XDMModel.java:218)
	at org.netbeans.modules.xml.xdm.XDMModel.sync(XDMModel.java:158)
	at
org.netbeans.modules.xml.xdm.xam.XDMAccess.sync(XDMAccess.java:141)
	at
org.netbeans.modules.xml.xam.AbstractModel.sync(AbstractModel.java:259
)
	at
org.netbeans.modules.xml.xam.AbstractModel$1.run(AbstractModel.java:65
2)
	at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:
997)
Comment 1 Samaresh Panda 2008-08-07 23:22:25 UTC
Sorry, just works for me. Please provide more info. Attach the wsdls and mention what (line numbers) to cut and where to
paste.