View Single Post
Posts: 306 | Thanked: 603 times | Joined on Jan 2012 @ Belgium
#522
Originally Posted by hoa2ngminh View Post
I want to play the game "Di tim trieu phu" (Milionaire), but could not. I can not help. Thank's
The game produces a null pointer exception in the millionaire
constructor.

After some significant testing, I found out that the game tries to
play a midi file. I correctly executes the Manager.createPlayer()
passing along a reference to the midi file.

Since on N900, I have not implemented midi support, I throw a
media exception like the JSR 135 spec specifies. However, the
game catches and ignores this exception and assumes the midi
player has been initialized whereas in fact it is null.

So this is a bug in the application.

Davy
 

The Following User Says Thank You to DavyP For This Useful Post: