From: Jeff E. <jem...@fr...> - 2008-02-20 20:16:11
|
System.out.println(e); paolo wrote: > Help me for this error: > > |// file Test.java > ....................... > PythonInterpreter interp = *new* PythonInterpreter(null,sys); > ..................... > *try* > { > interp.exec("import myscript"); > } > *catch* (PyException e) > { > System.out.println("Error: " + e.getCause().toString()); > } > ....................... > | > > > This code return this error > > *Exception in thread "main" java.lang.NullPointerException at > Test.main(Test.java:46)*/ > > > Line 46 is: |System.out.println("Error: " + e.getCause().toString());|/ > || > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users |