Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-3211

invalid pool entry exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • None
    • None
    • None

    Description

      java.lang.AssertionError: Invalid pool entry
      at com.sun.tools.javac.code.Type.poolTag(Type.java:134)
      at com.sun.tools.javac.jvm.PoolWriter$WriteablePoolHelper.writeConstant(PoolWriter.java:362)
      at com.sun.tools.javac.jvm.PoolWriter$WriteablePoolHelper.writeIfNeeded(PoolWriter.java:353)
      at com.sun.tools.javac.jvm.PoolWriter$WriteablePoolHelper.access$000(PoolWriter.java:331)
      at com.sun.tools.javac.jvm.PoolWriter.putMember(PoolWriter.java:125)
      at com.sun.tools.javac.jvm.Code.emitop2(Code.java:1004)
      at com.sun.tools.javac.jvm.Items$MemberItem.load(Items.java:518)
      at com.sun.tools.javac.jvm.Gen.visitUnary(Gen.java:2071)
      at com.sun.tools.javac.tree.JCTree$JCUnary.accept(JCTree.java:2067)
      at com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:864)
      at com.sun.tools.javac.jvm.Gen.visitExec(Gen.java:1723)
      at com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1529)
      at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:601)
      at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:636)
      at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:622)
      at com.sun.tools.javac.jvm.Gen.genStats(Gen.java:673)
      at com.sun.tools.javac.jvm.Gen.visitBlock(Gen.java:1084)
      at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1036)
      at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:601)
      at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:636)
      at com.sun.tools.javac.jvm.Gen.genMethod(Gen.java:954)
      at com.sun.tools.javac.jvm.Gen.visitMethodDef(Gen.java:917)
      at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:882)
      at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:601)
      at com.sun.tools.javac.jvm.Gen.genClass(Gen.java:2398)
      at com.sun.tools.javac.main.JavaCompiler.genCode(JavaCompiler.java:786)
      at com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:1749)
      at com.sun.tools.javac.api.JavacTaskImpl$2.process(JavacTaskImpl.java:574)
      at com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:651)
      at com.sun.tools.javac.api.JavacTaskImpl.generate(JavacTaskImpl.java:577)
      at org.netbeans.modules.java.source.nbjavac.indexing.SuperOnePassCompileWorker$2.run(SuperOnePassCompileWorker.java:291)
      at org.netbeans.modules.java.source.parsing.FileManagerTransaction.runConcurrent(FileManagerTransaction.java:180)
      [catch] at org.netbeans.modules.java.source.nbjavac.indexing.SuperOnePassCompileWorker.compile(SuperOnePassCompileWorker.java:287)
      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)
      at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634)
      at org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540)
      at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634)
      at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5714)
      at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5622)
      at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127)
      at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
      at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123)
      at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2104)
      at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$1500(RepositoryUpdater.java:136)
      at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSource(RepositoryUpdater.java:5749)
      at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSources(RepositoryUpdater.java:5419)
      at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.getDone(RepositoryUpdater.java:5038)
      at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$InitialRootsWork.getDone(RepositoryUpdater.java:5821)
      at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:3420)
      at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(RepositoryUpdater.java:6183)
      at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.access$4300(RepositoryUpdater.java:5834)
      at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2$1.run(RepositoryUpdater.java:6099)
      at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
      at org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.performScan(RunWhenScanFinishedSupport.java:83)
      at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6095)
      at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6091)
      at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
      at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
      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:6091)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      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)
      WARNING [org.netbeans.modules.java.source.indexing.JavaIndex]: MultiPassCompileWorker caused an exception
      File: file:/home/hom/sebi/alda/trunk/30_practical/sorting/solution/sortingservice/src/main/java/asortingservice/HQueue.java
      Root: /home/hom/sebi/alda/trunk/30_practical/sorting/solution/sortingservice/src/main/java
      Bootpath: /usr/lib/jvm/java-8-oracle/jre/lib/resources.jar:/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar:/usr/lib/jvm/java-8-oracle/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jsse.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jce.jar:/usr/lib/jvm/java-8-oracle/jre/lib/charsets.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jfr.jar:/usr/lib/jvm/java-8-oracle/jre/classes:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunec.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/dnsns.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/jaccess.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/zipfs.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunpkcs11.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunjce_provider.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/localedata.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/cldrdata.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/nashorn.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/jfxrt.jar
      Classpath: /home/hom/.m2/repository/nl/fontys/sebivenlo/sortingservice/api/1.0/api-1.0.jar:/home/hom/sebi/alda/trunk/30_practical/sorting/solution/sortingservice/target/classes
      Sourcepath: /home/hom/sebi/alda/trunk/30_practical/sorting/solution/sortingservice/src/main/java:/home/hom/sebi/alda/trunk/30_practical/sorting/solution/sortingservice/src/main/resources
      java.lang.AssertionError: Invalid pool entry
      at com.sun.tools.javac.code.Type.poolTag(Type.java:134)
      at com.sun.tools.javac.jvm.PoolWriter$WriteablePoolHelper.writeConstant(PoolWriter.java:362)
      at com.sun.tools.javac.jvm.PoolWriter$WriteablePoolHelper.writeIfNeeded(PoolWriter.java:353)
      at com.sun.tools.javac.jvm.PoolWriter$WriteablePoolHelper.access$000(PoolWriter.java:331)
      at com.sun.tools.javac.jvm.PoolWriter.putMember(PoolWriter.java:125)
      at com.sun.tools.javac.jvm.Code.emitop2(Code.java:1004)
      at com.sun.tools.javac.jvm.Items$MemberItem.load(Items.java:518)
      at com.sun.tools.javac.jvm.Gen.visitUnary(Gen.java:2071)
      at com.sun.tools.javac.tree.JCTree$JCUnary.accept(JCTree.java:2067)
      at com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:864)
      at com.sun.tools.javac.jvm.Gen.visitExec(Gen.java:1723)
      at com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1529)
      at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:601)
      at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:636)
      at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:622)
      at com.sun.tools.javac.jvm.Gen.genStats(Gen.java:673)
      at com.sun.tools.javac.jvm.Gen.visitBlock(Gen.java:1084)
      at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1036)
      at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:601)
      at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:636)
      at com.sun.tools.javac.jvm.Gen.genMethod(Gen.java:954)
      at com.sun.tools.javac.jvm.Gen.visitMethodDef(Gen.java:917)
      at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:882)
      at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:601)
      at com.sun.tools.javac.jvm.Gen.genClass(Gen.java:2398)
      at com.sun.tools.javac.main.JavaCompiler.genCode(JavaCompiler.java:786)
      at com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:1749)
      at com.sun.tools.javac.api.JavacTaskImpl$2.process(JavacTaskImpl.java:574)
      at com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:651)
      at com.sun.tools.javac.api.JavacTaskImpl.generate(JavacTaskImpl.java:577)
      [catch] at org.netbeans.modules.java.source.nbjavac.indexing.MultiPassCompileWorker.compile(MultiPassCompileWorker.java:303)
      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)
      at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634)
      at org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540)
      at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634)
      at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5714)
      at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5622)
      at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127)
      at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
      at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123)
      at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2104)
      at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$1500(RepositoryUpdater.java:136)
      at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSource(RepositoryUpdater.java:5749)
      at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSources(RepositoryUpdater.java:5419)
      at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.getDone(RepositoryUpdater.java:5038)
      at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$InitialRootsWork.getDone(RepositoryUpdater.java:5821)
      at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:3420)
      at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(RepositoryUpdater.java:6183)
      at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.access$4300(RepositoryUpdater.java:5834)
      at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2$1.run(RepositoryUpdater.java:6099)
      at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
      at org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.performScan(RunWhenScanFinishedSupport.java:83)
      at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6095)
      at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6091)
      at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
      at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
      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:6091)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      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)

      Attachments

        Activity

          People

            Unassigned Unassigned
            homberghp Pieter van den Hombergh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: