matthiasblaesing commented on pull request #3206: URL: https://github.com/apache/netbeans/pull/3206#issuecomment-952295417
> Hello @matthiasblaesing, there seems to be: > > ``` > org.netbeans.modules.java.source.nbjavac [1.15.0.1.4.25.5.1 1 Netbeans/netbeans-linux-644-on-20211025] > ``` > > installed. Please remove it and try again. See the updated PR description for details. Sorry for not describing the problem earlier. Ok - with this hint, I get a step further, but now I get error when opening java classes. As reference, I use https://github.com/java-native-access/jna and tried to open `com.sun.jna.Native`. The class opens, but I get immediately error messages like: ``` SEVERE [org.openide.util.Exceptions] java.lang.IllegalArgumentException at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490) at org.netbeans.modules.java.hints.spiimpl.JackpotTrees.createInstance(JackpotTrees.java:102) Caused: java.lang.IllegalStateException at org.netbeans.modules.java.hints.spiimpl.JackpotTrees.createInstance(JackpotTrees.java:117) at org.netbeans.modules.java.hints.spiimpl.JackpotTrees.createVariableWildcard(JackpotTrees.java:208) at org.netbeans.modules.java.hints.spiimpl.JackpotTrees$CatchWildcard.<init>(JackpotTrees.java:165) at org.netbeans.modules.java.hints.spiimpl.Utilities$JackpotJavacParser.catchClause(Utilities.java:1443) at com.sun.tools.javac.parser.JavacParser.parseSimpleStatement(JavacParser.java:2844) at org.netbeans.lib.nbjavac.services.NBParserFactory$NBJavacParser.parseSimpleStatement(NBParserFactory.java:133) at com.sun.tools.javac.parser.JavacParser.blockStatement(JavacParser.java:2632) at com.sun.tools.javac.parser.JavacParser.blockStatements(JavacParser.java:2569) at com.sun.tools.javac.parser.JavacParser.block(JavacParser.java:2539) at com.sun.tools.javac.parser.JavacParser.block(JavacParser.java:2553) ``` And here is the full log including the dumps [messages.zip](https://github.com/apache/netbeans/files/7421287/messages.zip) I don't see the mentioned module anymore, so I assume removing it was successful. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
