Titanium JIRA Archive
Appcelerator Community (AC)

[AC-3997] Android application crashes - ddms

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2016-07-16T08:56:14.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterIgor Stojanovic
AssigneeShak Hossain
Created2016-07-01T21:57:54.000+0000
Updated2016-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

Comments

  1. Aminul Islam 2016-07-11

    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

JSON Source