When ever I moved from one form to another form the application close and I got the error"Application close unfortunately" and got below error in log file "java.lang.NullPointerException: Attempt to invoke virtual method 'void com.codename1.impl.android.InPlaceEditView$EditView.switchToTextArea(com.codename1.ui.TextArea)' on a null object reference" can you help me to solve this problem? Thanks in advance
Asked
Active
Viewed 55 times
0
-
https://stackoverflow.com/questions/2707322/what-is-null-in-java – Milney Jul 11 '17 at 13:17
-
Possible duplicate of [What is null in Java?](https://stackoverflow.com/questions/2707322/what-is-null-in-java) – Milney Jul 11 '17 at 13:17
1 Answers
1
Connect your device with a cable and look at the logcat/DDMS output. Provide us with the exact stack trace of the error in the issue tracker.

Shai Almog
- 51,749
- 5
- 35
- 65
-
did same think got below error "java.lang.NullPointerException: Attempt to invoke virtual method 'void com.codename1.impl.android.InPlaceEditView$EditView.switchToTextArea(com.codename1.ui.TextArea)" – Shekhar Jadhav Jul 12 '17 at 04:39
-
Without the stack trace this is useless. Connect the device with a cable and use DDMS or logcat to produce a stack trace of the error – Shai Almog Jul 13 '17 at 04:24