-1

I just opened a project with a jsp file and NetBeans immediately launched
an exception, this happened when I opened the jsp file. You can reproduce
this issue by opening any jsp file. The exception keeps appearing after you
close it.
I get this exception with and without nb-javac installed.
This does not happen with NetBeans 12.1

*Product Version:* Apache NetBeans IDE 12.2-rc3

*Java:* 11.0.9; OpenJDK 64-Bit Server VM 11.0.9+11

*Runtime:* OpenJDK Runtime Environment 11.0.9+11

*System:* Linux version 5.9.8-2-MANJARO running on amd64; UTF8; en_US (nb)

java.lang.NullPointerException
    at
org.netbeans.modules.java.editor.base.semantic.TokenList.index(TokenList.java:364)
    at
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitExpressionStatement(SemanticHighlighterBase.java:740)
    at
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitExpressionStatement(SemanticHighlighterBase.java:280)
    at
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1460)
    at
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
    at
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1021)
    at
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:280)
    at
jdk.compiler/com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)
    at
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
    at
jdk.compiler/com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:248)
    at
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1032)
    at
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
    at
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1021)
    at
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:280)
    at
jdk.compiler/com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:90)
    at
jdk.compiler/com.sun.source.util.TreeScanner.visitMethod(TreeScanner.java:206)
    at
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitMethod(SemanticHighlighterBase.java:789)
    at
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitMethod(SemanticHighlighterBase.java:280)
    at
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:898)
    at
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
    at
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1021)
    at
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:280)
    at
jdk.compiler/com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)
    at
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
    at
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitClass(SemanticHighlighterBase.java:944)
    at
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitClass(SemanticHighlighterBase.java:280)
    at
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:808)
    at
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
    at
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1021)
    at
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:280)
    at
jdk.compiler/com.sun.source.util.TreeScanner.scan(TreeScanner.java:105)
    at
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
    at
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitCompilationUnit(SemanticHighlighterBase.java:561)
    at
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.visitCompilationUnit(SemanticHighlighterBase.java:280)
    at
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:591)
    at
jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
    at
org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
    at
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase$DetectorVisitor.scan(SemanticHighlighterBase.java:1021)
    at
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase.process(SemanticHighlighterBase.java:156)
    at
org.netbeans.modules.java.editor.semantic.SemanticHighlighter.process(SemanticHighlighter.java:56)
    at
org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterBase.run(SemanticHighlighterBase.java:112)
    at
org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
[catch] at
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
    at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
    at
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
    at
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
    at
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
    at
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
    at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
    at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)


El vie, 20 nov 2020 a las 14:12, Josh Juneau (<juneau...@gmail.com>)
escribió:

> +1 (worked well on OS X 10.14.6)
>
> Product Version: Apache NetBeans IDE 12.2-rc3
> Java: 11.0.5; OpenJDK 64-Bit Server VM 11.0.5+10-LTS
> Runtime: OpenJDK Runtime Environment 11.0.5+10-LTS
> System: Mac OS X version 10.14.6 running on x86_64; UTF-8; en_US (nb)
>
> Josh Juneau
> juneau...@gmail.com
> http://jj-blogger.blogspot.com
> https://www.apress.com/us/search?query=Juneau <
> https://www.apress.com/index.php/author/author/view/id/1866>
>
>
> On 11/19/20, 1:45 PM, "Laszlo Kishalmi" <laszlo.kisha...@gmail.com>
> wrote:
>
>     Dear Apache NetBeans community,
>
>     The third, and hopefully FINAL release candidate of Apache NetBeans
> 12.2
>     is available.
>
>     This one blocker, one trivial and one documentation fix is in this
>     release as of:
>
>     [NETBEANS-5042] Launcher can't find Java Home on MacOS BigSur --
>     https://github.com/apache/netbeans/pull/2547
>     [NETBEANS-5043] Go to Declaration does not work in VSCode extension --
>     https://github.com/apache/netbeans/pull/2548
>     PR-2546 End user oriented README.md and dedicated BUILD.md --
>     https://github.com/apache/netbeans/pull/2546
>
>
>     Technically these codechanges only affects the MacOS launcher and the
>     upcoming VS Code Extension.
>
>     I'm waiting for two positive tests from different individuals that the
>     MacOS launcher works with BugSur and also two test that we did not
> break
>     the MacOS launcher on older Mac versions.
>
>     Please reply to this mail! Once I get those, I'm going to push another
>     set of artifacts for voting.
>
>     See the Artifacts on Jenkins:
>
> https://ci-builds.apache.org/job/Netbeans/job/netbeans-TLP/job/netbeans/job/release122/19/artifact/dist/netbeans/
>
>     --
>
>     Laszlo Kishalmi
>     Release Manager of Apache NetBeans 12.2
>
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
>     For additional commands, e-mail: dev-h...@netbeans.apache.org
>
>     For further information about the NetBeans mailing lists, visit:
>     https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: dev-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>

Reply via email to