Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12380] Android: KS crashes on binary data test

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionDuplicate
Resolution Date2013-01-22T23:47:22.000+0000
Affected Version/sRelease 3.0.2, Release 3.1.0
Fix Version/sn/a
ComponentsAndroid
Labelsregression
ReporterAllen Yeung
AssigneeIngo Muschenetz
Created2013-01-22T22:10:00.000+0000
Updated2017-03-23T22:51:24.000+0000

Description

Reproduction Steps: 1. In KS, go to Platform > XHR > Binary Data 2. Observe crash This is a regression and it crashes with the following error:
E/TiApplication( 5749): (main) [283418,414273] Sending event: exception on thread: main msg:java.lang.NullPointerException; Titanium 3.0.2,2013/01/22 13:57,0a00b09
E/TiApplication( 5749): java.lang.NullPointerException
E/TiApplication( 5749): 	at ti.modules.titanium.ui.widget.TiUIImageView.propertyChanged(TiUIImageView.java:921)
E/TiApplication( 5749): 	at org.appcelerator.kroll.KrollPropertyChange.fireEvent(KrollPropertyChange.java:21)
E/TiApplication( 5749): 	at org.appcelerator.kroll.KrollProxy.handleMessage(KrollProxy.java:870)
E/TiApplication( 5749): 	at org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:310)
E/TiApplication( 5749): 	at android.os.Handler.dispatchMessage(Handler.java:95)
E/TiApplication( 5749): 	at android.os.Looper.loop(Looper.java:130)
E/TiApplication( 5749): 	at android.app.ActivityThread.main(ActivityThread.java:3691)
E/TiApplication( 5749): 	at java.lang.reflect.Method.invokeNative(Native Method)
E/TiApplication( 5749): 	at java.lang.reflect.Method.invoke(Method.java:507)
E/TiApplication( 5749): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:907)
E/TiApplication( 5749): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:665)
E/TiApplication( 5749): 	at dalvik.system.NativeStart.main(Native Method)
I/ActivityManager( 2693): Displayed com.appcelerator.kitchensink/org.appcelerator.titanium.TiActivity: +400ms
W/WindowManager( 2693): Window Window{4097e3b0 com.appcelerator.kitchensink/org.appcelerator.titanium.TiActivity paused=false} destroyed surface Surface(name=com.appcelerator.kitchensink/org.appcelerator.titanium.TiActivity, identity=-1, mNativeSurface=0), session Session{40a45350 uid 10125}

Comments

  1. Ping Wang 2013-01-22

    Seems a duplicate of TIMOB-12362
  2. Lee Morris 2017-03-23

    Closing ticket as Duplicate with reference to the above comments.

JSON Source