Eric Schwarzenbach created NETBEANS-2752: --------------------------------------------
Summary: java.lang.IllegalStateException: JsIndexer.postScanTask on startup Key: NETBEANS-2752 URL: https://issues.apache.org/jira/browse/NETBEANS-2752 Project: NetBeans Issue Type: Bug Affects Versions: 11.1 Environment: Java: 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+9 Runtime: OpenJDK Runtime Environment 11.0.2+9 System: Linux version 4.19.26-1-CHAKRA running on amd64; UTF-8; en_US (nb) Reporter: Eric Schwarzenbach Using 11.1 beta 2 {{java.lang.IllegalStateException: JsIndexer.postScanTask can be called only from scanner thread.}} {{ at org.netbeans.modules.javascript2.editor.index.JsIndexer$Factory.addPostScanTask(JsIndexer.java:421)}} {{ at org.netbeans.modules.javascript2.editor.index.JsIndexer$PostScanProvider.addPostScanTask(JsIndexer.java:456)}} {{ at org.netbeans.modules.html.angular.index.AngularJsIndexer.index(AngularJsIndexer.java:163)}} {{ at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$3.run(Indexable.java:225)}} {{ at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:275)}} {{ at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:223)}} {{[catch] at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3209)}} {{ at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3231)}} {{ at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3231)}} {{ at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)}} {{ at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)}} {{ at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)}} {{ at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)}} {{ at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)}} {{ 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.TaskProcessor.runUserTask(TaskProcessor.java:178)}} {{ at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)}} {{ at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding(RepositoryUpdater.java:3143)}} {{ at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RefreshEifIndices$1.call(RepositoryUpdater.java:4341)}} {{ at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RefreshEifIndices$1.call(RepositoryUpdater.java:4289)}} {{ 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$RefreshEifIndices.getDone(RepositoryUpdater.java:4375)}} {{ 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:515)}} {{ 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