Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Concating byte arrays generates NullPointerException  RSS feed

 
john price
Ranch Hand
Posts: 495
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For some reason, line 3 of the below code generates an error. Why? How many I fix it?

Thanks,
John Price



EDIT - Here is the error output :
 
Rob Spoor
Sheriff
Posts: 20893
81
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Obviously either byteSong or byteMessage is null.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!