You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "ebarboni (via GitHub)" <gi...@apache.org> on 2026/10/21 12:15:38 UTC

[I] AssertionError typeSig ERROR [netbeans]

ebarboni opened a new issue, #9740:
URL: https://github.com/apache/netbeans/issues/9740

   ### Apache NetBeans version
   
   Apache NetBeans 32 latest release candidate
   
   ### What happened
   
   Just editing java file and pom file.
   
   The following exception occurs: 
   
   ``` java.lang.AssertionError: typeSig ERROR
   	at com.sun.tools.javac.code.Types$SignatureGenerator.assembleSig(Types.java:5363)
   	at com.sun.tools.javac.jvm.PoolWriter$SharedSignatureGenerator.assembleSig(PoolWriter.java:299)
   	at com.sun.tools.javac.jvm.PoolWriter.typeSig(PoolWriter.java:497)
   	at com.sun.tools.javac.jvm.PoolWriter.putDescriptor(PoolWriter.java:140)
   	at com.sun.tools.javac.jvm.ClassWriter.writeCompoundAttribute(ClassWriter.java:651)
   	at com.sun.tools.javac.jvm.ClassWriter.writeJavaAnnotations(ClassWriter.java:518)
   	at com.sun.tools.javac.jvm.ClassWriter.writeClassFile(ClassWriter.java:1675)
   	at com.sun.tools.javac.jvm.ClassWriter.writeClass(ClassWriter.java:1555)
   	at com.sun.tools.javac.main.JavaCompiler.genCode(JavaCompiler.java:771)
   	at com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:1757)
   	at com.sun.tools.javac.api.JavacTaskImpl$2.process(JavacTaskImpl.java:479)
   	at com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:525)
   	at com.sun.tools.javac.api.JavacTaskImpl.generate(JavacTaskImpl.java:482)
   	at org.netbeans.modules.java.source.indexing.VanillaCompileWorker.lambda$compile$3(VanillaCompileWorker.java:370)
   	at org.netbeans.modules.java.source.parsing.FileManagerTransaction.runConcurrent(FileManagerTransaction.java:180)
   [catch] at org.netbeans.modules.java.source.indexing.VanillaCompileWorker.compile(VanillaCompileWorker.java:359)
   	at org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:363)
   	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:274)
   	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:2749)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.lambda$index$0(RepositoryUpdater.java:2626)
   	at org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:574)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2625)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.lambda$scanFiles$2(RepositoryUpdater.java:3332)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.lambda$runInContext$4(RepositoryUpdater.java:2119)
   	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:288)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2117)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2098)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.scanFiles(RepositoryUpdater.java:3290)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$FileListWork.getDone(RepositoryUpdater.java:3832)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:3452)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(RepositoryUpdater.java:6197)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.lambda$call$0(RepositoryUpdater.java:6116)
   	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:288)
   	at org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.performScan(RunWhenScanFinishedSupport.java:83)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6116)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6112)
   	at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
   	at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:341)
   	at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
   	at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.run(RepositoryUpdater.java:6112)
   	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:545)
   	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:330)
   	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1370)
   	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
   	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287)
   	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1981)
   ```
   
   
   ### Language / Project Type / NetBeans Component
   
   Java Maven NetBeans project module
   
   ### How to reproduce
   
   I think this is sporadic. I have no clue of the trigger.
   
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   windows 11
   
   ### JDK
   
   jdk 27 temurin
   
   ### Apache NetBeans packaging
   
   Apache NetBeans binary zip
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No


-- 
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: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] AssertionError typeSig ERROR [netbeans]

Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien commented on issue #9740:
URL: https://github.com/apache/netbeans/issues/9740#issuecomment-6362486068

   we didn't actually update nb-javac this release. so stcktraces which come from deep javac code are likely not new. However, behavior could have changed which causes to make something like that more frequent etc.


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] AssertionError typeSig ERROR [netbeans]

