From: John M. <joh...@ya...> - 2001-08-03 18:28:47
|
The traceback is always line 0. Yes, that's normal unfortunately. Build problem? Here are the rules that I follow: Build jar files using jythonc: (+) Set CLASSPATH for running even when just compiling. (+) Add jython.jar to CLASSPATH while compiling! export CLASSPATH=$CLASSPATH:/home/mudd/jython-2.1a1/jython.jar (+) rm *class; rm <target>.jar; rm -rf jpywork; touch *py (+) jythonc -all --package com.proj.test --jar testRepo.jar $(JYTHONSRCS) <------ With --all, no jython jar needed to run. (+) Run again if get "too many files" error. --- "Sells, Fred" <fr...@ad...> wrote: > I have a fairly large application that runs fine under jython. > > When I try to run it as a jar file, doing > > >jythonc --core --deep --jar xxx.jar Main.py > > >java -jar xxx.jar > > I get a null pointer exception and the python style traceback is > always line > 0 > > I'm using jython20, jdk1.3 and JBuilder 4's JDBC classes. Is there > any way > to get better info other than disabling sections of code until I > isolate the > offending section. > > tia > > Fred > > _______________________________________________ > Jython-users mailing list > Jyt...@li... > http://lists.sourceforge.net/lists/listinfo/jython-users __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ |