This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 262781 - IllegalStateException: JsIndexer.postScanTask can be called only from scanner thread.
Summary: IllegalStateException: JsIndexer.postScanTask can be called only from scanner...
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-12 13:43 UTC by Martin Fousek
Modified: 2018-03-09 17:59 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 225190


Attachments
stacktrace (4.51 KB, text/plain)
2016-07-12 13:43 UTC, Martin Fousek
Details
stacktrace (4.51 KB, text/plain)
2016-09-23 11:52 UTC, Jiri Skrivanek
Details
stacktrace (4.51 KB, text/plain)
2017-09-07 11:05 UTC, aldobrucale
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Fousek 2016-07-12 13:43:10 UTC
Build: NetBeans IDE Dev (Build 20160712-acf03bd04ba3)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.5-b02, Java(TM) SE Runtime Environment, 1.8.0_05-b13
OS: Linux

User Comments:
marfous: scanning of the JS project




Stacktrace: 
java.lang.IllegalStateException: JsIndexer.postScanTask can be called only from scanner thread.
   at org.netbeans.modules.javascript2.editor.index.JsIndexer$Factory.addPostScanTask(JsIndexer.java:436)
   at org.netbeans.modules.javascript2.editor.index.JsIndexer$PostScanProvider.addPostScanTask(JsIndexer.java:471)
   at org.netbeans.modules.html.angular.index.AngularJsIndexer.index(AngularJsIndexer.java:186)
   at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$3.run(Indexable.java:248)
   at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:298)
   at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:246)
Comment 1 Martin Fousek 2016-07-12 13:43:12 UTC
Created attachment 160356 [details]
stacktrace
Comment 2 Petr Pisl 2016-08-05 09:36:00 UTC
This is really strange. It could not happened according the stacktrace. Only if the indexing is called outside scanning.
Comment 3 Jiri Skrivanek 2016-09-23 11:52:03 UTC
Created attachment 162187 [details]
stacktrace

Scanning ABCS project.
Comment 4 Exceptions Reporter 2017-03-30 14:10:09 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=225190
Comment 5 aldobrucale 2017-09-07 11:05:13 UTC
Created attachment 165103 [details]
stacktrace

Opening a json file