Posted by "ebarboni (via GitHub) via notifications" <no...@netbeans.apache.org>.
ebarboni closed issue #9740: AssertionError typeSig ERROR
URL: https://github.com/apache/netbeans/issues/9740


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] AssertionError typeSig ERROR [netbeans]

Posted by "jherkel (via GitHub)" <gi...@apache.org>.
jherkel commented on issue #9740:
URL: https://github.com/apache/netbeans/issues/9740#issuecomment-6335946796

   I can see something similar 
   ```
   INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: /var/home/jakub/projects/netbeans/java/java.preprocessorbridge/src took: 6 ms (New or modified files: 0, Deleted files: 0) [Adding listeners took: 0 ms]
   SEVERE [org.openide.util.Exceptions]
   java.lang.AssertionError: typecode ERROR
   	at com.sun.tools.javac.jvm.Code.typecode(Code.java:265)
   	at com.sun.tools.javac.jvm.Code.width(Code.java:289)
   	at com.sun.tools.javac.jvm.Code.width(Code.java:297)
   	at com.sun.tools.javac.jvm.Gen.genMethod(Gen.java:947)
   	at com.sun.tools.javac.jvm.Gen.visitMethodDef(Gen.java:921)
   	at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:972)
   	at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:585)
   	at com.sun.tools.javac.jvm.Gen.genClass(Gen.java:2486)
   	at com.sun.tools.javac.main.JavaCompiler.genCode(JavaCompiler.java:770)
   	at com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:1757)
   	at com.sun.tools.javac.api.JavacTaskImpl$2.process(JavacTaskImpl.java:479)
   	at com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:525)
   	at com.sun.tools.javac.api.JavacTaskImpl.generate(JavacTaskImpl.java:482)
   	at org.netbeans.modules.java.source.indexing.VanillaCompileWorker.lambda$compile$3(VanillaCompileWorker.java:370)
   	at org.netbeans.modules.java.source.parsing.FileManagerTransaction.runConcurrent(FileManagerTransaction.java:180)
   [catch] at org.netbeans.modules.java.source.indexing.VanillaCompileWorker.compile(VanillaCompileWorker.java:359)
   	at org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:363)
   	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:274)
   	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:2749)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.lambda$index$0(RepositoryUpdater.java:2626)
   	at org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:574)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2625)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.lambda$scanSource$3(RepositoryUpdater.java:5735)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.lambda$runInContext$4(RepositoryUpdater.java:2119)
   	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:288)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2117)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2098)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSource(RepositoryUpdater.java:5770)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSources(RepositoryUpdater.java:5443)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.getDone(RepositoryUpdater.java:5075)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:3452)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(RepositoryUpdater.java:6197)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.lambda$call$0(RepositoryUpdater.java:6116)
   	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:288)
   	at org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.performScan(RunWhenScanFinishedSupport.java:83)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6116)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6112)
   	at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
   	at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:341)
   	at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
   	at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.run(RepositoryUpdater.java:6112)
   	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:545)
   	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:330)
   	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1370)
   	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
   	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287)
   	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1981)
   WARNING [org.netbeans.modules.java.source.indexing.JavaIndex]: VanillaCompileWorker caused an exception
   Root: /var/home/jakub/projects/netbeans/java/java.source.base/src
   ```
   I tried to build (Clean & Build) Java Editor module with master branch and JDK 27.


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] AssertionError typeSig ERROR [netbeans]

