Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

s ravi chandran
Ranch Hand
Posts: 571
Java jQuery
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!