From: Tony M. <tma...@tr...> - 2005-01-11 13:34:10
|
The details below: C:\jython-2.1>jythonc --core --jar Moose.jar -C C:\j2sdk1.4.2\bin\javac.exe jyp\ test1.py processing test1 processing __future__ Required packages: org.eclipse.swt.browser org.eclipse.swt.layout* org.eclipse.swt* org.eclipse.swt.internal org.eclipse.swt.awt org.eclipse.swt.widgets* org.eclipse.swt.accessibility org.eclipse.swt.events* org.eclipse.swt.graphics org.eclipse.swt.custom org.eclipse.swt.dnd org.eclipse.swt.ole org.eclipse.swt.program org.eclipse.swt.printing Creating adapters: Creating .java files: __future__ module test1 module Compiling .java to .class... Compiling with args: ['C:\\j2sdk1.4.2\\bin\\javac.exe', '-classpath', 'C:\\jytho n-2.1\\jython.jar;C:\\Sybase\\ASEP\\Monclass.zip;C: \\Sybase\\ASEP\\3pclass.zip;C :\\Program Files\\dbxml-1.1.0-win32\\lib\\db.jar;C:\\Program Files\\dbxml-1.1.0- win32\\lib\\dbxml.jar;C: \\eclipse\\plugins\\org.eclipse.swt.win32_3.0.1\\ws\\win 32\\swt.jar;.\\jpywork;jyp;C:\\jython-2.1\\Tools\\jythonc;C:\\jython -2.1\\.;C:\\ jython-2.1\\Lib;C:\\jython-2.1', '.\\jpywork\\__future__.java', '.\\jpywork\\tes t1.java'] 0 Building archive: Moose.jar Tracking java dependencies: C:\jython-2.1>java -Djava.library.path=c:\eclipse\plugins\org.eclipse.swt.win32_ 3.0.1\os\win32\x86 -jar moose.jar Exception in thread "main" Traceback (innermost last): File "C:\jython-2.1\jyp\test1.py", line 0, in main File "C:\jython-2.1\jyp\test1.py", line 0, in open java.lang.NullPointerException at java.lang.Class.isAssignableFrom(Native Method) at org.python.core.PyJavaClass.init__class__(PyJavaClass.java) at org.python.core.PyJavaClass.init(PyJavaClass.java) at org.python.core.PyJavaClass.initLazy(PyJavaClass.java) at org.python.core.PyJavaClass.initialize(PyJavaClass.java) at org.python.core.PyJavaClass.lookupGivingClass(PyJavaClass.java) at org.python.core.PyClass.lookup(PyClass.java) at org.python.core.PyJavaClass.__findattr__(PyJavaClass.java) at org.python.core.PyObject.__getattr__(PyObject.java) at test1$_PyInner.open$1(test1.java:78) at test1$_PyInner.call_function(test1.java:65) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.__call__(PyFunction.java) at org.python.core.PyInstance.invoke(PyInstance.java) at test1$_PyInner.main$4(test1.java:153) at test1$_PyInner.call_function(test1.java:71) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyCode.call(PyCode.java) at org.python.core.imp.createFromCode(imp.java) at org.python.core.Py.runMain(Py.java) at test1.main(test1.java:168) java.lang.NullPointerException: java.lang.NullPointerException |