[jboss-user] [EJB/JBoss] - issue with java.lang.reflect.Proxy

alfia_09 do-not-reply at jboss.com
Sun Mar 11 12:45:41 EDT 2007


Hello,

I really dont know whats wrong i am getting this exception,any help will be greatly appreciated: 

I am sure some of you must have encountered the same error,what i must do??


run.client:

    [java] Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
    [java]     at $Proxy0.findByname(Unknown Source) 
    [java]     at com.PIS.clients.Client.main(Client.java:42)
    [java] Caused by: java.lang.ClassNotFoundException: [Ljava.lang.StackTraceE
lement;
    [java]     at java.net.URLClassLoader$1.run(URLClassLoader.java :200)
    [java]     at java.security.AccessController.doPrivileged(Native Method)
    [java]     at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java :306)
    [java]     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)

    [java]     at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    [java]     at org.jboss.remoting.loading.RemotingClassLoader.loadClass (Remo
tingClassLoader.java:50)
    [java]     at org.jboss.remoting.loading.ObjectInputStreamWithClassLoader.r
esolveClass(ObjectInputStreamWithClassLoader.java:139)
    [java]     at java.io.ObjectInputStream.readNonProxyDesc (ObjectInputStream.
java:1575)
    [java]     at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.jav
a:1496)
    [java]     at java.io.ObjectInputStream.readArray(ObjectInputStream.java:16
24)
    [java]     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:
1323)
    [java]     at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream
java:1945)
    [java]     at java.io.ObjectInputStream.readSerialData (ObjectInputStream.ja
va:1869)
    [java]     at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStrea
m.java:1753)
    [java]     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:
1329) 
    [java]     at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream
java:1945)
    [java]     at java.io.ObjectInputStream.readSerialData(ObjectInputStream.ja
va:1869)
    [java]     at java.io.ObjectInputStream.readOrdinaryObject (ObjectInputStrea
m.java:1753)
    [java]     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:
1329)
    [java]     at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream
java:1945) 
    [java]     at java.io.ObjectInputStream.readSerialData(ObjectInputStream.ja
va:1869)
    [java]     at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStrea
m.java:1753)
    [java]     at java.io.ObjectInputStream.readObject0 (ObjectInputStream.java:
1329)
    [java]     at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream
java:1945)
    [java]     at java.io.ObjectInputStream.readSerialData(ObjectInputStream.ja
va:1869) 
    [java]     at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStrea
m.java:1753)
    [java]     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:
1329)
    [java]     at java.io.ObjectInputStream.readObject (ObjectInputStream.java:3
51)
    [java]     at org.jboss.remoting.serialization.impl.java.JavaSerializationM
anager.receiveObject(JavaSerializationManager.java:128)
    [java]     at org.jboss.remoting.marshal.serializable.SerializableUnMarshal 
ler.read(SerializableUnMarshaller.java:66)
    [java]     at org.jboss.remoting.transport.socket.SocketClientInvoker.trans
port(SocketClientInvoker.java:279)
    [java]     at org.jboss.remoting.RemoteClientInvoker.invoke (RemoteClientInv
oker.java:143)
    [java]     at org.jboss.remoting.Client.invoke(Client.java:525)
    [java]     at org.jboss.remoting.Client.invoke(Client.java:488)
    [java]     at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke (Inv
okeRemoteInterceptor.java:55)
    [java]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInv
ocation.java:101)
    [java]     at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke (Cl
ientTxPropagationInterceptor.java:61)
    [java]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInv
ocation.java:101)
    [java]     at org.jboss.aspects.security.SecurityClientInterceptor.invoke (S
ecurityClientInterceptor.java:53)
    [java]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInv
ocation.java:101)
    [java]     at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInte 
rceptor.java:77)
    [java]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInv
ocation.java:101)
    [java]     at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(Stateles
sRemoteProxy.java :102)
    [java]     ... 2 more
    [java] Java Result: 1

BUILD SUCCESSFUL
Total time: 2 seconds




View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026970#4026970

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026970



More information about the jboss-user mailing list