Bug#809256: netbeans: HTML5 Parser Exception

Michael Cordingley Michael.Cordingley at gmail.com
Mon Dec 28 19:35:21 UTC 2015


Package: netbeans
Version: 8.0.2+dfsg1-5
Severity: important

Dear Maintainer,

With the bug, I am able to edit HTML, but cannot insert line breaks without pasting them in. That is, the "enter" key effectively does not work. I also note silent exceptions getting logged in my IDE. I have appended the stack trace of that exception to this report.

It appears to affect PHP editing in that I am no longer able to use features that depend on parsing PHP files, such as finding the usages of a class or jumping to its definition. Normal editing, including use of the "enter" key still works, as does syntax highlighting.

I am also able to edit my JavaScript files just fine, though I receive no syntax highlighting on those files. It treats them as basically just plain-text files. I don't know if this is related or not.

Stack Trace:

java.lang.IllegalStateException: Cannot find an HtmlParser implementation for HTML5
	at org.netbeans.modules.html.editor.lib.api.SyntaxAnalyzerResult.findParser(Unknown Source)
	at org.netbeans.modules.html.editor.lib.api.SyntaxAnalyzerResult.doParseHtml(Unknown Source)
	at org.netbeans.modules.html.editor.lib.api.SyntaxAnalyzerResult.parseHtml(Unknown Source)
	at org.netbeans.modules.html.editor.api.gsf.HtmlParserResult.root(HtmlParserResult.java:142)
	at org.netbeans.modules.html.editor.gsf.HtmlStructureScanner.scan(HtmlStructureScanner.java:114)
	at org.netbeans.modules.csl.navigation.ElementScanningTask$1.run(Unknown Source)
	at org.netbeans.modules.csl.navigation.ElementScanningTask$1.run(Unknown Source)
	at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(Unknown Source)
	at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(Unknown Source)
	at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(Unknown Source)
	at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(Unknown Source)
	at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(Unknown Source)
	at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:176)
	at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:360)
	at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Unknown Source)
Caused: org.netbeans.modules.parsing.spi.ParseException
	at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(Unknown Source)
[catch] at org.netbeans.modules.parsing.api.ParserManager.parse(Unknown Source)
	at org.netbeans.modules.csl.navigation.ElementScanningTask.computeStructureRoot(Unknown Source)
	at org.netbeans.modules.csl.navigation.BreadCrumbsTask.run(Unknown Source)
	at org.netbeans.modules.csl.navigation.BreadCrumbsTask.run(Unknown Source)
	at org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(Unknown Source)
	at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(Unknown Source)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at org.openide.util.RequestProcessor$Task.run(Unknown Source)
	at org.openide.util.RequestProcessor$Processor.run(Unknown Source)

-- System Information:
Debian Release: stretch/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages netbeans depends on:
ii  default-jdk                2:1.7-52.1
ii  libnb-apisupport3-java     8.0.2+dfsg1-5
ii  libnb-ide14-java           8.0.2+dfsg1-5
ii  libnb-java5-java           8.0.2+dfsg1-5
ii  libnb-platform18-java      8.0.2+dfsg1-2
ii  openjdk-7-jdk [java7-jdk]  7u91-2.6.3-1

netbeans recommends no packages.

netbeans suggests no packages.

-- no debconf information



More information about the pkg-java-maintainers mailing list