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 214329 - NullPointerException at org.netbeans.modules.python.api.PythonPlatform.compareTo
Summary: NullPointerException at org.netbeans.modules.python.api.PythonPlatform.compareTo
Status: RESOLVED FIXED
Alias: None
Product: python
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Lou Dasaro
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-17 09:17 UTC by Exceptions Reporter
Modified: 2015-06-17 19:41 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 189620


Attachments
stacktrace (3.19 KB, text/plain)
2012-06-17 09:17 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-06-17 09:17:20 UTC
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)
Comment 1 Exceptions Reporter 2012-06-17 09:17:27 UTC
Created attachment 120952 [details]
stacktrace
Comment 2 Lou Dasaro 2015-06-17 19:41:34 UTC
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.