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 165756 - AssertionError at org.netbeans.modules.python.editor.PythonIndexer$IndexTask.scan
Summary: AssertionError at org.netbeans.modules.python.editor.PythonIndexer$IndexTask....
Status: RESOLVED FIXED
Alias: None
Product: python
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Torbjorn Norbye
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-22 00:05 UTC by gentoo_daemon
Modified: 2010-03-01 12:54 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 147917


Attachments
stacktrace (2.25 KB, text/plain)
2009-05-22 00:05 UTC, gentoo_daemon
Details
stacktrace (2.89 KB, text/plain)
2009-05-27 18:07 UTC, gentoo_daemon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gentoo_daemon 2009-05-22 00:05:32 UTC
Build: NetBeans IDE Dev (Build 090521)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Linux, 2.6.27-11-generic, i386

User Comments:
gentoo_daemon: IDE was indexing python source tree

GUEST: Closing an imported from existing source Python project after using the Test button.

GUEST: I was on a line in Python file and was typing "import wos" to test code completion. The IDE said "scanning in progress" then some Unicode error came up. After submitting a report the IDE continued scanning (for imports to suggest) but it was taking too long so clicked to "stop scanning task" (bottom right of window) and this error came up as it was trying (presumably) to abort the task.



Stacktrace: 
java.lang.AssertionError
        at org.netbeans.modules.python.editor.PythonIndexer$IndexTask.scan(PythonIndexer.java:290)
        at org.netbeans.modules.python.editor.PythonIndexer.index(PythonIndexer.java:172)
        at org.netbeans.modules.gsfret.source.usages.CachingIndexer$LanguageIndex.index(CachingIndexer.java:174)
        at org.netbeans.modules.gsfret.source.usages.CachingIndexer.index(CachingIndexer.java:118)
        at org.netbeans.modules.gsfret.source.usages.RepositoryUpdater.batchCompile(RepositoryUpdater.java:2031)
        at org.netbeans.modules.gsfret.source.usages.RepositoryUpdater$CompileWorker.updateFolder(RepositoryUpdater.java:1404)
Comment 1 gentoo_daemon 2009-05-22 00:05:45 UTC
Created attachment 82594 [details]
stacktrace
Comment 2 gentoo_daemon 2009-05-27 18:07:41 UTC
Build: NetBeans IDE Dev (Build 090525)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Linux, 2.6.27-14-generic, i386

User Comments: 


Stacktrace: 
java.lang.AssertionError
        at org.netbeans.modules.python.editor.PythonIndexer$IndexTask.scan(PythonIndexer.java:290)
        at org.netbeans.modules.python.editor.PythonIndexer.index(PythonIndexer.java:172)
        at org.netbeans.modules.gsfret.source.usages.CachingIndexer$LanguageIndex.index(CachingIndexer.java:174)
        at org.netbeans.modules.gsfret.source.usages.CachingIndexer.index(CachingIndexer.java:118)
        at org.netbeans.modules.gsfret.source.usages.RepositoryUpdater.batchCompile(RepositoryUpdater.java:2031)
        at org.netbeans.modules.gsfret.source.usages.RepositoryUpdater$CompileWorker.updateFolder(RepositoryUpdater.java:1404)
Comment 3 gentoo_daemon 2009-05-27 18:07:50 UTC
Created attachment 82880 [details]
stacktrace
Comment 4 Torbjorn Norbye 2010-03-01 12:54:49 UTC
Fixed in changeset ea3edddefa5e.