wei-spring / codenameone

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

ios.newVM: exception.getMessage() is null (with own created exception at least) #1275

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I created my own AppException. When throwing that exception with a message and 
catching it (with try/catch), ex.getMessage() is null. 

I can see this behavior only in the newVM of iOS, android is going well as well 
as the oldVM.

What steps will reproduce the problem?
1. Make your own 'AppException'
2. Throw an exception with a message.
3. In the try, get the message with ex.getMessage()

What is the expected output? What do you see instead?
The expected output is the thrown message.

What version of the product are you using? On what operating system?
Linux, Netbeans 8, latest SVN (revision 1997), latest plugin.

Please provide any additional information below.
I added a file with the source I used. When clicking on the button, the 
exception is thrown (I'm sorry there is also some AutoCompleteTextField test in 
the source, but it's all about the last button).

Original issue reported on code.google.com by iolar...@gmail.com on 11 Jan 2015 at 5:51

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by st...@weblite.ca on 28 Jan 2015 at 12:50

GoogleCodeExporter commented 9 years ago
Can't reproduce this issue. See my test case.  If you can modify my test case 
to reproduce the issue, I'll reopen the issue.

Original comment by steve.ha...@codenameone.com on 3 Feb 2015 at 8:37

Attachments: