#734 Code Completion Hangs on OS X

1.3.18
closed
5
2008-07-14
2008-06-25
No

Code completion can't start pycompletionserver.py on system using Eclipse 3.3.2, on Mac OS X 10.5.3 using pydev 1.3.18. Eclipse error log gives message:

Error connecting to python process ( /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/java -Dpython.path=/Applications/eclipse/plugins/org.python.pydev_1.3.18/PySrc/pydev_sitecustomize:/Applications/eclipse/plugins/org.python.pydev_1.3.18/PySrc:/Users/ifair/Library/jython2.2.1/Lib:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar:/System/Library/Java/Extensions/AppleScriptEngine.jar:/System/Library/Java/Extensions/CoreAudio.jar:/System/Library/Java/Extensions/dns_sd.jar:/System/Library/Java/Extensions/j3daudio.jar:/System/Library/Java/Extensions/j3dcore.jar:/System/Library/Java/Extensions/j3dutils.jar:/System/Library/Java/Extensions/jai_codec.jar:/System/Library/Java/Extensions/jai_core.jar:/System/Library/Java/Extensions/mlibwrapper_jai.jar:/System/Library/Java/Extensions/MRJToolkit.jar:/System/Library/Java/Extensions/QTJava.zip:/System/Library/Java/Extensions/vecmath.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext/apple_provider.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext/dnsns.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext/localedata.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext/sunjce_provider.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext/sunpkcs11.jar -classpath /Users/ifair/Library/jython2.2.1/jython.jar:/Applications/eclipse/plugins/org.python.pydev_1.3.18/PySrc/pydev_sitecustomize:/Applications/eclipse/plugins/org.python.pydev_1.3.18/PySrc:/Users/ifair/Library/jython2.2.1/Lib:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar:/System/Library/Java/Extensions/AppleScriptEngine.jar:/System/Library/Java/Extensions/CoreAudio.jar:/System/Library/Java/Extensions/dns_sd.jar:/System/Library/Java/Extensions/j3daudio.jar:/System/Library/Java/Extensions/j3dcore.jar:/System/Library/Java/Extensions/j3dutils.jar:/System/Library/Java/Extensions/jai_codec.jar:/System/Library/Java/Extensions/jai_core.jar:/System/Library/Java/Extensions/mlibwrapper_jai.jar:/System/Library/Java/Extensions/MRJToolkit.jar:/System/Library/Java/Extensions/QTJava.zip:/System/Library/Java/Extensions/vecmath.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext/apple_provider.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext/dnsns.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext/localedata.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext/sunjce_provider.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext/sunpkcs11.jar org.python.util.jython /Applications/eclipse/plugins/org.python.pydev_1.3.18/PySrc/pycompletionserver.py 60590 60591) - the process in NOT ALIVE anymore (output=1) - the output of the process is: Std output:

Err output:
Exception in thread "main" java.lang.NoClassDefFoundError:

With the Stack Trace:

java.lang.RuntimeException: Error connecting to python process ( /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/java -Dpython.path=/Applications/eclipse/plugins/org.python.pydev_1.3.18/PySrc/pydev_sitecustomize:/Applications/eclipse/plugins/org.python.pydev_1.3.18/PySrc:/Users/ifair/Library/jython2.2.1/Lib:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar:/System/Library/Java/Extensions/AppleScriptEngine.jar:/System/Library/Java/Extensions/CoreAudio.jar:/System/Library/Java/Extensions/dns_sd.jar:/System/Library/Java/Extensions/j3daudio.jar:/System/Library/Java/Extensions/j3dcore.jar:/System/Library/Java/Extensions/j3dutils.jar:/System/Library/Java/Extensions/jai_codec.jar:/System/Library/Java/Extensions/jai_core.jar:/System/Library/Java/Extensions/mlibwrapper_jai.jar:/System/Library/Java/Extensions/MRJToolkit.jar:/System/Library/Java/Extensions/QTJava.zip:/System/Library/Java/Extensions/vecmath.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext/apple_provider.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext/dnsns.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext/localedata.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext/sunjce_provider.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext/sunpkcs11.jar -classpath /Users/ifair/Library/jython2.2.1/jython.jar:/Applications/eclipse/plugins/org.python.pydev_1.3.18/PySrc/pydev_sitecustomize:/Applications/eclipse/plugins/org.python.pydev_1.3.18/PySrc:/Users/ifair/Library/jython2.2.1/Lib:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/charsets.jar:/System/Library/Java/Extensions/AppleScriptEngine.jar:/System/Library/Java/Extensions/CoreAudio.jar:/System/Library/Java/Extensions/dns_sd.jar:/System/Library/Java/Extensions/j3daudio.jar:/System/Library/Java/Extensions/j3dcore.jar:/System/Library/Java/Extensions/j3dutils.jar:/System/Library/Java/Extensions/jai_codec.jar:/System/Library/Java/Extensions/jai_core.jar:/System/Library/Java/Extensions/mlibwrapper_jai.jar:/System/Library/Java/Extensions/MRJToolkit.jar:/System/Library/Java/Extensions/QTJava.zip:/System/Library/Java/Extensions/vecmath.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext/apple_provider.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext/dnsns.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext/localedata.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext/sunjce_provider.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext/sunpkcs11.jar org.python.util.jython /Applications/eclipse/plugins/org.python.pydev_1.3.18/PySrc/pycompletionserver.py 60590 60591) - the process in NOT ALIVE anymore (output=1) - the output of the process is: Std output:

Err output:
Exception in thread "main" java.lang.NoClassDefFoundError:

at org.python.pydev.editor.codecompletion.shell.AbstractShell.startIt(AbstractShell.java:440)
at org.python.pydev.editor.codecompletion.shell.AbstractShell.startIt(AbstractShell.java:312)
at org.python.pydev.editor.codecompletion.shell.AbstractShell.getServerShell(AbstractShell.java:234)
at org.python.pydev.editor.codecompletion.shell.AbstractShell.getServerShell(AbstractShell.java:192)
at org.python.pydev.editor.PyEdit$1.run(PyEdit.java:474)

Session Data:
eclipse.buildId=M20080221-1800
java.version=1.5.0_13
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_US
Framework arguments: -keyring /Users/ifair/.eclipse_keyring -showlocation
Command-line arguments: -os macosx -ws carbon -arch x86 -keyring /Users/ifair/.eclipse_keyring -consoleLog -showlocation
This is a continuation of log file /Users/ifair/Documents/workspace/.metadata/.bak_0.log
Created Time: 2008-06-25 10:00:52.188

Discussion

  • Fabio Zadrozny

    Fabio Zadrozny - 2008-06-29
    • status: open --> pending
     
  • Fabio Zadrozny

    Fabio Zadrozny - 2008-06-29

    Logged In: YES
    user_id=617340
    Originator: NO

    Can you try running that command-line from a shell and see if it's able to provide more info (usually, when you have a java.lang.NoClassDefFoundError, you also get a description on what's the class missing. Reference: http://www.jroller.com/sjivan/entry/difference_between_classnotfoundexception_and_noclassdeffounderror\).

    Cheers,

    Fabio

    p.s. I'm attaching a file the command line to be run.

    File Added: command_line.txt

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2008-06-29

    Command line

     
  • SourceForge Robot

    • status: pending --> closed
     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • Ian Fairbourne

    Ian Fairbourne - 2008-07-14

    Logged In: YES
    user_id=2128280
    Originator: YES

    Sorry for the delay. When I run it, I get:

    Exception in thread "main" java.lang.NoClassDefFoundError: org/python/util/jython