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 156155 - IllegalArgumentException: component to be deleted is not a child
Summary: IllegalArgumentException: component to be deleted is not a child
Status: RESOLVED INCOMPLETE
Alias: None
Product: xml
Classification: Unclassified
Component: XAM (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Samaresh Panda
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-30 10:29 UTC by tprochazka
Modified: 2009-05-25 21:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 144760


Attachments
stacktrace (2.99 KB, text/plain)
2008-12-30 10:29 UTC, tprochazka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tprochazka 2008-12-30 10:29:30 UTC
Build: NetBeans IDE Dev (Build 20081225174056)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Windows Vista, 6.0, x86

User Comments:
tprochazka: during deleting dependency library from maven project



Stacktrace: 
java.lang.IllegalArgumentException: component to be deleted is not a child
        at org.netbeans.modules.xml.xam.AbstractComponent.removeChild(AbstractComponent.java:361)
        at org.netbeans.modules.maven.model.pom.impl.ListImpl.removeListChild(ListImpl.java:79)
        at org.netbeans.modules.maven.model.pom.impl.ProjectImpl.removeDependency(ProjectImpl.java:373)
        at org.netbeans.modules.maven.nodes.DependencyNode$RemoveDependencyAction$1.performOperation(DependencyNode.java:596)
        at org.netbeans.modules.maven.nodes.DependencyNode$RemoveDependencyAction$1.performOperation(DependencyNode.java:591)
        at org.netbeans.modules.maven.model.Utilities.performPOMModelOperations(Utilities.java:317)
Comment 1 tprochazka 2008-12-30 10:29:40 UTC
Created attachment 75358 [details]
stacktrace
Comment 2 Sergey Lunegov 2009-05-08 15:07:16 UTC
More info needed how to reproduce the issue.