Hi,

I had a midlet that was playing some synthesized sp-midi files properly on S40 devices and older. However, when it comes to S60 devide, the same midlet fails by giving a prefetch error. So, the application works well on older devices, but fails to work on the new ones. The error code is -20 (not sure what it means).

Here is the exception.

Please help..

JVMJNCK038E JNI error in FromReflectedMethod: Argument #2 (0x2E2BEDFC) is not a valid object reference. It's type is: unknown

JVMJNCK080E Error detected in the outermost frame of an attached thread

JVMJNCK023E JNI error detected. Continuing...
javax.microedition.media.MediaException: Prefetch error: -20
at com.nokia.microedition.media.PlayerImpl.doPrefetch(PlayerImpl.java:211)
at com.nokia.microedition.media.SourcePlayer.doPrefetch(SourcePlayer.java:92)
at com.nokia.microedition.media.PlayerBase.prefetch(PlayerBase.java:161)
at com.nalme.ragadarshi.MidiPlayer.<init>(Unknown Source)
at com.nalme.ragadarshi.Raga.playMIDI(Unknown Source)
at com.nalme.ragadarshi.RagaList$2.commandAction(Unknown Source)
at javax.microedition.lcdui.Displayable.callCommandAction(Displayable.java:164)
at javax.microedition.lcdui.Displayable.commandEvent(Displayable.java:137)
at javax.microedition.lcdui.Displayable.handleEvent(Displayable.java:179)
at javax.microedition.lcdui.List.handleEvent(List.java:356)
at javax.microedition.lcdui.Toolkit.handleDisplayableEvent(Toolkit.java:536)
at com.symbian.lcdjava.lang.SystemExtensions._dispatchCallbacks(Native Method)
at com.symbian.lcdjava.lang.SystemExtensions.dispatchCallbacks(SystemExtensions.java:35)
at com.symbian.midp.runtime.KVMEventProcessor.run(KVMEventProcessor.java:23)
javax.microedition.media.MediaException: Prefetch error: -20
at com.nokia.microedition.media.PlayerImpl.doPrefetch(PlayerImpl.java:211)
at com.nokia.microedition.media.SourcePlayer.doPrefetch(SourcePlayer.java:92)
at com.nokia.microedition.media.PlayerBase.prefetch(PlayerBase.java:161)
at com.nokia.microedition.media.PlayerImpl.start(PlayerImpl.java:247)
at com.nalme.ragadarshi.MidiPlayer.start(Unknown Source)
at com.nalme.ragadarshi.Raga.playMIDI(Unknown Source)
at com.nalme.ragadarshi.RagaList$2.commandAction(Unknown Source)
at javax.microedition.lcdui.Displayable.callCommandAction(Displayable.java:164)
at javax.microedition.lcdui.Displayable.commandEvent(Displayable.java:137)
at javax.microedition.lcdui.Displayable.handleEvent(Displayable.java:179)
at javax.microedition.lcdui.List.handleEvent(List.java:356)
at javax.microedition.lcdui.Toolkit.handleDisplayableEvent(Toolkit.java:536)
at com.symbian.lcdjava.lang.SystemExtensions._dispatchCallbacks(Native Method)
at com.symbian.lcdjava.lang.SystemExtensions.dispatchCallbacks(SystemExtensions.java:35)
at com.symbian.midp.runtime.KVMEventProcessor.run(KVMEventProcessor.java:23)