Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24207] Android: ImageView crash

GitHub Issuen/a
TypeBug
PriorityHigh
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 6.0.0, Release 5.3.0, Release 5.5.1
Fix Version/sn/a
Componentsn/a
Labelsandroid, engReviewed
ReporterIvan Skugor
AssigneeJoshua Quick
Created2016-12-10T16:36:44.000+0000
Updated2019-08-15T20:16:27.000+0000

Description

Hi. I'm experiencing random crashes on Android devices. It's hard to reproduce issue and create test app because it happens randomly, but here are crash logs:
12-10 16:32:00.844: E/AndroidRuntime(10491): java.lang.NullPointerException
12-10 16:32:00.844: E/AndroidRuntime(10491): 	at android.view.ViewConfiguration.get(ViewConfiguration.java:333)
12-10 16:32:00.844: E/AndroidRuntime(10491): 	at android.view.View.<init>(View.java:3571)
12-10 16:32:00.844: E/AndroidRuntime(10491): 	at android.view.ViewGroup.<init>(ViewGroup.java:469)
12-10 16:32:00.844: E/AndroidRuntime(10491): 	at ti.modules.titanium.ui.widget.TiImageView.<init>(TiImageView.java:70)
12-10 16:32:00.844: E/AndroidRuntime(10491): 	at ti.modules.titanium.ui.widget.TiImageView.<init>(TiImageView.java:160)
12-10 16:32:00.844: E/AndroidRuntime(10491): 	at ti.modules.titanium.ui.widget.TiUIImageView.<init>(TiUIImageView.java:95)
12-10 16:32:00.844: E/AndroidRuntime(10491): 	at ti.modules.titanium.ui.ImageViewProxy.createView(ImageViewProxy.java:43)
12-10 16:32:00.844: E/AndroidRuntime(10491): 	at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:493)
12-10 16:32:00.844: E/AndroidRuntime(10491): 	at org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:235)
12-10 16:32:00.844: E/AndroidRuntime(10491): 	at android.os.Handler.dispatchMessage(Handler.java:98)
12-10 16:32:00.844: E/AndroidRuntime(10491): 	at android.os.Looper.loop(Looper.java:146)
12-10 16:32:00.844: E/AndroidRuntime(10491): 	at android.app.ActivityThread.main(ActivityThread.java:5602)
12-10 16:32:00.844: E/AndroidRuntime(10491): 	at java.lang.reflect.Method.invokeNative(Native Method)
12-10 16:32:00.844: E/AndroidRuntime(10491): 	at java.lang.reflect.Method.invoke(Method.java:515)
12-10 16:32:00.844: E/AndroidRuntime(10491): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
12-10 16:32:00.844: E/AndroidRuntime(10491): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
12-10 16:32:00.844: E/AndroidRuntime(10491): 	at dalvik.system.NativeStart.main(Native Method)
12-10 16:32:01.164: E/android.os.Debug(574): !@Dumpstate > sdumpstate -k -t -z -d -o /data/log/dumpstate_app_error
I did some research, it seems issue does not happen on TiSDK 5.1.1.GA, but happens on 5.3.0.GA, 5.5.1.GA and 6.0.0.GA. If you need more info, please let me know. Thanks.

Comments

No comments

JSON Source