This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Beginning Java and the fly likes I need to write a code for an MP3 encoder using jav Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "I need to write a code for an MP3 encoder using jav" Watch "I need to write a code for an MP3 encoder using jav" New topic
Author

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

Nigsti Berhanu
Greenhorn

Joined: Nov 23, 2007
Posts: 2
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

Joined: Aug 05, 2005
Posts: 3487
    
  13
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.


Joanne
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: I need to write a code for an MP3 encoder using jav