my dog learned polymorphism*
The moose likes Distributed Java and the fly likes error sending contents in 2D ByteArray over LAN using Java IDL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "error sending contents in 2D ByteArray over LAN using Java IDL" Watch "error sending contents in 2D ByteArray over LAN using Java IDL" New topic
Author

error sending contents in 2D ByteArray over LAN using Java IDL

s ravi chandran
Ranch Hand

Joined: Dec 20, 2010
Posts: 178
hi
I am trying to send a 2D byte array with some string content over a LAN network, but I am getting certain errors. This code is working perfectly in the local system. I was able to successfully pass content using ByteArray, but with 2D ByteArray, some strange sequence is happening.. This is the IDL file:



the moment the client calls the server method, I get this error at client side:



and at the server side :



This is the code where NullPointer seems to be coming from:




Please help me debug the stacktrace.

Thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: error sending contents in 2D ByteArray over LAN using Java IDL