[AC-3997] Android application crashes - ddms
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2016-07-16T08:56:14.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Igor Stojanovic |
Assignee | Shak Hossain |
Created | 2016-07-01T21:57:54.000+0000 |
Updated | 2016-07-16T08:56:14.000+0000 |
Description
Application crashes on android. I found those error messages by using DDMS:
the first one:
07-01 04:44:06.126: E/AndroidRuntime(7650): java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.ViewGroup$LayoutParams android.view.View.getLayoutParams()' on a null object reference
second one: 16:04:20.037: E/AndroidRuntime(2794): java.lang.NullPointerException: Attempt to invoke virtual method 'void org.appcelerator.titanium.view.TiUIView.registerForTouch()' on a null object reference
environment
Hi, Thanks for reaching out. Do you have some test case to demonstrate what you are trying? We can offer you to look into your code and help to identify errors. Regards, Aminul