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 140371 - [65cat] [editor] Cut and Paste WSDL, then move generates AssertionError
Summary: [65cat] [editor] Cut and Paste WSDL, then move generates AssertionError
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:45 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:45:12 UTC
[ BUILD # : 200807101204 ]
[ JDK VERSION : 1.6.0_07 ]

While editing my WSDL file, I cut some lines to move them and during
the move I received the following exception:


java.lang.AssertionError: target 170is no longer inTree
	at
org.netbeans.modules.xml.xdm.diff.MergeDiff.merge(MergeDiff.java:106)
	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:21:04 UTC
Needs to be handled by WSDL model.
Comment 2 Shivanand Kini 2008-08-07 23:32:16 UTC
I am not the owner of wsdl model. But the error seems to come from the XDMModel.
Is Nam still working on wsdl model?
Comment 3 Samaresh Panda 2008-08-08 00:05:00 UTC
There are several assertions and checks in xam and xdm to prevent bad things from happening. This is one such example
and tells me that the domain model is trying to do something that is now allowed.
Comment 4 Sergey Lunegov 2008-10-01 15:18:23 UTC
Changed target milestone.
Comment 5 Martin Balin 2016-07-07 09:56:46 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