Bug#809256: netbeans: HTML5 Parser Exception

Michael Cordingley michael.cordingley at gmail.com
Fri Jan 1 23:38:09 UTC 2016


I do have the PHP plug-in installed and can confirm that I am able to edit
PHP-only files. I cannot do anything more advanced with it, like find the
declaration of a method or class or find usages, which is an annoyance.

This all works on Gentoo, which means that it's at least possible to build
from source somehow. I don't know any of the distribution specifics for why
it should work there and not here, but it may be possible to lift some
ideas from over there, at least.

Thanks for looking into this, Markus.

On Fri, Jan 1, 2016 at 9:09 AM, Markus Koschany <apo at debian.org> wrote:

> 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:
>
> https://netbeans.org/downloads/
>
> 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.
>
> Regards,
>
> Markus
>
>


-- 
Michael Cordingley
740.707.7809
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20160101/5243d3d2/attachment.html>


More information about the pkg-java-maintainers mailing list