Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4364854
By: raichea

I'm new to pretty much the whole environment (java, python, jython, eclipse),
but have successfully installed Eclipse 3.2 and PyDev and can run and debug
the "hello world" tutorial in the docs. However, I'm unable to successfully
configure the Jython environment in PyDev. As soon as I set the preferences
to point to jython.jar, I get a dialogue that says, "Some error happened while
getting info on the interpreter". It suggests that either the interpreter is
invalid (a link rather than the actual interpreter) or that the path to the
Eclipse install has spaces in it. Neither of these applies. It also gives a
link to a bug report that appears to be invalid.

Checking the error log reveals the text at the bottom of this post. I've tried
this with Jython 2.2b2, 2.2b1 and 2.1 with the same results for all.

Thanks.
==========================
eclipse.buildId=M20070212-1330
java.fullversion=J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32 j9vmwi3223ifx-20070323
(JIT enabled)
J9VM - 20070322_12058_lHdSMR
JIT  - 20070109_1805ifx3_r8
GC   - WASIFIX_2007
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
Command-line arguments:  -os win32 -ws win32 -arch x86

Info
Fri Jun 15 17:45:06 BST 2007
Information about process of adding new interpreter:- Opening dialog to request
executable (or jar).
- Chosen interpreter file:'C:\jython-2.1\jython.jar
- Ok, file is non-null. Getting info on:C:\jython-2.1\jython.jar
- Beggining task:Getting libs totalWork:100
Exception detected: java.lang.RuntimeException: java.lang.NullPointerException
- Some error happened while getting info on the interpreter:
java.lang.RuntimeException: java.lang.RuntimeException:
java.lang.NullPointerException
at org.python.pydev.ui.interpreters.AbstractInterpreterManager.getInterpreterInf
o(AbstractInterpreterManager.java:227)
at org.python.pydev.ui.interpreters.AbstractInterpreterManager.addInterpreter(Ab
stractInterpreterManager.java:265)
at org.python.pydev.ui.pythonpathconf.AbstractInterpreterEditor$Operation.run(Ab
stractInterpreterEditor.java:713)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.
java:113)
Caused by: java.lang.RuntimeException: java.lang.NullPointerException
at org.python.pydev.runners.SimpleJythonRunner.runAndGetOutputWithJar(SimpleJyth
onRunner.java:39)
at org.python.pydev.ui.interpreters.JythonInterpreterManager.doCreateInterpreter
Info(JythonInterpreterManager.java:68)
at org.python.pydev.ui.interpreters.JythonInterpreterManager.createInterpreterIn
fo(JythonInterpreterManager.java:44)
at org.python.pydev.ui.interpreters.AbstractInterpreterManager.getInterpreterInf
o(AbstractInterpreterManager.java:218)
... 3 more
Caused by: java.lang.NullPointerException
at org.python.pydev.runners.SimpleJythonRunner.runAndGetOutputWithJar(SimpleJyth
onRunner.java:26)
... 6 more


______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=293649

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Pydev-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to