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 251756 - IllegalStateException: JsIndexer.postScanTask can be called only from scanner thread.
Summary: IllegalStateException: JsIndexer.postScanTask can be called only from scanner...
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-10 09:57 UTC by bandpay
Modified: 2015-08-17 08:56 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 207909


Attachments
stacktrace (3.26 KB, text/plain)
2015-04-10 09:57 UTC, bandpay
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bandpay 2015-04-10 09:57:57 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) Client VM, 25.40-b25, Java(TM) SE Runtime Environment, 1.8.0_40-b25
OS: Windows 7

User Comments:
bandpay: No Idea what happened.

GUEST: after activate components

rudyment: Exception occurred while opening the IDE.
The IDE was opened just after the NetBeans 7.4 was closed,
while both IDEs shares the same 
netbeans_default_userdir and  netbeans_default_cachedir,
however every time only one of these IDEs is running.

rudyment: Excetpion occurred while NB were loaded.

GUEST: During the installation of AngularJs plugin this error occured

GUEST: I created an AngularJS project using Yeoman generator (just using the command: "yo angular"), then created a new HTML5 project with sources in Netbeans.

GUEST: ????????????




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:295)
   at org.netbeans.modules.html.angular.index.AngularJsIndexer.index(AngularJsIndexer.java:165)
   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:283)
   at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:246)
   at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3076)
Comment 1 bandpay 2015-04-10 09:57:59 UTC
Created attachment 153124 [details]
stacktrace
Comment 2 Petr Pisl 2015-08-17 08:56:49 UTC
Already fixed.