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.
The python sample Java Swing app in Jython cannot be run due to NPE. Initializing Traceback (most recent call last): File "/Users/Tony/NetBeansProjects/JySwing/src/JySwing.py", line 88, in <module> frame.draw() File "/Users/Tony/NetBeansProjects/JySwing/src/JySwing.py", line 55, in draw self.frame = swing.JFrame("Hello Swing from Python", visible=1 ) at org.python.core.PyObject.__tojava__(PyObject.java:257) at org.python.core.PyInteger.__tojava__(PyInteger.java:152) at org.python.core.Py.tojava(Py.java:471) at org.python.core.PyBeanProperty._doset(PyBeanProperty.java:61) at org.python.core.PyObject.__set__(PyObject.java:3659) at org.python.core.PyObject.object___setattr__(PyObject.java:3719) at org.python.core.PyObject.object___setattr__(PyObject.java:3708) at org.python.core.PyObject$object___setattr___exposer.__call__(Unknown Source) at org.python.core.PyObjectDerived.__setattr__(PyObjectDerived.java:1026) java.lang.NullPointerException: java.lang.NullPointerException System: Build 528 Product Version: NetBeans IDE Dev (Build 20090106142255) Java: 1.5.0_16; Java HotSpot(TM) Client VM 1.5.0_16-133 System: Mac OS X version 10.5.5 running on i386; MacRoman; en_US (nb)
It works fine for me on Linux with JDK 1.5 and a latest build of NetBeans. Can you please verify again ?
I was able to reproduce this on my machine. Mac OS 10.5.7, JDK 1.6
Thank You Ted for verifying. Linux and Solaris works fine. If anyone could test Windows, then I could classify it as a MacOSX Bug.
Seems to be a MacOSX Issue. I do not have a Mac at my disposal, hence I can't look into it.