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.
Build: NetBeans IDE 6.7 (Build 200906241340) 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: gentoo_daemon: I had the "display documentation next to completion" option enabled. It crashed after I hit ctrl+space to complete. GUEST: was writing something like that: self.__wait_for_event then double clicked od "__wait ofr event" and then press ctrl+v GUEST: just have entered non-ascii data in class method name :) Stacktrace: java.lang.NullPointerException at org.netbeans.modules.python.editor.PythonAstUtils.getNameRange(PythonAstUtils.java:277) at org.netbeans.modules.python.editor.PythonOccurrencesMarker.run(PythonOccurrencesMarker.java:236) at org.netbeans.modules.python.editor.PythonOccurrencesMarker.run(PythonOccurrencesMarker.java:69) at org.netbeans.modules.gsfret.editor.semantic.MarkOccurrencesHighlighter.processImpl(MarkOccurrencesHighlighter.java:173) at org.netbeans.modules.gsfret.editor.semantic.MarkOccurrencesHighlighter.run(MarkOccurrencesHighlighter.java:113) at org.netbeans.modules.gsfret.editor.semantic.MarkOccurrencesHighlighter.run(MarkOccurrencesHighlighter.java:80)
Created attachment 84413 [details] stacktrace
This issue already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=148657
Created attachment 99451 [details] stacktrace I was typing in the editor, had some bad syntax at the moment.
Because these reports are all many years old, I am going to resolve this as FIXED. If this bug occurs again, please make sure you are using Netbeans IDE 8.1 with the associated Plugin version 0.150701 or greater before creating a NEW bug. Thank you.
Just encountered it today. Working on a patch now. Type the following code to reproduce: class Toto: def __init__(self): toto = self.() The execption should be thrown when you add the opening parenthesis. Exception: http://statistics.netbeans.org/analytics/exception.do?id=796137
changeset: 18334:2f08b52531cc bookmark: main tag: tip user: Julien Enselme <jenselme@netbeans.org> date: Fri Oct 02 17:29:02 2015 +0200 summary: #168193 Fix NullPointerException at org.netbeans.modules.python.editor.PythonAstUtils.getNameRange Downgrading priority to P4. This should be close with the next release of nbpython.
Presumed fixed in Python .151118 (for IDE 8.1)