Here's the setup I'm working with
Netbeans 5.5
S40 3rd Edition Feature Pack 2 SDK
Here's what's going on with our game: We have a canvas size title screen which is shown only once. With the original png file everything works fine. However, when trying to replace it with a new png file (using the same format, etc) strange things occur. We go into the main game from the front end, then, out of nowhere, the emulator crashes and I get one of those popups with the error message:
"S40_SDK_3rd_Edition_Feature_Pack_2_em.exe has encountered a problem and needs to close. We are sorry for the inconvenience."
And I'm forced to reboot. However, if I'm quick enough and collect an item, which should bring up an overlay with the points earned, I get this series of error messages:
FATAL ERROR - Applet 17
Method............: 119d0cd0 'java/lang/String.<init> (virtual)'
Stack Chunk.......: 13fc6c7c
Frame Pointer.....: 13fc6e70
Stack Pointer.....: 13fc6e88
Current IP........: 11c3a26f = 11c3a227 + offset 72
Previous Frame....: 13fc6e44
Previous IP.......: 11c3c74b (offset 108)
Frame size........: 4 (4 arguments, 0 local variables)
Argument[0].......: 141d8778
Argument[1].......: 141d8790
Argument[2].......: 20
Argument[3].......: 1
Method............: 119d1db4 'java/lang/Integer.toString (static)'
Stack Chunk.......: 13fc6c7c
Frame Pointer.....: 13fc6e44
Stack Pointer.....: 13fc6e60
Current IP........: 11c3c74b = 11c3c6df + offset 108
Previous Frame....: 13fc6e18
Previous IP.......: 11c3c79b (offset 6)
Frame size........: 5 (2 arguments, 3 local variables)
Argument[0].......: fffffffb
Argument[1].......: a
Local[2]..........: 141d8790
Local[3]..........: 0
Local[4]..........: 20
Operand[1]........: 141d8778
Method............: 119d1e54 'java/lang/Integer.toString (static)'
Stack Chunk.......: 13fc6c7c
Frame Pointer.....: 13fc6e18
Stack Pointer.....: 13fc6e30
Current IP........: 11c3c79b = 11c3c795 + offset 6
Previous Frame....: 13fc6dfc
Previous IP.......: 1b78795c (offset 4)
Frame size........: 1 (1 arguments, 0 local variables)
Argument[0].......: 5
Method............: 1b66fe0c 'World.renderHUDNumeral (static)'
Stack Chunk.......: 13fc6c7c
Frame Pointer.....: 13fc6dfc
Stack Pointer.....: 13fc6e14
Current IP........: 1b78795c = 1b787958 + offset 4
Previous Frame....: 13fc6dc0
Previous IP.......: 1b787a4b (offset 27)
Frame size........: 9 (6 arguments, 3 local variables)
Argument[0].......: 141d8840
Argument[1].......: 5
Argument[2].......: 78
Argument[3].......: 12
Argument[4].......: 0
Argument[5].......: 0
Local[6]..........: 0
Local[7]..........: 13fc6c7c
Local[8]..........: 13fc6dec
Method............: 1b66fe4c 'World.renderScoreChange (static)'
Stack Chunk.......: 13fc6c7c
Frame Pointer.....: 13fc6dc0
Stack Pointer.....: 13fc6dd8
Current IP........: 1b787a4b = 1b787a30 + offset 27
Previous Frame....: 13fc6da8
Previous IP.......: 1b795380 (offset 56)
Frame size........: 0 (0 arguments, 0 local variables)
Method............: 1b794df4 'PlayerPiece.addPoints (virtual)'
Stack Chunk.......: 13fc6c7c
Frame Pointer.....: 13fc6da8
Stack Pointer.....: 13fc6dc0
Current IP........: 1b795380 = 1b795348 + offset 56
Previous Frame....: 13fc6d7c
Previous IP.......: 1b7953e2 (offset 18)
Frame size........: 5 (4 arguments, 1 local variables)
Argument[0].......: 141fa338
Argument[1].......: 5
Argument[2].......: 4
Argument[3].......: 6
Local[4]..........: 0
Method............: 1b794e14 'PlayerPiece.addCoin (virtual)'
Stack Chunk.......: 13fc6c7c
Frame Pointer.....: 13fc6d7c
Stack Pointer.....: 13fc6d94
Current IP........: 1b7953e2 = 1b7953d0 + offset 18
Previous Frame....: 13fc6d60
Previous IP.......: 1b66d256 (offset 102)
Frame size........: 1 (1 arguments, 0 local variables)
Argument[0].......: 141fa338
Method............: 1b66f68c 'World.checkPlayerPickups (static)'
Stack Chunk.......: 13fc6c7c
Frame Pointer.....: 13fc6d60
Stack Pointer.....: 13fc6d78
Current IP........: 1b66d256 = 1b66d1f0 + offset 102
Previous Frame....: 13fc6d40
Previous IP.......: 1b795691 (offset 265)
Frame size........: 2 (0 arguments, 2 local variables)
Local[0]..........: 0
Local[1]..........: 0
Method............: 1b794e74 'PlayerPiece.handleDoneMoving (virtual)'
Stack Chunk.......: 13fc6c7c
Frame Pointer.....: 13fc6d40
Stack Pointer.....: 13fc6d58
Current IP........: 1b795691 = 1b795588 + offset 265
Previous Frame....: 13fc6d1c
Previous IP.......: 1b795743 (offset 99)
Frame size........: 3 (1 arguments, 2 local variables)
Argument[0].......: 141fa338
Local[1]..........: 1
Local[2]..........: 1b791664
Method............: 1b794e94 'PlayerPiece.cycle (virtual)'
Stack Chunk.......: 13fc6c7c
Frame Pointer.....: 13fc6d1c
Stack Pointer.....: 13fc6d34
Current IP........: 1b795743 = 1b7956e0 + offset 99
Previous Frame....: 13fc6cf8
Previous IP.......: 1b576ee9 (offset 313)
Frame size........: 3 (3 arguments, 0 local variables)
Argument[0].......: 141fa338
Argument[1].......: 17
Argument[2].......: 0
Method............: 1b6702ac 'World.cycle (virtual)'
Stack Chunk.......: 13fc6c7c
Frame Pointer.....: 13fc6cf8
Stack Pointer.....: 13fc6d10
Current IP........: 1b576ee9 = 1b576db0 + offset 313
Previous Frame....: 13fc6cb4
Previous IP.......: 1b5a11f7 (offset 103)
Frame size........: 11 (5 arguments, 6 local variables)
Argument[0].......: 141fbb78
Argument[1].......: 17
Argument[2].......: 0
Argument[3].......: 159
Argument[4].......: 0
Local[5]..........: d
Local[6]..........: a
Local[7]..........: 1b5a11d4
Local[8]..........: 40ec58e7
Local[9]..........: 11e
Local[10]..........: feed5780
Method............: 1b77985c 'PlayCanvas.run (virtual)'
Stack Chunk.......: 13fc6c7c
Frame Pointer.....: 13fc6cb4
Stack Pointer.....: 13fc6ccc
Current IP........: 1b5a11f7 = 1b5a1190 + offset 103
Previous Frame....: 0
Previous IP.......: 1
Frame size........: 11 (1 arguments, 10 local variables)
Argument[0].......: 1401227c
Local[1]..........: 13fc6f64
Local[2]..........: 159
Local[3]..........: 0
Local[4]..........: 40ec58e7
Local[5]..........: 11e
Local[6]..........: 40ec58d0
Local[7]..........: 11e
Local[8]..........: 40ec58e7
Local[9]..........: 11e
Local[10]..........: 0
VM status:
Instruction pointer.: 11c3a26f (offset within invoking method: 72)
Next instruction....: 0xb1
Frame pointer.......: 13fc6e70
Local pointer.......: 13fc6e60
"Series 40 SDK 3rd Edition Feature Pack 2" Connection Terminated
BUILD SUCCESSFUL (total time: 25 seconds)
I've tried saving the png in multiple configurations but nothing seems to get rid of this problem. I've tried both deleting the png from memory and keeping it around but it makes no difference. It's very strange because according to the files they are exactly the same other than the actual image itself. Why a png that has nothing to do with the in game would cause problems I have no idea but I can't been able to find any more information. Is this a known issue or am I just out of luck?
Thank you. If you need any more information please let me know.
Joe

Reply With Quote


