Bug#809256: netbeans: HTML5 Parser Exception

Markus Koschany apo at debian.org
Fri Jan 1 14:09:34 UTC 2016

Control: tags -1 confirmed
Control: severity -1 normal

On Mon, 28 Dec 2015 14:35:21 -0500 Michael Cordingley
<Michael.Cordingley at gmail.com> wrote:
> 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.

Hello and thanks for the report,

I agree this is a bug in Debian's version of Netbeans. Currently we can
only support Java SE features though, basically the same technologies
listed on Netbeans' official download page:


However I consider the severity of this bug more than "wishlist" because
I haven't found a way to work around it e.g. by installing one of the
HTML5 plugins.

The reason for this exception is most likely the disabled html.parser
module. For building it we need at least another build-dependency,
validator.nu HTML parser from https://about.validator.nu/htmlparser/.
There is a similar named package in Debian called libhtmlparser-java but
the code looks different to me.

The same applies for Javascript. All Javascript modules have been
disabled because we can't build them from source at the present time.
For instance they require the Nashorn JavaScript Engine, a Java8 feature.

I would like to enable and support all HTML5 and Javascript modules but
due to missing dependencies this is not feasible at the moment.

I haven't tried it myself yet but working with PHP only files should be
possible if you install the PHP plugin.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20160101/18fb93df/attachment.sig>

More information about the pkg-java-maintainers mailing list