Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

NullPointerException from LRMI/NIO getBindInetSocketAddress

While using 6.6.0 m1 I am seeing this error being written to the stderr from a client program doing writeMultiple. Not sure what it means. Any Ideas?

Aug 14, 2008 11:29:38 AM SEVERE [com.gigaspaces.lrmi]: LRMI transport protocol over NIO connection [NIO:///172.25.25.166:36659/262823780985668_6] caught unexpected exception: java.lang.NullPointerException java.lang.NullPointerException at com.gigaspaces.lrmi.nio.PAdapter.getBindInetSocketAddress(PAdapter.java:184) at com.gigaspaces.lrmi.BaseServerPeer.getConnectionURL(BaseServerPeer.java:96) at com.gigaspaces.lrmi.DynamicSmartStub.writeObject(DynamicSmartStub.java:457) at sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) at com.gigaspaces.lrmi.nio.RequestPacket.writeExternal(RequestPacket.java:155) at com.gigaspaces.lrmi.nio.Writer.writePacket(Writer.java:158) at com.gigaspaces.lrmi.nio.Writer.writeRequest(Writer.java:108) at com.gigaspaces.lrmi.nio.CPeer.invoke(CPeer.java:340) at com.gigaspaces.lrmi.ConnPoolInvocationHandler.invoke(ConnPoolInvocationHandler.java:64) at com.gigaspaces.lrmi.DynamicSmartStub.invokeRemote(DynamicSmartStub.java:357) at com.gigaspaces.lrmi.DynamicSmartStub.invoke(DynamicSmartStub.java:345) at $Proxy57.write(Unknown Source) at com.j_spaces.core.lrmi.LRMIRemoteSpaceImpl.write(LRMIRemoteSpaceImpl.java:188) at com.j_spaces.core.cluster.JSpaceClusteredProxy.performWriteMultipleOnServer(JSpaceClusteredProxy.java:3058) at com.j_spaces.core.cluster.JSpaceClusteredProxy.internalWriteMultiple(JSpaceClusteredProxy.java:3021) at com.j_spaces.core.cluster.JSpaceClusteredProxy.writeMultiple_main(JSpaceClusteredProxy.java:2902) at com.j_spaces.core.cluster.WriteMParallelExcecutionPacket.execute(WriteMParallelExcecutionPacket.java:58) at com.j_spaces.core.cluster.JSpaceClusteredProxy$ParallelProxyConsumer.dispatch(JSpaceClusteredProxy.java:451) at com.j_spaces.core.cluster.JSpaceClusteredProxy$ParallelProxyConsumer.dispatch(JSpaceClusteredProxy.java:425) at com.j_spaces.kernel.WorkingGroup$TaskWrapper.run(WorkingGroup.java:71) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619)

Larry

{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=2532]{quote}

asked 2008-08-14 13:38:26 -0500

larrychu gravatar image

updated 2013-08-08 09:52:00 -0500

jaissefsfex gravatar image
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

Is this reproducible?
Does it happen with every writeMultiple call?
I guess you have not seen this with 6.5.1?
Shay

answered 2008-08-14 15:37:02 -0500

shay hassidim gravatar image
edit flag offensive delete link more

Comments

Hi Shay,

I didn't mean to imply that it was limited to writeMultiple. In fact it
happens with write() calls. I believe it has to do with the way our
classes our generated. We are using CGLIB to generate certain classes.
My theory is that they need to be generated on the Space side first
before being sent across the wire from the client program. But I think
the cryptic error message maybe should be replaced with "NoClassDef" or
something similar. I'll let you know when I find out more.

Regards,
Larry

larrychu gravatar imagelarrychu ( 2008-08-15 11:59:52 -0500 )edit

I think we solved similar problem with the next 6.6 build. I'll check this and let you know. Shay

shay hassidim gravatar imageshay hassidim ( 2008-08-15 12:53:31 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2008-08-14 13:38:26 -0500

Seen: 43 times

Last updated: Aug 08 '13