Hello guys, i'm doing a game for s60 n95 and i'm trying to play a simple midi in my game and i get follow JVM error:
JVMJNCK038E JNI error in FromReflectedMethod: Argument #2 (0x4133EDFC) 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...
Here is my piece of code to do that:
try {
InputStream in = getClass().getResourceAsStream("/music.mid");
Player player = ManagerImpl.getInstance().createPlayer(in, "audio/midi");
player.start();
} catch (Exception e) {
System.out.println("In Catch");
}
Can anybody help me?
Thx in advance.

Reply With Quote

