Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14511] Android: activity.actionBar.title crash on some skinned Android versions.

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionWon't Fix
Resolution Date2017-07-26T04:17:17.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsactionbar, android, holo
ReporterTijs Zwinkels
AssigneeEric Merriman
Created2013-07-07T10:57:05.000+0000
Updated2017-07-26T04:17:17.000+0000

Description

Comments

  1. Eduardo Gomez 2013-07-10

    Thanks for bring it up to our attention, Tijs Zwinkels. This issue was just moved to main project to dig into it.

    Tested on

    Android Emulator 4.0.3 with TiSDK 3.1.1.GA & 3.2 CI builds
       [WARN][dalvikvm(  720)] threadid=1: thread exiting with uncaught exception (group=0x409c01f8)
       [ERROR][TiApplication(  720)] (main) [316,316] Sending event: exception on thread: main msg:java.lang.NullPointerException; Titanium 3.1.1,2013/06/15 16:10,f7592c1
       [ERROR][TiApplication(  720)] java.lang.NullPointerException
       [ERROR][TiApplication(  720)] 	at org.appcelerator.titanium.proxy.ActionBarProxy.handleSetTitle(ActionBarProxy.java:154)
       [ERROR][TiApplication(  720)] 	at org.appcelerator.titanium.proxy.ActionBarProxy.handleMessage(ActionBarProxy.java:207)
       [ERROR][TiApplication(  720)] 	at android.os.Handler.dispatchMessage(Handler.java:95)
       [ERROR][TiApplication(  720)] 	at android.os.Looper.loop(Looper.java:137)
       [ERROR][TiApplication(  720)] 	at android.app.ActivityThread.main(ActivityThread.java:4424)
       [ERROR][TiApplication(  720)] 	at java.lang.reflect.Method.invokeNative(Native Method)
       [ERROR][TiApplication(  720)] 	at java.lang.reflect.Method.invoke(Method.java:511)
       [ERROR][TiApplication(  720)] 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
       [ERROR][TiApplication(  720)] 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
       [ERROR][TiApplication(  720)] 	at dalvik.system.NativeStart.main(Native Method)
       [ERROR][AndroidRuntime(  720)] FATAL EXCEPTION: main
       [ERROR][AndroidRuntime(  720)] java.lang.NullPointerException
       [ERROR][AndroidRuntime(  720)] 	at org.appcelerator.titanium.proxy.ActionBarProxy.handleSetTitle(ActionBarProxy.java:154)
       [ERROR][AndroidRuntime(  720)] 	at org.appcelerator.titanium.proxy.ActionBarProxy.handleMessage(ActionBarProxy.java:207)
       [ERROR][AndroidRuntime(  720)] 	at android.os.Handler.dispatchMessage(Handler.java:95)
       [ERROR][AndroidRuntime(  720)] 	at android.os.Looper.loop(Looper.java:137)
       [ERROR][AndroidRuntime(  720)] 	at android.app.ActivityThread.main(ActivityThread.java:4424)
       [ERROR][AndroidRuntime(  720)] 	at java.lang.reflect.Method.invokeNative(Native Method)
       [ERROR][AndroidRuntime(  720)] 	at java.lang.reflect.Method.invoke(Method.java:511)
       [ERROR][AndroidRuntime(  720)] 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
       [ERROR][AndroidRuntime(  720)] 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
       [ERROR][AndroidRuntime(  720)] 	at dalvik.system.NativeStart.main(Native Method)
       [WARN][ActivityManager(   87)]   Force finishing activity com.appc.test/.AtestActivity
       [WARN][WindowManager(   87)] Failure taking screenshot for (180x320) to layer 21015
       [INFO][Process (   87)] Sending signal. PID: 720 SIG: 3
       [INFO][dalvikvm(  720)] threadid=3: reacting to signal 3
       [INFO][dalvikvm(  720)] Wrote stack traces to '/data/anr/traces.txt'
       [WARN
       
  2. Lee Morris 2017-07-26

    Closing due to inactivity. If this issue still exists, please raise a new ticket.

JSON Source