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 267901

Summary: org.jdom.IllegalDataException: The data "-XX:+UnlockCommercialFeatures -XX:+FlightRecorder " is not legal for a JDOM comment: Comment data cannot start with a hyphen..
Product: projects Reporter: squib <squib>
Component: MavenAssignee: Tomas Stupka <tstupka>
Status: NEW ---    
Severity: normal CC: whitemerovingian, xylifyx
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 55940
Attachments: stacktrace

Description squib 2016-09-06 13:31:01 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.102-b14, Java(TM) SE Runtime Environment, 1.8.0_102-b14
OS: Mac OS X

User Comments:
xylifyx: changing profile to equinox og Spring Dynamic Modules

squib: changed run configuration

whitemerovingian: adding a maven dependency on a maven project using the dependency dialog




Stacktrace: 
org.jdom.IllegalDataException: The data "-XX:+UnlockCommercialFeatures -XX:+FlightRecorder " is not legal for a JDOM comment: Comment data cannot start with a hyphen..
   at org.jdom.Comment.setText(Comment.java:120)
   at org.jdom.Comment.<init>(Comment.java:86)
   at org.jdom.DefaultJDOMFactory.comment(DefaultJDOMFactory.java:105)
   at org.jdom.input.SAXHandler.comment(SAXHandler.java:839)
   at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.comment(AbstractSAXParser.java:675)
   at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:472)
Comment 1 squib 2016-09-06 13:31:04 UTC
Created attachment 161922 [details]
stacktrace