Deleted JDK 14 and 11 and the IDE cache. Still both 12.1 and 12.2 show the badges after scanning the project.
I'll try with a clean install without importing settings over the weekend or worse case Monday morning. On Fri, Oct 30, 2020, 9:22 PM Javier Ortiz Bultron < [email protected]> wrote: > It started happening even in my old installation of 12.0. Then again on > 12.1 and now on 12.2 beta. > > Sadly I have no steps to reproduce. I'll try the suggestions about not > unning on JDK14 and let you know ASAP. > > On Fri, Oct 30, 2020, 3:25 PM Matthias Bläsing <[email protected]> > wrote: > >> Hi, >> >> Am Freitag, den 30.10.2020, 14:47 -0500 schrieb Javier Ortiz Bultron: >> > Added a log as requested. Sadly I'm not sure what type of other >> > information to provide. >> > >> >> this looks problematic: >> >> >> org.eclipse.persistence.moxy-2.5.2.jar:/Users/javierortiz/.m2/repository/javax/mail/javax.mail-api/1.6.2/javax.mail-api-1.6.2.jar:/Users/javierortiz/.m2/repository/org/mozilla/rhino/1.7.12/rhino-1.7.12.jar:/Users/javierortiz/.m2/repository/cat/inspiracio/rhino-js-engine/1.7.10/rhino-js-engine-1.7.10.jar:/Users/javierortiz/Documents/P14C/p14c-selenium-tests/p14c-selenium-page-objects/target/classes >> Sourcepath: >> /Users/javierortiz/Documents/P14C/p14c-selenium-tests/p14c-selenium-page-objects/src/main/java:/Users/javierortiz/Documents/P14C/p14c-selenium-tests/p14c-selenium-page-objects/src/main/resources >> java.lang.AssertionError >> at com.sun.tools.javac.code.Type.asMethodType(Type.java:665) >> at >> com.sun.tools.javac.code.TypeAnnotations$TypeAnnotationPositions.separateAnnotationsKinds(TypeAnnotations.java:366) >> at >> com.sun.tools.javac.code.TypeAnnotations$TypeAnnotationPositions.visitMethodDef(TypeAnnotations.java:1178) >> at >> com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:889) >> at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49) >> at >> com.sun.tools.javac.code.TypeAnnotations$TypeAnnotationPositions.scan(TypeAnnotations.java:284) >> at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:57) >> at >> com.sun.tools.javac.code.TypeAnnotations$TypeAnnotationPositions.visitClassDef(TypeAnnotations.java:1129) >> at >> com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:790) >> at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49) >> at >> com.sun.tools.javac.code.TypeAnnotations$TypeAnnotationPositions.scan(TypeAnnotations.java:284) >> at >> com.sun.tools.javac.code.TypeAnnotations.lambda$organizeTypeAnnotationsSignatures$0(TypeAnnotations.java:123) >> at com.sun.tools.javac.comp.Annotate.flush(Annotate.java:197) >> at >> com.sun.tools.javac.comp.Annotate.unblockAnnotations(Annotate.java:144) >> at com.sun.tools.javac.comp.Annotate.enterDone(Annotate.java:157) >> at >> com.sun.tools.javac.main.JavaCompiler.enterDone(JavaCompiler.java:1868) >> at >> com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1149) >> at >> com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.enterTrees(JavacProcessingEnvironment.java:1279) >> at >> com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.<init>(JavacProcessingEnvironment.java:1165) >> at >> com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.next(JavacProcessingEnvironment.java:1185) >> at >> com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1392) >> at >> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1353) >> at >> com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1243) >> at >> com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:404) >> [catch] at >> org.netbeans.modules.java.source.nbjavac.indexing.SuperOnePassCompileWorker.compile(SuperOnePassCompileWorker.java:206) >> at >> org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:361) >> at >> org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$2.run(Indexable.java:138) >> at >> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:275) >> at >> org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:136) >> at >> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2750) >> at >> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154) >> at >> org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636) >> >> >> So you could try to reduce the compiled project until it is minimal to >> reproduce the issue. This could be binary dependencies or code you >> wrote. >> >> I notice though, that you are running on JDK 14 - I think there was >> some discussion, that nbjavac is incompatible with JDK 14 or 15. So you >> might be better of not using nbjavac. >> >> Greetings >> >> Matthias >> >> >> >> --------------------------------------------------------------------- >> 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 >> >> >> >>
