Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » JBoss / Eclipse RCP: Could not dereference object
JBoss / Eclipse RCP: Could not dereference object [message #336997] Mon, 20 July 2009 09:10
Eclipse UserFriend
I have a problem instantiating my remote session bean from my Eclipse RCP
client. I get a nest of 3 exceptions:

javax.naming.NamingException: Could not dereference object
Caused by: java.lang.reflect.UndeclaredThrowableException
Caused by: java.land.ClassNotFound: company.service.SessionRemote

Interestingly, this final exception is thrown from the JBoss
ClassLoaderUtility. It appears to me that JBoss is overriding Eclipse's
ClassLoader, and can't find the relevant class.

This is definetely an Eclipse/JBoss issue - when I run a standalone JUnit
test, all the tests pass. When I run it from an Eclipse plug-in test, it
fails.

Has anyone run across this before? (X-Posted to the JBoss forums here:
http://www.jboss.org/index.html?module=bb&op=viewtopic&a mp;p=4244641#4244641)

Other key points:

* There is no output on the server (i.e. client-side issue)
* Currently both the client and the JBoss server are running from the same
JDK

Cheers,

Robert
Previous Topic:Drag and drop for Common Navigator Framework
Next Topic:Galileo x86_64 OSX crash while printing
Goto Forum:
  


Current Time: Wed Apr 16 03:31:23 EDT 2025

Powered by FUDForum. Page generated in 0.03008 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top