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 Dev (Build 20081213040647) VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03 OS: Linux, 2.6.27-ARCH, i386 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. 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. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.python.api.PythonPlatform.compareTo(PythonPlatform.java:305) at org.netbeans.modules.python.api.PythonPlatform.compareTo(PythonPlatform.java:24) 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 74922 [details] stacktrace
This is still a problem in #401. I don't know if it only happens on Linux but this should be considered as a severe bug. If there is a workaround or something, an email would be nice. In #401 it's possible to change the Python Plattform for a project but the Tools->Python Platforms gives the NPE above.
After deleting /home/user/.netbeans/dev the platform dialog works fine.
verified in build #435. no longer reproducible. Yes, I started from a fresh userdir.