HELP

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

HELP

mikab
when I user ActiveMQ(Ver 4.02) to send ObjectMessage on internet,some exception throwed Accidentally.If anybody could tell me how to Solves the problem ? btw , my application runs on tomcat 5.0.28 to send  ObjectMessage to application runs on websphere 5.1.1. this exception is throwed on websphere .
thanks!
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R java.lang.NullPointerException
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at com.ibm.ws.classloader.SinglePathClassProvider.getRealResourcePath(SinglePathClassProvider.java(Compiled Code))
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at com.ibm.ws.classloader.SinglePathClassProvider$1.run(SinglePathClassProvider.java(Compiled Code))
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Inlined Compiled Code))
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at com.ibm.ws.classloader.SinglePathClassProvider.getClassBytesFromDir(SinglePathClassProvider.java(Inlined Compiled Code))
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at com.ibm.ws.classloader.SinglePathClassProvider.getClassBytes(SinglePathClassProvider.java(Inlined Compiled Code))
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled Code))
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at org.apache.activemq.util.ClassLoading.load(ClassLoading.java:111)
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at org.apache.activemq.util.ClassLoading.loadClass(ClassLoading.java:50)
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at org.apache.activemq.command.ActiveMQObjectMessage$ObjectInputStreamExt.load(ActiveMQObjectMessage.java:219)
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at org.apache.activemq.command.ActiveMQObjectMessage$ObjectInputStreamExt.resolveClass(ActiveMQObjectMessage.java:201)
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1543)
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1465)
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1590)
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1301)
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at java.io.ObjectInputStream.readObject(ObjectInputStream.java:354)
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at java.util.HashMap.readObject(HashMap.java:1084)
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946)
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1775)
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1676)
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1304)
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1874)
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1798)
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1676)
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1304)
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1874)
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1798)
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1676)
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1304)
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at java.io.ObjectInputStream.readObject(ObjectInputStream.java:354)
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at org.apache.activemq.command.ActiveMQObjectMessage.getObject(ActiveMQObjectMessage.java:166)
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at cn.com.sinosoft.cdc.exchange.impl.activemq.MQListenerServlet$MQMessageListener.onMessage(MQListenerServlet.java:211)
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at org.apache.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQMessageConsumer.java:795)
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at org.apache.activemq.ActiveMQSessionExecutor.dispatch(ActiveMQSessionExecutor.java:96)
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at org.apache.activemq.ActiveMQSessionExecutor.iterate(ActiveMQSessionExecutor.java:149)
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:110)
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at org.apache.activemq.thread.PooledTaskRunner.access$100(PooledTaskRunner.java:25)
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:43)
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java(Compiled Code))
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java(Compiled Code))
[06-12-11 15:20:49:656 CST] 58e5998e SystemErr     R at java.lang.Thread.run(Thread.java:568)