Menu

#141 Running DrJava in Eclipse 3.2

open
nobody
5
2014-09-30
2006-11-10
No

After the splash screen is displayed this exception is
thrown.

edu.rice.cs.util.UnexpectedException:
java.rmi.StubNotFoundException: Stub class not found:
edu.rice.cs.drjava.model.repl.newjvm.MainJVM_Stub;
nested exception is:
java.lang.ClassNotFoundException:
edu.rice.cs.drjava.model.repl.newjvm.MainJVM_Stub
at
edu.rice.cs.util.newjvm.AbstractMasterJVM.invokeSlave
(AbstractMasterJVM.java:167)
at
edu.rice.cs.drjava.model.repl.newjvm.MainJVM.startInter
preterJVM(MainJVM.java:648)
at
edu.rice.cs.drjava.model.DefaultGlobalModel.<init>
(DefaultGlobalModel.java:236)
at edu.rice.cs.drjava.ui.MainFrame.<init>
(MainFrame.java:2560)
at edu.rice.cs.drjava.DrJavaRoot.main
(DrJavaRoot.java:122)
Caused by: java.rmi.StubNotFoundException: Stub class
not found:
edu.rice.cs.drjava.model.repl.newjvm.MainJVM_Stub;
nested exception is:
java.lang.ClassNotFoundException:
edu.rice.cs.drjava.model.repl.newjvm.MainJVM_Stub
at sun.rmi.server.Util.createStub
(Util.java:274)
at sun.rmi.server.Util.createProxy
(Util.java:122)
at sun.rmi.server.UnicastServerRef.exportObject
(UnicastServerRef.java:169)
at
java.rmi.server.UnicastRemoteObject.exportObject
(UnicastRemoteObject.java:293)
at
java.rmi.server.UnicastRemoteObject.exportObject
(UnicastRemoteObject.java:220)
at
edu.rice.cs.util.newjvm.AbstractMasterJVM.invokeSlave
(AbstractMasterJVM.java:163)
... 4 more
Caused by: java.lang.ClassNotFoundException:
edu.rice.cs.drjava.model.repl.newjvm.MainJVM_Stub
at java.net.URLClassLoader$1.run
(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged
(Native Method)
at java.net.URLClassLoader.findClass
(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass
(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass
(Launcher.java:268)
at java.lang.ClassLoader.loadClass
(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal
(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at sun.rmi.server.Util.createStub
(Util.java:268)
... 9 more

Caused by:
java.rmi.StubNotFoundException: Stub class not found:
edu.rice.cs.drjava.model.repl.newjvm.MainJVM_Stub;
nested exception is:
java.lang.ClassNotFoundException:
edu.rice.cs.drjava.model.repl.newjvm.MainJVM_Stub
at sun.rmi.server.Util.createStub
(Util.java:274)
at sun.rmi.server.Util.createProxy
(Util.java:122)
at sun.rmi.server.UnicastServerRef.exportObject
(UnicastServerRef.java:169)
at
java.rmi.server.UnicastRemoteObject.exportObject
(UnicastRemoteObject.java:293)
at
java.rmi.server.UnicastRemoteObject.exportObject
(UnicastRemoteObject.java:220)
at
edu.rice.cs.util.newjvm.AbstractMasterJVM.invokeSlave
(AbstractMasterJVM.java:163)
at
edu.rice.cs.drjava.model.repl.newjvm.MainJVM.startInter
preterJVM(MainJVM.java:648)
at
edu.rice.cs.drjava.model.DefaultGlobalModel.<init>
(DefaultGlobalModel.java:236)
at edu.rice.cs.drjava.ui.MainFrame.<init>
(MainFrame.java:2560)
at edu.rice.cs.drjava.DrJavaRoot.main
(DrJavaRoot.java:122)
Caused by: java.lang.ClassNotFoundException:
edu.rice.cs.drjava.model.repl.newjvm.MainJVM_Stub
at java.net.URLClassLoader$1.run
(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged
(Native Method)
at java.net.URLClassLoader.findClass
(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass
(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass
(Launcher.java:268)
at java.lang.ClassLoader.loadClass
(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal
(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at sun.rmi.server.Util.createStub
(Util.java:268)
... 9 more

System Properties:
DrJava Version 20061108-0713
drjava.debug.port = 1376
java.runtime.name = Java(TM) 2 Runtime Environment,
Standard Edition
sun.boot.library.path = C:\Program
Files\Java\jdk1.5.0_09\jre\bin
java.vm.version = 1.5.0_09-b03
java.vm.vendor = Sun Microsystems Inc.
java.vendor.url = http://java.sun.com/
path.separator = ;
java.vm.name = Java HotSpot(TM) Client VM
file.encoding.pkg = sun.io
user.country = US
sun.os.patch.level = Service Pack 2
java.vm.specification.name = Java Virtual Machine
Specification
user.dir = C:\Documents and Settings\H-----
java.runtime.version = 1.5.0_09-b03
java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
java.endorsed.dirs = C:\Program Files\Java\jdk1.5.0_09
\jre\lib\endorsed
os.arch = x86
java.io.tmpdir = C:\DOCUME~1\H-----\LOCALS~1\Temp\ line.separator = "\u000d\u000a"
java.vm.specification.vendor = Sun Microsystems Inc.
user.variant =
os.name = Windows XP
sun.jnu.encoding = Cp1252
java.library.path = C:\Program Files\Java\jdk1.5.0_09
\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system
32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Common Files\Roxio Shared\DLLShared;C:\PROGRA~1
\F-Secure\SSHTRI~1;C:\Program Files\Common
Files\Teleca Shared;C:\Program
Files\QuickTime\QTSystem\ java.specification.name = Java Platform API
Specification
java.class.version = 49.0
sun.management.compiler = HotSpot Client Compiler
os.version = 5.1
user.home = C:\Documents and Settings\H-----
user.timezone = America/New_York
java.awt.printerjob = sun.awt.windows.WPrinterJob
file.encoding = Cp1252
java.specification.version = 1.5
java.class.path = C:\Documents and Settings\H-----
\workspace\drjava\classes\base;C:\Documents and
Settings\H-----\workspace\drjava1\bin;C:\Documents and
Settings\H-----
\workspace\drjava\lib\compilers.jar;C:\Documents and
Settings\H-----
\workspace\drjava\lib\docs.jar;C:\Documents and
Settings\H-----
\workspace\drjava\lib\dynamicjava.jar;C:\Documents and
Settings\H-----
\workspace\drjava\lib\javalanglevels.jar;C:\Documents
and Settings\H-----
\workspace\drjava\lib\junit.jar;C:\Documents and
Settings\H-----
\workspace\drjava\lib\platform.jar;C:\Documents and
Settings\H-----\workspace\drjava\lib\retroweaver-rt-
1.2.3.jar;C:\Documents and Settings\H-----
\workspace\drjava\lib\winlaf-0.5.1.jar;C:\Documents
and Settings\H-----
\workspace\drjava\lib\buildlib\junit.jar;C:\Program
Files\Java\jre1.5.0_09\tools.jar;C:\Documents and
Settings\H-----
\workspace\drjava\lib\buildlib\retroweaver-all-
1.2.3.jar;C:\Program Files\Java\jdk1.5.0_09
\lib\tools.jar
user.name = H-----
java.vm.specification.version = 1.0
java.home = C:\Program Files\Java\jdk1.5.0_09\jre
sun.arch.data.model = 32
user.language = en
java.specification.vendor = Sun Microsystems Inc.
awt.toolkit = sun.awt.windows.WToolkit
java.vm.info = mixed mode, sharing
java.version = 1.5.0_09
java.ext.dirs = C:\Program Files\Java\jdk1.5.0_09
\jre\lib\ext
sun.boot.class.path = C:\Program Files\Java\jdk1.5.0_09
\jre\lib\rt.jar;C:\Program Files\Java\jdk1.5.0_09
\jre\lib\i18n.jar;C:\Program Files\Java\jdk1.5.0_09
\jre\lib\sunrsasign.jar;C:\Program
Files\Java\jdk1.5.0_09\jre\lib\jsse.jar;C:\Program
Files\Java\jdk1.5.0_09\jre\lib\jce.jar;C:\Program
Files\Java\jdk1.5.0_09\jre\lib\charsets.jar;C:\Program
Files\Java\jdk1.5.0_09\jre\classes
java.vendor = Sun Microsystems Inc.
file.separator = \ java.vendor.url.bug = http://java.sun.com/cgi-
bin/bugreport.cgi
sun.io.unicode.encoding = UnicodeLittle
sun.cpu.endian = little
java.rmi.server.hostname = 127.0.0.1
sun.desktop = windows
sun.cpu.isalist = pentium_pro+mmx pentium_pro
pentium+mmx pentium i486 i386 i86

#DrJava configuration file
#Thu Nov 09 20:53:52 EST 2006
key.delete.next = shift DELETE
key.delete.previous = shift BACK_SPACE
window.x = 240
window.y = 34
last.dir = C:\\Documents and Settings\\H-----\\My
Documents\\drjava-eclipse-0.9.5
\\edu.rice.cs.drjava_0.9.5
last.interactions.dir = C:\\Documents and Settings\\H--
---

Used memory: about 2.37 megabytes
Free memory: about 483.17 kilobytes
Total memory: about 2.84 megabytes
Total memory can expand to: about 127.06 megabytes

Discussion

  • Robert Cartwright

    Logged In: YES
    user_id=430590

    None of our developers uses Eclipse on a regular basis. As
    far as I know, none of our developers has tried using the
    plugin with Eclipse 3.2. Please try rolling back to Eclipse 3.1

    We suspended support for our Eclipse plugin because the
    Eclipse development team has shown such a cavalier attitude
    toward backward compatibility. It looks like we have been
    burned yet again. Every time that the Eclipse team releases
    a new version of Eclipse, our plugin breaks.

     
  • Dan Smith

    Dan Smith - 2006-11-10

    Logged In: YES
    user_id=1060117

    Can you clarify what you mean by "Running DrJava in Eclipse 3.2"? The stack trace, etc., that you've provided comes from the
    DrJava application, not the DrJava Eclipse Plug-in. And if by "splash screen" you mean the DrJava spash screen, that too only
    occurs when running the application.

    The version number -- "20061108-0713" -- seems to indicate that you're trying to build and run DrJava from source. Perhaps
    from within Eclipse 3.2? If that's the case, it looks like your problem is that "rmic", the Java RMI compiler, needs to be run after
    you've compiled the sources. You can take a look at the Ant build file (build.xml) for details, which I assume you've already done
    something with. You can also check out the "Developer Docs" link at <http://drjava.org> for introductory instructions on
    building DrJava. (We don't do much development in Eclipse, so I don't know how nicely our build process will integrate into that
    particular IDE. Any feedback you can give would be appreciated.)

     
  • Carl Alphonce

    Carl Alphonce - 2007-06-06

    Logged In: YES
    user_id=862234
    Originator: NO

    As a data point, I just installed the DrJava plugin (version 0.9.8) in Eclipse (version 3.2.2) and it appears to work just fine.

    I love having the interactions pane available in Eclipse - please consider continued development/support of this plug-in!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.