Posted by "wrprice (via GitHub)" <gi...@apache.org>.
wrprice commented on issue #9740:
URL: https://github.com/apache/netbeans/issues/9740#issuecomment-6357376647

   Just after posting the above, I went back to the IDE and switch tabs and got the following.  Not sure how related it is.  Interestingly, I made a trivial modification to the file (deleted a paren, restored the paren, and saved) and then the warnings/errors in the editor went away and no further exception notification.
   
   ```stacktrace
   java.lang.NullPointerException: Cannot invoke "com.sun.tools.javac.tree.JCTree$JCMemberReference$ReferenceKind.ordinal()" because "tree.kind" is null
   	at com.sun.tools.javac.comp.ThisEscapeAnalyzer.visitReference(ThisEscapeAnalyzer.java:939)
   	at com.sun.tools.javac.tree.JCTree$JCMemberReference.accept(JCTree.java:2682)
   	at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:50)
   	at com.sun.tools.javac.comp.ThisEscapeAnalyzer.scan(ThisEscapeAnalyzer.java:427)
   	at com.sun.tools.javac.comp.ThisEscapeAnalyzer.invokeUnknown(ThisEscapeAnalyzer.java:652)
   	at com.sun.tools.javac.comp.ThisEscapeAnalyzer.visitNewClass(ThisEscapeAnalyzer.java:688)
   	at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1940)
   	at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:50)
   	at com.sun.tools.javac.comp.ThisEscapeAnalyzer.scan(ThisEscapeAnalyzer.java:427)
   	at com.sun.tools.javac.comp.ThisEscapeAnalyzer.visitVarDef(ThisEscapeAnalyzer.java:454)
   	at com.sun.tools.javac.comp.ThisEscapeAnalyzer.visitVarDef(ThisEscapeAnalyzer.java:448)
   	at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:1091)
   	at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:50)
   	at com.sun.tools.javac.comp.ThisEscapeAnalyzer.scan(ThisEscapeAnalyzer.java:427)
   	at com.sun.tools.javac.comp.ThisEscapeAnalyzer.lambda$visitApply$3(ThisEscapeAnalyzer.java:494)
   	at com.sun.tools.javac.comp.ThisEscapeAnalyzer.analyzeInitializer(ThisEscapeAnalyzer.java:514)
   	at com.sun.tools.javac.comp.ThisEscapeAnalyzer.lambda$visitApply$1(ThisEscapeAnalyzer.java:494)
   	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:186)
   	at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:197)
   	at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133)
   	at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1939)
   	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:570)
   	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:560)
   	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:153)
   	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:176)
   	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:265)
   	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:632)
   	at com.sun.tools.javac.comp.ThisEscapeAnalyzer.visitApply(ThisEscapeAnalyzer.java:491)
   	at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1885)
   	at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:50)
   	at com.sun.tools.javac.comp.ThisEscapeAnalyzer.scan(ThisEscapeAnalyzer.java:427)
   	at com.sun.tools.javac.comp.ThisEscapeAnalyzer.visitExec(ThisEscapeAnalyzer.java:1047)
   	at com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1672)
   	at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:50)
   	at com.sun.tools.javac.comp.ThisEscapeAnalyzer.scan(ThisEscapeAnalyzer.java:427)
   	at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:58)
   	at com.sun.tools.javac.tree.TreeScanner.visitBlock(TreeScanner.java:150)
   	at com.sun.tools.javac.comp.ThisEscapeAnalyzer.lambda$visitBlock$0(ThisEscapeAnalyzer.java:729)
   	at com.sun.tools.javac.comp.ThisEscapeAnalyzer.visitScoped(ThisEscapeAnalyzer.java:1241)
   	at com.sun.tools.javac.comp.ThisEscapeAnalyzer.visitBlock(ThisEscapeAnalyzer.java:729)
   	at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1161)
   	at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:50)
   	at com.sun.tools.javac.comp.ThisEscapeAnalyzer.scan(ThisEscapeAnalyzer.java:427)
   	at com.sun.tools.javac.comp.ThisEscapeAnalyzer.lambda$analyzeConstructor$0(ThisEscapeAnalyzer.java:1188)
   	at com.sun.tools.javac.comp.ThisEscapeAnalyzer.visitScoped(ThisEscapeAnalyzer.java:1241)
   	at com.sun.tools.javac.comp.ThisEscapeAnalyzer.analyzeConstructor(ThisEscapeAnalyzer.java:1188)
   	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:186)
   	at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:197)
   	at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133)
   	at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1939)
   	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:570)
   	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:560)
   	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:153)
   	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:176)
   	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:265)
   	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:632)
   	at com.sun.tools.javac.comp.ThisEscapeAnalyzer.doAnalyzeTree(ThisEscapeAnalyzer.java:343)
   	at com.sun.tools.javac.comp.ThisEscapeAnalyzer.analyzeTree(ThisEscapeAnalyzer.java:243)
   	at com.sun.tools.javac.comp.WarningAnalyzer.analyzeTree(WarningAnalyzer.java:61)
   	at com.sun.tools.javac.main.JavaCompiler.warn(JavaCompiler.java:1472)
   	at com.sun.tools.javac.main.JavaCompiler.warn(JavaCompiler.java:1439)
   	at com.sun.tools.javac.api.JavacTaskImpl$1.process(JavacTaskImpl.java:412)
   	at com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:525)
   	at com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:415)
   [catch] at org.netbeans.modules.java.source.indexing.VanillaCompileWorker.compile(VanillaCompileWorker.java:288)
   	at org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:363)
   	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:274)
   	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:2749)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.lambda$index$0(RepositoryUpdater.java:2626)
   	at org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:574)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2625)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.lambda$scanFiles$2(RepositoryUpdater.java:3332)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.lambda$runInContext$4(RepositoryUpdater.java:2119)
   	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:288)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2117)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2098)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.scanFiles(RepositoryUpdater.java:3290)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$FileListWork.getDone(RepositoryUpdater.java:3832)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:3452)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(RepositoryUpdater.java:6197)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.lambda$call$0(RepositoryUpdater.java:6116)
   	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:288)
   	at org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.performScan(RunWhenScanFinishedSupport.java:83)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6116)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6112)
   	at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
   	at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:341)
   	at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
   	at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
   	at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.run(RepositoryUpdater.java:6112)
   	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:545)
   	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:328)
   	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1370)
   	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
   	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287)
   	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1981)
   
   ```


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] AssertionError typeSig ERROR [netbeans]

