[jboss-user] [J2EE Design Patterns] - issue with java.lang.reflect.Proxy

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


Hello,

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


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=4026967#4026967

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



More information about the jboss-user mailing list