File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 3738
    
  16
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
 
 
subject: I need to write a code for an MP3 encoder using jav