Posted by "mvanhorn (via GitHub) via notifications" <no...@netbeans.apache.org>.
mvanhorn commented on issue #9740:
URL: https://github.com/apache/netbeans/issues/9740#issuecomment-6574686014

   The annotation sanitization pass skipped package symbol metadata. Erroneous package annotations could therefore reach javac's class writer, which cannot generate signatures for error types.
   
   VanillaCompileWorker now sanitizes package annotations through the existing clearAnnotations logic when a package symbol is present.
   
   https://github.com/apache/netbeans/pull/9777


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] AssertionError typeSig ERROR [netbeans]

Posted by "wrprice (via GitHub)" <gi...@apache.org>.
wrprice commented on issue #9740:
URL: https://github.com/apache/netbeans/issues/9740#issuecomment-6357302067

   I hit this too in a Gradle project targeting Java 25 using Temurin.  My stacktrace matches the one in the issue description, but I'm also not sure of the exact trigger. I was just editing and saving a Java file.
   
   ```text
   Product Version: Apache NetBeans IDE 32-rc1
   Java: 25.0.5; OpenJDK 64-Bit Server VM 25.0.5+8-LTS
   Runtime: OpenJDK Runtime Environment 25.0.5+8-LTS
   System: Linux version 6.18.54.1-microsoft-standard-WSL2 running on amd64; UTF-8; en (nb)
   ```
   


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] AssertionError typeSig ERROR [netbeans]

Posted by "wrprice (via GitHub)" <gi...@apache.org>.
wrprice commented on issue #9740:
URL: https://github.com/apache/netbeans/issues/9740#issuecomment-6371191608

   @mbien that's fair.  I hadn't hit this before, so it could absolute be a fluke, but recent changes in my environment include moving to 32-rc1 (after my comments above I have bumped to 32-rc2) but also upgrading to the latest Temurin 25 because of the eMudhra CA issue.
   
   Not that I expect `javac` changes in a security update but I haven't reviewed the change history.  It does strike me that I had @ebarboni both hit this near in time to each other.


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists