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 227391 - IllegalArgumentException: more than one element with same name found
Summary: IllegalArgumentException: more than one element with same name found
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant Project (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Martin Kozeny
URL:
Keywords:
: 242744 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-03-13 06:51 UTC by Exceptions Reporter
Modified: 2014-03-28 06:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 199561


Attachments
stacktrace (1.70 KB, text/plain)
2013-03-13 06:51 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2013-03-13 06:51:53 UTC
This bug was originally marked as duplicate of bug 222898, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.3 (Build 201302132200)
VM: Java HotSpot(TM) Client VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_11-b21
OS: Windows 7

Stacktrace: 
java.lang.IllegalArgumentException: more than one element with same name found
   at org.openide.xml.XMLUtil.findElement(XMLUtil.java:982)
   at org.netbeans.spi.project.support.ant.AntProjectHelper$9.run(AntProjectHelper.java:910)
   at org.netbeans.spi.project.support.ant.AntProjectHelper$9.run(AntProjectHelper.java:906)
   at org.openide.util.Mutex.readAccess(Mutex.java:290)
   at org.netbeans.spi.project.support.ant.AntProjectHelper.getConfigurationFragment(AntProjectHelper.java:906)
   at org.netbeans.spi.project.support.ant.ExtensibleMetadataProviderImpl.getConfigurationFragment(ExtensibleMetadataProviderImpl.java:79)
Comment 1 Exceptions Reporter 2013-03-13 06:51:55 UTC
Created attachment 132543 [details]
stacktrace
Comment 2 Milos Kleint 2013-03-13 14:36:40 UTC
issue 222898 fixed the problem for maven projects, this stacktrace appears to be ant based.
Comment 3 Martin Kozeny 2014-01-15 13:05:23 UTC
https://hg.netbeans.org/core-main/rev/fc475cc0f897
Comment 4 Quality Engineering 2014-01-17 02:47:43 UTC
Integrated into 'main-silver', will be available in build *201401170001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/fc475cc0f897
User: Martin Kozeny <mkozeny@netbeans.org>
Log: #227391: IllegalArgumentException: more than one element with same name found.
Comment 5 Martin Kozeny 2014-03-28 06:28:13 UTC
*** Bug 242744 has been marked as a duplicate of this bug. ***