wood burning stoves 2.0*
The moose likes Distributed Java and the fly likes rmic NullPointerException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "rmic NullPointerException" Watch "rmic NullPointerException" New topic

rmic NullPointerException

yadati chetan

Joined: Aug 21, 2003
Posts: 3
I am not being able to generate the Stub class And the skeleton class when i use some of the text book examples on my linux mc. all the classes compile properly but later on when i type rmic XImpl where X is the name of the Interface and XImpl is its implementation. this is what happens:
at 0x40268de4: java.lang.Throwable.Throwable() (/usr/lib/./libgcj.so.3)
at 0x4025bcaf: java.lang.Exception.Exception() (/usr/lib/./libgcj.so.3)
at 0x4025f56f: java.lang.RuntimeException.RuntimeException() (/usr/lib/./libgcj.so.3)
at 0x4025ec67: java.lang.NullPointerException.NullPointerException() (/usr/lib/./libgcj.so.3)
at 0x4021b627: _Jv_ThrowNullPointerException (/usr/lib/./libgcj.so.3)
at 0x403202cb: ?? (??:0)
at 0x4031c817: gnu.java.rmi.rmic.RMIC.generateStub() (/usr/lib/./libgcj.so.3) at 0x4031b6ed: gnu.java.rmi.rmic.RMIC.processClass(java.lang.String) (/usr/lib/./libgcj.so.3)
at 0x4031b644: gnu.java.rmi.rmic.RMIC.run() (/usr/lib/./libgcj.so.3)
at 0x4031b507: gnu.java.rmi.rmic.RMIC.main(java.lang.String[]) (/usr/lib/./libgcj.so.3)
at 0x40242dd8: gnu.gcj.runtime.FirstThread.call_main() (/usr/lib/./libgcj.so.
at 0x402ad02d: gnu.gcj.runtime.FirstThread.run() (/usr/lib/./libgcj.so.3)
at 0x4024fc4c: _Jv_ThreadRun(java.lang.Thread) (/usr/lib/./libgcj.so.3)
at 0x4021c8ac: _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/./libgcj.so.3)
at 0x4021c9cd: JvRunMain (/usr/lib/./libgcj.so.3)
at 0x080485a8: ?? (??:0)
at 0x42015574: __libc_start_main (/lib/tls/libc.so.6)
at 0x080484f5: ?? (??:0)
Rmi gurus please help
and thanks in advance
wood burning stoves
subject: rmic NullPointerException
Similar Threads
IOException while executing runtime.exec
SOS:differences of implementation of RMIC in Windows & Linux
Why rmic does not compile the remote interface implementing?
RMI Problem on java under Linux