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.
This bug was originally marked as duplicate of bug 155411, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 6.7.1 (Build 200911211148) VM: Java HotSpot(TM) Client VM, 1.6.0-b105, Java(TM) SE Runtime Environment, 1.6.0-b105 OS: Windows Vista User Comments: graydsl: I deleted an older Python Platform in the Python Platform window. And since then (~ #290) I was not able to run a Python script. Because if I try to change the Python Platform in Project Preferences or for NB a NPE happens. GUEST: Added python 2.4.4 (for MS Win, from python.org) to "Python Platforms" Stacktrace: java.lang.NullPointerException at org.netbeans.modules.python.api.PythonPlatform.compareTo(PythonPlatform.java:307) at org.netbeans.modules.python.api.PythonPlatform.compareTo(PythonPlatform.java:25) at java.util.Arrays.mergeSort(Arrays.java:1144) at java.util.Arrays.sort(Arrays.java:1079) at java.util.Collections.sort(Collections.java:117) at org.netbeans.modules.python.api.PythonPlatformManager.getPlatforms(PythonPlatformManager.java:300)
Created attachment 120952 [details] stacktrace
Unable to replicate. Likely fixed as a result of a number of updates to Python Platform Manager. Marking as Fixed. Should be okay with any release from Development after 27-May-2015.