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 268589

Summary: NullPointerException at org.python.antlr.GrammarActions.makeDottedText
Product: python Reporter: Exceptions Reporter <exceptions_reporter>
Component: EditorAssignee: Lou Dasaro <mr_lou_d>
Status: NEW ---    
Severity: normal CC: Jenselme
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 226843
Attachments: stacktrace

Description Exceptions Reporter 2016-10-19 17:47:51 UTC
This bug was originally marked as duplicate of bug 252356, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.112-b15, Java(TM) SE Runtime Environment, 1.8.0_112-b15
OS: Linux

User Comments:
GUEST: Typing Python code




Stacktrace: 
java.lang.NullPointerException
   at org.python.antlr.GrammarActions.makeDottedText(GrammarActions.java:732)
   at org.python.antlr.PythonParser.dotted_name(PythonParser.java:5802)
   at org.python.antlr.PythonParser.import_from(PythonParser.java:5096)
   at org.python.antlr.PythonParser.import_stmt(PythonParser.java:4895)
   at org.python.antlr.PythonParser.small_stmt(PythonParser.java:2689)
   at org.python.antlr.PythonParser.simple_stmt(PythonParser.java:2468)
Comment 1 Exceptions Reporter 2016-10-19 17:47:53 UTC
Created attachment 162560 [details]
stacktrace
Comment 2 Jenselme 2017-06-22 19:30:38 UTC
Thanks for your report. Small questions to help me reproduce the bug:

- How did you get the plugin? http://plugins.netbeans.org/? Other way?
- Are you using a setuptool or an ant project?
- Do you have any other files/projects opened?
- Does it happen with the latest dev version (https://bitbucket.org/Jenselme/nb-contrib/downloads/2017-06-04-nbpython-nbms.zip)?