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 162008 - NullPointerException at org.netbeans.modules.python.platform.panels.PythonPlatformPanel.loadPlatform
Summary: NullPointerException at org.netbeans.modules.python.platform.panels.PythonPla...
Status: RESOLVED FIXED
Alias: None
Product: python
Classification: Unclassified
Component: Platform (show other bugs)
Version: 8.1
Hardware: All All
: P2 blocker (vote)
Assignee: Lou Dasaro
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-06 02:41 UTC by danielsimonjr
Modified: 2015-09-06 05:18 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 145688


Attachments
stacktrace (5.96 KB, text/plain)
2009-04-06 02:41 UTC, danielsimonjr
Details
stacktrace (5.96 KB, text/plain)
2009-04-06 02:43 UTC, danielsimonjr
Details
stacktrace (5.01 KB, text/plain)
2009-09-21 22:45 UTC, moorej
Details

Note You need to log in before you can comment on or make changes to this bug.
Description danielsimonjr 2009-04-06 02:41:34 UTC
Build: NetBeans IDE Dev (Build 200904011705)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows XP, 5.1, x86

User Comments:
GUEST: I was attempting to set up a python project using python 3.0

GUEST: trying to add python

GUEST: Trying to manually add the Python 2.6 platform

GUEST: Trying to manually add the Python 2.6.1 platform on Mac OS X



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.python.platform.panels.PythonPlatformPanel.loadPlatform(PythonPlatformPanel.java:423)
        at org.netbeans.modules.python.platform.panels.PythonPlatformPanel.newPlatformActionPerformed(PythonPlatformPanel.java:452)
        at org.netbeans.modules.python.platform.panels.PythonPlatformPanel.access$300(PythonPlatformPanel.java:37)
        at org.netbeans.modules.python.platform.panels.PythonPlatformPanel$3.actionPerformed(PythonPlatformPanel.java:138)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
Comment 1 danielsimonjr 2009-04-06 02:41:40 UTC
Created attachment 79498 [details]
stacktrace
Comment 2 danielsimonjr 2009-04-06 02:43:37 UTC
Build: NetBeans IDE Dev (Build 200904011705)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.python.platform.panels.PythonPlatformPanel.loadPlatform(PythonPlatformPanel.java:423)
        at org.netbeans.modules.python.platform.panels.PythonPlatformPanel.newPlatformActionPerformed(PythonPlatformPanel.java:452)
        at org.netbeans.modules.python.platform.panels.PythonPlatformPanel.access$300(PythonPlatformPanel.java:37)
        at org.netbeans.modules.python.platform.panels.PythonPlatformPanel$3.actionPerformed(PythonPlatformPanel.java:138)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
Comment 3 danielsimonjr 2009-04-06 02:43:40 UTC
Created attachment 79499 [details]
stacktrace
Comment 4 moorej 2009-09-21 22:45:23 UTC
Build: NetBeans IDE 6.7.1 (Build 200907230233)
VM: Java HotSpot(TM) Client VM, 1.5.0_20-141, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_20-b02-315
OS: Mac OS X, 10.5.8, i386

User Comments: 
Attempted to add python2.5.4 to python platforms. Python located in /opt/local/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python. However, I can only choose /opt/local/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app as viewing package contents of the Python.app seems not possible from the netbeans file dialog for adding a platform.
Thanks for your work!

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.python.platform.panels.PythonPlatformPanel.loadPlatform(PythonPlatformPanel.java:423)
        at org.netbeans.modules.python.platform.panels.PythonPlatformPanel.newPlatformActionPerformed(PythonPlatformPanel.java:452)
        at org.netbeans.modules.python.platform.panels.PythonPlatformPanel.access$300(PythonPlatformPanel.java:37)
        at org.netbeans.modules.python.platform.panels.PythonPlatformPanel$3.actionPerformed(PythonPlatformPanel.java:138)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
Comment 5 moorej 2009-09-21 22:45:28 UTC
Created attachment 88058 [details]
stacktrace
Comment 6 Exceptions Reporter 2009-09-21 22:45:33 UTC
This issue already has 7 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=145688
Comment 7 Lou Dasaro 2015-05-18 01:53:38 UTC
Issue seems specific to Python 3.x at this point, at least, on Windows.  Raised priority to 2 as there is no workaround present.
Comment 8 Lou Dasaro 2015-09-06 05:18:06 UTC
Unable to replicate anomaly. Probably fixed as a result of changes to Python Platform.
If this issue recurs, please reopen with my apologies.