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.9.1 (Build 201007282301) VM: Java HotSpot(TM) 64-Bit Server VM, 17.0-b16, Java(TM) SE Runtime Environment, 1.6.0_21-b06 OS: Windows 7 User Comments: speijnik: Entering a newline after a python decorator (without arguments). GUEST: HELP! Stacktrace: java.lang.ArrayIndexOutOfBoundsException at org.netbeans.editor.DocumentContent.copySpanChars(DocumentContent.java:287) at org.netbeans.editor.DocumentContent.getChars(DocumentContent.java:165) at javax.swing.text.AbstractDocument.getText(AbstractDocument.java:797) at org.netbeans.editor.BaseDocument.find(BaseDocument.java:1271) at org.netbeans.modules.python.editor.PythonAstUtils.getNameRange(PythonAstUtils.java:228) at org.netbeans.modules.python.editor.PythonSemanticHighlighter$SemanticVisitor.visitFunctionDef(PythonSemanticHighlighter.java:133)
Created attachment 104100 [details] stacktrace
Likely fixed as a result of the GSF-to-CSL port, based on reporter's stacktrace. I will attempt to replicate using NetBeans IDE Dev 201505170001
Cannot reproduce. Downgrading priority to P4. This should be close with the next release of nbpython.
Fixed in Python Plugin version .151118 If you get this error, and are using NetBeans IDE 8.0.x, please upgrade to IDE 8.1 and install the latest Python plugin from the Update Center (Tools->Plugins). If you are using NetBeans 8.1 with Python Plugin version .151118 or greater, and you receive this error, please reopen with a duplicable test case and my apologies.