Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I need to write a code for an MP3 encoder using jav

 
Nigsti Berhanu
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But when i tried to use the LAME encoder (LAMEOnJ_0.9.1.1) it compilles successfully.But when i run it it says "Exception in thread
"main java.lang.ArrayIndexOutOfBoundsException: 0" can any one solve my problem?The code is as follows.Hope to hear your solutions soon.

Regards!



EDIT by mw: Added Code Tags.

[ November 23, 2007: Message edited by: marc weber ]
 
Joanne Neal
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The error message should also show you on which line of the code the problem is happening.
You are trying to access the first element of a zero length array.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic