File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
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: 294

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
 
Consider Paul's rocket mass heater.
 
subject: error sending contents in 2D ByteArray over LAN using Java IDL