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.
Build: NetBeans IDE 6.8 M2 (Build 200910071658) VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08 OS: Windows XP, 5.1, x86 User Comments: giorgio42: Started a NB68 built myself on Vista from main-golden. If you try to parse something like http://www.puppycrawl.com/dtds/configuration_1_2.dtd you'd probably deserve an exception anyway... giorgio42: once again, on startup. GUEST: Generating POM for checkstyle giorgio42: on startup... Stacktrace: org.xml.sax.SAXParseException: The markup declarations contained or pointed to by the document type declaration must be well-formed. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388) at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1411) at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.scanDecls(XMLDTDScannerImpl.java:1997) at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.scanDTDExternalSubset(XMLDTDScannerImpl.java:320)
Created attachment 89846 [details] stacktrace
This issue already has 7 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=160138
Next release.
Created attachment 97810 [details] stacktrace - Project Properties on maven project -> Check Style Formatting tab - checked Use CheckStyle Rules ... - pressed 'Generate ...' button at the bottom of the tab
Created attachment 98911 [details] stacktrace
Created attachment 100292 [details] stacktrace Opened source for findbugs-maven-plugin.
Created attachment 100836 [details] stacktrace Checked out sources of nbm-maven-plugin via repository browser.
Caused by a redirect to http://users.tpg.com.au/ojburn//dtds/configuration_1_2.dtd which I guess Xerces is not prepared to follow. Anyway this DTD is available locally but the entity resolved was botched.
core-main #964ad2c2ce6b
*** Bug 178118 has been marked as a duplicate of this bug. ***
Integrated into 'main-golden', will be available in build *201008200001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/964ad2c2ce6b User: Jesse Glick <jglick@netbeans.org> Log: #175092: [68cat] SAXParseException's from maven.format.checkstyle.ModuleConvertor.convert
*** Bug 192412 has been marked as a duplicate of this bug. ***
In the meantime, is there any way to disable the checkstyle start-up hook entirely?
(In reply to comment #13) > In the meantime, is there any way to disable the checkstyle start-up hook > entirely? Other than removing CheckStyle-related config from the POM, not that I know of. If this exception is causing enough pain I can mark it as a candidate for backporting to a patch update for 6.9 (though I'm not sure if these are still being produced).
Marking as a patch candidate just in case another round of patches will be produced. Otherwise the problem should be solved in NB 7.0.