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 270081 - Make XmlPullParserException more verbose
Summary: Make XmlPullParserException more verbose
Status: NEW
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Stupka
Depends on:
Reported: 2017-03-16 07:12 UTC by Peter Nabbefeld
Modified: 2017-03-16 07:30 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 216133

stacktrace (2.11 KB, text/plain)
2017-03-16 07:13 UTC, Peter Nabbefeld

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Nabbefeld 2017-03-16 07:12:57 UTC
This issue was reported manually by epdv.
It already has 3 duplicates 

Build: NetBeans IDE Dev (Build 201703150002)
VM: Java HotSpot(TM) 64-Bit Server VM, 9-ea+160, Java(TM) SE Runtime Environment, 9-ea+160
OS: Linux

User Comments:
GUEST: update failed

epdv: Trying to build nuclos-war (

babitacramani: Change setting.xml in Java - maven directory and .m2 directory to run project of the maven source code. 
Also change in Compile option. 

included some tags to rectify the maven plugin code error while run project . (specified below) 

Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (default-cli) on project floreantpos: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]

Still not resolved this problem.

org.codehaus.plexus.util.xml.pull.XmlPullParserException: Duplicated tag: 'activatedProfiles' (position: START_TAG seen ...</properties>\n            <activatedProfiles>... @15:32) 
   at org.netbeans.modules.maven.configurations.M2Configuration$2.getRawMappingsAsString(
   at org.netbeans.modules.maven.execute.model.NetbeansActionReader.getMappingForAction(
Comment 1 Peter Nabbefeld 2017-03-16 07:13:00 UTC
Created attachment 163856 [details]
Comment 2 Peter Nabbefeld 2017-03-16 07:30:02 UTC
Hm, noticed the other two exceptions are outdated and have nothing to do with my problem. Also, I noticed there's really a problem with nbactions.xml. Thus changing the subject.

However, it would be a good idea to show the related file path for the exception, so it  would be easier to find the cause for the exception.