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 255503

Summary: NullPointerException at org.netbeans.modules.python.api.PythonPlatformManager.getBundledPlatform
Product: python Reporter: Jenselme
Component: CodeAssignee: Jenselme
Status: RESOLVED WORKSFORME    
Severity: normal CC: Jenselme
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 167606
Attachments: stacktrace

Description Jenselme 2015-09-23 09:57:45 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-184-on-20150804)
VM: OpenJDK 64-Bit Server VM, 25.60-b23, OpenJDK Runtime Environment, 1.8.0_60-b27
OS: Linux

User Comments:
GUEST: i was trying to create a new python project..

GUEST: dont know what happen
I installed python plugin and then tried to create new python project

GUEST: I'm trying to run application with XDEBUG 2.3.2 that is installed but NetBeans remain in waiting for connection

Jenselme: I updated the python module to the last version published today (2015-09-23 09h53 UTC). If I have a python project open when I start Netbeans or if I try to open a python project the exception occurs.

I don't know if I will be able to look at it before the week-end.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.python.api.PythonPlatformManager.getBundledPlatform(PythonPlatformManager.java:71)
   at org.netbeans.modules.python.api.PythonPlatformManager.load(PythonPlatformManager.java:174)
   at org.netbeans.modules.python.api.PythonPlatformManager.<init>(PythonPlatformManager.java:59)
   at org.netbeans.modules.python.api.PythonPlatformManager.getInstance(PythonPlatformManager.java:106)
   at org.netbeans.modules.python.project2.PythonProject2.findProjectProperties(PythonProject2.java:209)
   at org.netbeans.modules.python.project2.PythonProject2.isProject(PythonProject2.java:252)
Comment 1 Jenselme 2015-09-23 09:57:47 UTC
Created attachment 156372 [details]
stacktrace
Comment 2 Jenselme 2015-09-23 12:18:45 UTC
I just built netbeans from source and the last changesets from contrib I cannot reproduce.

Did anyone else experience this bug with the lastest published version of the plugin? Could it be solved in the default branch? In that case, it would be nice to publish a new version of the plugin.
Comment 3 Jenselme 2015-09-28 12:03:37 UTC
I just updated nbpython to the new release today on my development edition of netbeans. The exception disappeared. Marking as resolved.