[ https://issues.apache.org/jira/browse/NETBEANS-1217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16686077#comment-16686077 ]
Reema Taneja commented on NETBEANS-1217: ---------------------------------------- Thanks Jan, After adding below changes in nb-javac, I'm not able to reproduce the issue anymore. http://hg.openjdk.java.net/jdk/jdk/rev/eb3e72f181af I will create nb-javac patch and upload new plugin version. > Exception com.sun.tools.javac.code.Types$FunctionDescriptorLookupError > ---------------------------------------------------------------------- > > Key: NETBEANS-1217 > URL: https://issues.apache.org/jira/browse/NETBEANS-1217 > Project: NetBeans > Issue Type: Bug > Components: editor - Parsing & Indexing > Affects Versions: 9.0, 10.0 > Reporter: Alexander Bagiev > Assignee: Reema Taneja > Priority: Critical > Labels: ca_survey > Attachments: IDE_Log.log, ide_log.txt, messages.log, ui_log.txt > > > After updating working directory of Git repository (outside IDE) the > following exception raised: > com.sun.tools.javac.code.Types$FunctionDescriptorLookupError > at com.sun.tools.javac.code.Types$DescriptorCache.failure(Types.java:809) > at com.sun.tools.javac.code.Types$DescriptorCache.failure(Types.java:805) > at > com.sun.tools.javac.code.Types$DescriptorCache.findDescriptorInternal(Types.java:735) > at com.sun.tools.javac.code.Types$DescriptorCache.get(Types.java:719) > at com.sun.tools.javac.code.Types.findDescriptorType(Types.java:828) > at > com.sun.tools.javac.tree.JCTree$JCFunctionalExpression.getDescriptorType(JCTree.java:737) > at com.sun.tools.javac.comp.Flow$FlowAnalyzer.visitLambda(Flow.java:1311) > at com.sun.tools.javac.tree.JCTree$JCLambda.accept(JCTree.java:1813) > at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49) > at com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:415) > at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:57) > at com.sun.tools.javac.comp.Flow$FlowAnalyzer.visitApply(Flow.java:1259) > at > com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1640) > at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49) > at com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:415) > at com.sun.tools.javac.tree.TreeScanner.visitSelect(TreeScanner.java:302) > at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2116) > at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49) > at com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:415) > at com.sun.tools.javac.comp.Flow$FlowAnalyzer.visitApply(Flow.java:1258) > at > com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1640) > at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49) > at com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:415) > at com.sun.tools.javac.tree.TreeScanner.visitSelect(TreeScanner.java:302) > at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2116) > at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49) > at com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:415) > at com.sun.tools.javac.comp.Flow$FlowAnalyzer.visitApply(Flow.java:1258) > at > com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1640) > at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49) > at com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:415) > at com.sun.tools.javac.tree.TreeScanner.visitSelect(TreeScanner.java:302) > at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2116) > at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49) > at com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:415) > at com.sun.tools.javac.comp.Flow$FlowAnalyzer.visitApply(Flow.java:1258) > at > com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1640) > at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49) > at com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:415) > at com.sun.tools.javac.comp.Flow$FlowAnalyzer.visitReturn(Flow.java:1235) > at com.sun.tools.javac.tree.JCTree$JCReturn.accept(JCTree.java:1552) > at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49) > at com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:415) > at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:57) > at com.sun.tools.javac.comp.Flow$FlowAnalyzer.visitBlock(Flow.java:1021) > at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1026) > at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49) > at com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:415) > at com.sun.tools.javac.comp.Flow$FlowAnalyzer.visitMethodDef(Flow.java:989) > at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:872) > at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49) > at com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:415) > at com.sun.tools.javac.comp.Flow$FlowAnalyzer.visitClassDef(Flow.java:952) > at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:778) > at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49) > at com.sun.tools.javac.comp.Flow$BaseAnalyzer.scan(Flow.java:415) > at com.sun.tools.javac.comp.Flow$FlowAnalyzer.analyzeTree(Flow.java:1354) > at com.sun.tools.javac.comp.Flow$FlowAnalyzer.analyzeTree(Flow.java:1344) > at com.sun.tools.javac.comp.Flow.analyzeTree(Flow.java:220) > at com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1494) > at com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1468) > at com.sun.tools.javac.api.JavacTaskImpl$1.process(JavacTaskImpl.java:504) > at com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:651) > at com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:507) > [catch] at > org.netbeans.modules.java.source.nbjavac.indexing.MultiPassCompileWorker.compile(MultiPassCompileWorker.java:261) > at > org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:275) > 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$Work$3.call(RepositoryUpdater.java:3300) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$3.call(RepositoryUpdater.java:3255) > 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$Work.scanFiles(RepositoryUpdater.java:3255) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$FileListWork.getDone(RepositoryUpdater.java:3785) > 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.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514) > at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) > 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) > -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists