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 260967

Summary: NullPointerException at org.netbeans.modules.python.api.PythonPlatformManager.getBundledPlatform
Product: python Reporter: DaviMoreira
Component: CodeAssignee: Lou Dasaro <mr_lou_d>
Status: RESOLVED INVALID    
Severity: normal CC: Jenselme
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 217505
Attachments: stacktrace

Description DaviMoreira 2016-05-10 13:45:46 UTC
This bug was originally marked as duplicate of bug 255503, 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.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Mac OS X

User Comments:
GUEST: I'm changin PHP 5.4 to PHP 5.6 to try xdebug

DaviMoreira: Can't describe what exactly happened.

DaviMoreira: Happened with no apparent reason.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.python.api.PythonPlatformManager.getBundledPlatform(PythonPlatformManager.java:77)
   at org.netbeans.modules.python.api.PythonPlatformManager.load(PythonPlatformManager.java:180)
   at org.netbeans.modules.python.api.PythonPlatformManager.<init>(PythonPlatformManager.java:61)
   at org.netbeans.modules.python.api.PythonPlatformManager.getInstance(PythonPlatformManager.java:112)
   at org.netbeans.modules.python.source.PythonUtils.getModuleName(PythonUtils.java:112)
   at org.netbeans.modules.python.source.PythonIndexer$IndexTask.<init>(PythonIndexer.java:274)
Comment 1 DaviMoreira 2016-05-10 13:45:49 UTC
Created attachment 159698 [details]
stacktrace
Comment 2 Jenselme 2016-09-19 15:33:31 UTC
Hi,

This looks to have been reported on a old version of the plugin, so I'll close this.

If the problem still occurs, please reopen this bug, give your version of the Python plugin and describe how you changed PHP 5.4 to 5.6. Thank you.