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 165758 - NullPointerException at org.netbeans.modules.python.editor.PythonUtils.getModuleName
Summary: NullPointerException at org.netbeans.modules.python.editor.PythonUtils.getMod...
Status: RESOLVED FIXED
Alias: None
Product: python
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Lou Dasaro
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-22 01:45 UTC by gentoo_daemon
Modified: 2015-05-18 06:03 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 151609


Attachments
stacktrace (2.44 KB, text/plain)
2009-05-22 01:46 UTC, gentoo_daemon
Details
stacktrace (2.44 KB, text/plain)
2009-05-22 01:47 UTC, gentoo_daemon
Details
stacktrace (2.45 KB, text/plain)
2009-05-22 01:48 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 01:45:59 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: Try to index large python project. Seems to be taking very long ended up in multiple stack traces:



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.python.editor.PythonUtils.getModuleName(PythonUtils.java:156)
        at org.netbeans.modules.python.editor.PythonIndexer$IndexTask.<init>(PythonIndexer.java:237)
        at org.netbeans.modules.python.editor.PythonIndexer$IndexTask.<init>(PythonIndexer.java:222)
        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)
Comment 1 gentoo_daemon 2009-05-22 01:46:08 UTC
Created attachment 82597 [details]
stacktrace
Comment 2 gentoo_daemon 2009-05-22 01:47:06 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: 


Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.python.editor.PythonUtils.getModuleName(PythonUtils.java:156)
        at org.netbeans.modules.python.editor.PythonIndexer$IndexTask.<init>(PythonIndexer.java:237)
        at org.netbeans.modules.python.editor.PythonIndexer$IndexTask.<init>(PythonIndexer.java:222)
        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)
Comment 3 gentoo_daemon 2009-05-22 01:47:27 UTC
Created attachment 82598 [details]
stacktrace
Comment 4 gentoo_daemon 2009-05-22 01:48:10 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: 


Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.python.editor.PythonUtils.getModuleName(PythonUtils.java:156)
        at org.netbeans.modules.python.editor.PythonIndexer$IndexTask.<init>(PythonIndexer.java:237)
        at org.netbeans.modules.python.editor.PythonIndexer$IndexTask.<init>(PythonIndexer.java:222)
        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)
Comment 5 gentoo_daemon 2009-05-22 01:48:21 UTC
Created attachment 82599 [details]
stacktrace
Comment 6 Lou Dasaro 2015-05-18 06:03:01 UTC
Unable to replicate anomaly. Was probably fixed long, long ago. If not, was certainly fixed by porting Python Editor APIs from GSF to CSL.
http://hg.netbeans.org/main/contrib/rev/94fd635a7eb3