wei-spring / codenameone

Automatically exported from code.google.com/p/codenameone
0 stars 0 forks source link

On j2me phone entering * key for symbol table causes null pointer exception #410

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Please clearly state whether the issue relates to a device/the simulator or
the tools.

Real device

If related to a device be sure to specify exactly which device with as much
details as possible.

Nokia C2-01 phone.

What steps will reproduce the problem?
1. Have a textField with ANY or EMAIL constraint.
2. Then when you try to enter a symbol using the * key in j2me phone, it causes 
null pointer exception.
3.

What is the expected output? What do you see instead?

The symbol table should be shown. Instead we see a null pointer exception.

What version of the product are you using? On what operating system?

codename one plugin 1.0.24

Please provide any additional information below.

Video showing the problem is attached.

Original issue reported on code.google.com by nir...@nvsoft.com on 29 Nov 2012 at 2:44

Attachments:

GoogleCodeExporter commented 9 years ago
Weird, I looked at the code and don't see anything that changed there for ages.

Original comment by shai.almog on 29 Nov 2012 at 3:11

GoogleCodeExporter commented 9 years ago
I tried to run the jar file on J2ME simulator and there also it is causing null 
pointer exception on * key. I have pasted the console output from the WTK 
toolkit.

/Applications/Java_ME_SDK_3.0.app/Contents/Resources/bin/emulator 
-Xdevice:DefaultCldcPhone1 
-Xdescriptor:/Users/nirmal/tmp/cn1-gen-src/j2me/result/S2PayApp.jar

Installing suite from: http://127.0.0.1:50457/S2PayApp.jar
java.lang.NullPointerException:   0
 - bz.a(), bci=69
 - bz.a(), bci=4
 - bz.M(), bci=73
 - bz.aA(), bci=2
 - bz.a(), bci=198
 - bz.a(), bci=11
 - bz.a(), bci=9
 - bz.a(), bci=7
 - bz.a(), bci=7
 - cz.bv(), bci=32
 - cz.a(), bci=548
 - cz.keyReleased(), bci=51
 - ce.keyReleased(), bci=61
 - ca.c(), bci=110
 - ca.aG(), bci=131
 - ca.aF(), bci=243
 - cr.run(), bci=242
 - n.run(), bci=4

It seems the problem in happening in a method of Dialog class. I have attached 
the built app's jar/jad file and obfuscation_mapping file for your reference.

Original comment by nir...@nvsoft.com on 1 Dec 2012 at 10:32

Attachments:

GoogleCodeExporter commented 9 years ago
thanks it is now fixed in the repository, will be available in the next server 
update

Original comment by cf27...@gmail.com on 2 Dec 2012 at 1:36