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 245547 - org.gjt.xpp.XmlPullParserException: <![DOCTYPE declarations not supported at line 2 and column 121 seen ..." "http://www.netbeans.org/dtds/annotation-type-1_0.dtd"... (parser state UNKNONW_EVENT (-1))
Summary: org.gjt.xpp.XmlPullParserException: <![DOCTYPE declarations not supported at ...
Status: RESOLVED WONTFIX
Alias: None
Product: ide
Classification: Unclassified
Component: Logger (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
: 251216 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-07-10 12:49 UTC by onekosha
Modified: 2015-08-17 12:41 UTC (History)
12 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 208612


Attachments
stacktrace (1.59 KB, text/plain)
2014-07-10 12:49 UTC, onekosha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description onekosha 2014-07-10 12:49:33 UTC
Build: NetBeans IDE 8.0 (Build 201403101706)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.5-b02, Java(TM) SE Runtime Environment, 1.8.0_05-b13
OS: Windows 8

User Comments:
GUEST: Este problema apareceu, depois que instalei o plugin UML

GUEST: <Please provide a description of the problem or the steps to reproduce>
Spanish
Luego de instalar un  plugin de UML se reporto este problema, no conosco la causa.

GUEST: uml nao funciona

GUEST: opening netbeans. only recent change was installing the UML plugin. Netbeans no longer parses java files, it all looks like plain text, no syntax highlighting.

onekosha: Not higthligth code on java file.

GUEST: It happened when I started the IDE

GUEST: just started the IDE

GUEST: I install UML Plugin(From http://deadlock.netbeans.org/hudson/job/uml/lastSuccessfulBuild/artifact/build/updates/updates.xml)
All IDE Plugins abort

GUEST: activated the UML plugin extension

GUEST: imported modules installed on 7.4




Stacktrace: 
org.gjt.xpp.XmlPullParserException: <![DOCTYPE declarations not supported at line 2 and column 121 seen ..." "http://www.netbeans.org/dtds/annotation-type-1_0.dtd"... (parser state UNKNONW_EVENT (-1))
   at org.gjt.xpp.impl.pullparser.PullParser.next(PullParser.java:742)
   at org.gjt.xpp.sax2.Driver.parse(Driver.java:294)
   at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:249)
   at org.netbeans.modules.editor.options.AnnotationTypeProcessor.parse(AnnotationTypeProcessor.java:178)
   at org.netbeans.modules.editor.options.AnnotationTypeProcessor.instanceCreate(AnnotationTypeProcessor.java:139)
   at org.openide.loaders.XMLDataObject$ICDel.instanceCreate(XMLDataObject.java:1396)
Comment 1 onekosha 2014-07-10 12:49:35 UTC
Created attachment 147972 [details]
stacktrace
Comment 2 Milutin Kristofic 2014-08-01 11:48:20 UTC
org.xml.sax.SAXNotRecognizedException: unrecognized feature http://apache.org/xml/features/continue-after-fatal-error
	at org.gjt.xpp.sax2.Driver.setFeature(Driver.java:178)
	at org.gjt.xpp.jaxp11.SAXParserImpl.setFeatures(SAXParserImpl.java:149)
	at org.gjt.xpp.jaxp11.SAXParserImpl.<init>(SAXParserImpl.java:132)
	at org.gjt.xpp.jaxp11.SAXParserFactoryImpl.newSAXParserImpl(SAXParserFactoryImpl.java:114)
	at org.gjt.xpp.jaxp11.SAXParserFactoryImpl.setFeature(SAXParserFactoryImpl.java:142)
	at org.netbeans.lib.uihandler.LogRecords.scan(LogRecords.java:249)
[catch] at org.netbeans.lib.uihandler.LogRecords.scan(LogRecords.java:160)
	at org.netbeans.modules.uihandler.Installer.scan(Installer.java:745)
	at org.netbeans.modules.uihandler.Installer.readLogs(Installer.java:714)
	at org.netbeans.modules.uihandler.Installer.getLogs(Installer.java:781)
	at org.netbeans.modules.uihandler.Installer$Submit.<init>(Installer.java:1633)
	at org.netbeans.modules.uihandler.Installer$SubmitInteractive.<init>(Installer.java:2235)
	at org.netbeans.modules.uihandler.Installer$SubmitInteractive.<init>(Installer.java:2210)
	at org.netbeans.modules.uihandler.Installer.displaySummary(Installer.java:1009)
	at org.netbeans.modules.uihandler.Installer.displaySummary(Installer.java:988)
	at org.netbeans.modules.uihandler.Installer.displaySummary(Installer.java:1019)
	at org.netbeans.modules.uihandler.UIHandler.run(UIHandler.java:244)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

I am not sure, but it look this came from installer.
Comment 3 onekosha 2015-08-01 16:22:45 UTC
This problem must be close because it wrong use of Netbeans. To use Netbeans 8.x with UML plugin for Netbeans 7.x is wrong.
Comment 4 Lolmewn 2015-08-01 17:59:01 UTC
(In reply to onekosha from comment #3)
> This problem must be close because it wrong use of Netbeans. To use Netbeans
> 8.x with UML plugin for Netbeans 7.x is wrong.

While this is true, I was unable to find a UML plugin for Netbeans 8.x and therefore simply tried this version. Do you know if there is a replacement? As far as I know the plugin itself was never updated.
Comment 5 onekosha 2015-08-01 20:03:04 UTC
I compiled this UML plugin for something version Netbeans. I had problem only with Netbeans 8.x but I did not problem with Netbeans 7.x. So I thought that a problem was only for Netbeans 8.0. Code this UML plugin no compile with Netbeans platform version 8.x because I had more mistakes.
Comment 6 Jaroslav Havlin 2015-08-17 12:41:49 UTC
*** Bug 251216 has been marked as a duplicate of this bug. ***