Seems can be reproduced for JSPs inside a Web Project (I used the freeform ant version, and added servlet API on the classpath).
I'll look at it tomorrow. Jan On Fri, Nov 20, 2020 at 9:22 PM Matthias Bläsing <mblaes...@doppel-helix.eu> wrote: > Hi, > > please provide a reproducer, that shows that the problem is not tied to > your setup. I big time this week at work because a collegue of mine had > ugrade problems of an application server. It turned out, that the > problem exists only on his machine, indicating, that his setup is > broken. So I don't take its broken, because it does not work on my > machine as a given. > > From my POV we are way past normal blocker levels, as we had already > entered voting stage, which is placed _after_ beta releases + rcs. > > Greetings > > Matthias > > Am Freitag, den 20.11.2020, 20:17 +0000 schrieb Jose Ch: > > I delete directories: > > rm -rf ~/.netbeans && rm -rf ~/.cache/netbeans > > > > and I still get the exception. The code compiles and I can build the > > project. > > > > > > El vie, 20 nov 2020 a las 19:44, Matthias Bläsing > > (<mblaes...@doppel-helix.eu>) escribió: > > > Hi, > > > > > > plase recheck with a clean user dir. I'm normally on master, but > > > reran > > > with rc3 on linux with openjdk-11. I opened > > > > > > > https://github.com/apache/netbeans/tree/master/enterprise/performance.web/test/unit/data/TestWebProject > > > > > > from Master. JSPs open cleanly, I get hightlighting, no code > > > completion > > > in JSP, but I don't know whether this is expected or not. > > > > > > >Log Session: Friday, November 20, 2020 at 8:34:54 PM Central > > > European Standard Time > > > >System Info: > > > Product Version = Apache NetBeans IDE 12.2-rc3 > > > Operating System = Linux version 5.8.0-29-generic > > > running on amd64 > > > Java; VM; Vendor = 11.0.9.1; OpenJDK 64-Bit Server VM > > > 11.0.9.1+1-Ubuntu-0ubuntu1.20.10; Ubuntu > > > Runtime = OpenJDK Runtime Environment > > > 11.0.9.1+1-Ubuntu-0ubuntu1.20.10 > > > Java Home = /usr/lib/jvm/java-11-openjdk-amd64 > > > > > > > > > Greetings > > > > > > Matthias > > > > > > > > > Am Freitag, den 20.11.2020, 19:19 +0000 schrieb Jose Ch: > > > > -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(Toke > > > nL > > > > ist.java:364) > > > > at > > > > > > > org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterB > > > as > > > > > > > e$DetectorVisitor.visitExpressionStatement(SemanticHighlighterBase. > > > ja > > > > va:740) > > > > at > > > > > > > org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterB > > > as > > > > > > > e$DetectorVisitor.visitExpressionStatement(SemanticHighlighterBase. > > > ja > > > > va:280) > > > > at > > > > > > > jdk.compiler/com.sun.tools.javac.tree.JCTree$JCExpressionStatement. > > > ac > > > > cept(JCTree.java:1460) > > > > at > > > > > > > jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScann > > > er > > > > .java:82) > > > > at > > > > > > > org.netbeans.api.java.source.support.CancellableTreePathScanner.sca > > > n( > > > > CancellableTreePathScanner.java:69) > > > > at > > > > > > > org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterB > > > as > > > > e$DetectorVisitor.scan(SemanticHighlighterBase.java:1021) > > > > at > > > > > > > org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterB > > > as > > > > e$DetectorVisitor.scan(SemanticHighlighterBase.java:280) > > > > at > > > > > > > jdk.compiler/com.sun.source.util.TreeScanner.scan(TreeScanner.java: > > > 10 > > > > 5) > > > > at > > > > > > > org.netbeans.api.java.source.support.CancellableTreePathScanner.sca > > > n( > > > > CancellableTreePathScanner.java:78) > > > > at > > > > > > > jdk.compiler/com.sun.source.util.TreeScanner.visitBlock(TreeScanner > > > .j > > > > ava:248) > > > > at > > > > > > > jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree. > > > ja > > > > va:1032) > > > > at > > > > > > > jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScann > > > er > > > > .java:82) > > > > at > > > > > > > org.netbeans.api.java.source.support.CancellableTreePathScanner.sca > > > n( > > > > CancellableTreePathScanner.java:69) > > > > at > > > > > > > org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterB > > > as > > > > e$DetectorVisitor.scan(SemanticHighlighterBase.java:1021) > > > > at > > > > > > > org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterB > > > as > > > > e$DetectorVisitor.scan(SemanticHighlighterBase.java:280) > > > > at > > > > > > > jdk.compiler/com.sun.source.util.TreeScanner.scanAndReduce(TreeScan > > > ne > > > > r.java:90) > > > > at > > > > > > > jdk.compiler/com.sun.source.util.TreeScanner.visitMethod(TreeScanne > > > r. > > > > java:206) > > > > at > > > > > > > org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterB > > > as > > > > e$DetectorVisitor.visitMethod(SemanticHighlighterBase.java:789) > > > > at > > > > > > > org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterB > > > as > > > > e$DetectorVisitor.visitMethod(SemanticHighlighterBase.java:280) > > > > at > > > > > > > jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JC > > > Tr > > > > ee.java:898) > > > > at > > > > > > > jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScann > > > er > > > > .java:82) > > > > at > > > > > > > org.netbeans.api.java.source.support.CancellableTreePathScanner.sca > > > n( > > > > CancellableTreePathScanner.java:69) > > > > at > > > > > > > org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterB > > > as > > > > e$DetectorVisitor.scan(SemanticHighlighterBase.java:1021) > > > > at > > > > > > > org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterB > > > as > > > > e$DetectorVisitor.scan(SemanticHighlighterBase.java:280) > > > > at > > > > > > > jdk.compiler/com.sun.source.util.TreeScanner.scan(TreeScanner.java: > > > 10 > > > > 5) > > > > at > > > > > > > org.netbeans.api.java.source.support.CancellableTreePathScanner.sca > > > n( > > > > CancellableTreePathScanner.java:78) > > > > at > > > > > > > org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterB > > > as > > > > e$DetectorVisitor.visitClass(SemanticHighlighterBase.java:944) > > > > at > > > > > > > org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterB > > > as > > > > e$DetectorVisitor.visitClass(SemanticHighlighterBase.java:280) > > > > at > > > > > > > jdk.compiler/com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCT > > > re > > > > e.java:808) > > > > at > > > > > > > jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScann > > > er > > > > .java:82) > > > > at > > > > > > > org.netbeans.api.java.source.support.CancellableTreePathScanner.sca > > > n( > > > > CancellableTreePathScanner.java:69) > > > > at > > > > > > > org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterB > > > as > > > > e$DetectorVisitor.scan(SemanticHighlighterBase.java:1021) > > > > at > > > > > > > org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterB > > > as > > > > e$DetectorVisitor.scan(SemanticHighlighterBase.java:280) > > > > at > > > > > > > jdk.compiler/com.sun.source.util.TreeScanner.scan(TreeScanner.java: > > > 10 > > > > 5) > > > > at > > > > > > > org.netbeans.api.java.source.support.CancellableTreePathScanner.sca > > > n( > > > > CancellableTreePathScanner.java:78) > > > > at > > > > > > > org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterB > > > as > > > > > > > e$DetectorVisitor.visitCompilationUnit(SemanticHighlighterBase.java > > > :5 > > > > 61) > > > > at > > > > > > > org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterB > > > as > > > > > > > e$DetectorVisitor.visitCompilationUnit(SemanticHighlighterBase.java > > > :2 > > > > 80) > > > > at > > > > > > > jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCompilationUnit.acce > > > pt > > > > (JCTree.java:591) > > > > at > > > > > > > jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScann > > > er > > > > .java:82) > > > > at > > > > > > > org.netbeans.api.java.source.support.CancellableTreePathScanner.sca > > > n( > > > > CancellableTreePathScanner.java:69) > > > > at > > > > > > > org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterB > > > as > > > > e$DetectorVisitor.scan(SemanticHighlighterBase.java:1021) > > > > at > > > > > > > org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterB > > > as > > > > e.process(SemanticHighlighterBase.java:156) > > > > at > > > > > > > org.netbeans.modules.java.editor.semantic.SemanticHighlighter.proce > > > ss > > > > (SemanticHighlighter.java:56) > > > > at > > > > > > > org.netbeans.modules.java.editor.base.semantic.SemanticHighlighterB > > > as > > > > e.run(SemanticHighlighterBase.java:112) > > > > at > > > > > > > org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTas > > > k( > > > > TaskProcessor.java:561) > > > > [catch] at > > > > > > > org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.ru > > > n( > > > > TaskProcessor.java:786) > > > > at > > > org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) > > > > at > > > > > > > org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.ex > > > ec > > > > ute(TaskProcessor.java:702) > > > > at > > > > > > > org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run( > > > Ta > > > > skProcessor.java:663) > > > > at > > > > > > > java.base/java.util.concurrent.Executors$RunnableAdapter.call(Execu > > > to > > > > rs.java:515) > > > > at > > > > > > > java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) > > > > at > > > > > > > org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:14 > > > 18 > > > > ) > > > > at > > > > > > > org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup > > > .j > > > > ava:45) > > > > at > > > org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) > > > > at > > > > > > > org.openide.util.RequestProcessor$Processor.run(RequestProcessor.ja > > > va > > > > :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 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------- > > > -- > > > 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 > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: netcat-unsubscr...@netbeans.apache.org > For additional commands, e-mail: netcat-h...@netbeans.apache.org > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > >