Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11761] Anvil: Android: jsUrlActivity test fails due to timeout

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2012-11-28T00:58:48.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sRelease 3.0.0, Release 3.1.0, 2012 Sprint 24, 2012 Sprint 24 API
ComponentsAndroid
Labelsregression, triage
ReporterAllen Yeung
AssigneePing Wang
Created2012-11-14T01:56:21.000+0000
Updated2012-12-04T00:13:59.000+0000

Description

This happens on the v8 and rhino run for many of the android version. Please reference https://wiki.appcelerator.org/display/pe/Android+Anvil+Results to see which versions. Test suite: android/android/android: Test case: jsActivityUrl This seems to be a regression.

Comments

  1. Ping Wang 2012-11-20

    jsUrlActivity only fails on 3.x and 4.x devices with the log:
       W/System.err(15467): java.lang.NullPointerException
       W/System.err(15467): 	at org.appcelerator.titanium.proxy.ActionBarProxy.getTitle(ActionBarProxy.java:90)
       W/System.err(15467): 	at org.appcelerator.kroll.runtime.v8.V8Function.nativeInvoke(Native Method)
       W/System.err(15467): 	at org.appcelerator.kroll.runtime.v8.V8Function.callSync(V8Function.java:57)
       W/System.err(15467): 	at org.appcelerator.kroll.runtime.v8.V8Function.call(V8Function.java:43)
       W/System.err(15467): 	at org.appcelerator.kroll.runtime.v8.V8Function$1.run(V8Function.java:70)
       W/System.err(15467): 	at android.os.Handler.handleCallback(Handler.java:587)
       W/System.err(15467): 	at android.os.Handler.dispatchMessage(Handler.java:92)
       W/System.err(15467): 	at android.os.Looper.loop(Looper.java:132)
       W/System.err(15467): 	at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:112)
       E/TiExceptionHandler(15467): (main) [51,51] ----- Titanium Javascript Runtime Error -----
       E/TiExceptionHandler(15467): (main) [0,51] - In suites/android/android/android.js:57,22
       E/TiExceptionHandler(15467): (main) [0,51] - Message: Uncaught Error: Java Exception occurred
       E/TiExceptionHandler(15467): (main) [1,52] - Source: 			Ti.API.debug(JSON.stringify(e));
       
  2. Ping Wang 2012-11-21

    PR: https://github.com/appcelerator/titanium_mobile/pull/3452 For FR, please run anvil->android/android/android->jsActivityUrl on both rhino and v8 on 2.x, 3.x and 4.x devices.
  3. Ping Wang 2012-11-27

    3_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/3477
  4. Natalie Huynh 2012-12-04

    Anvil runs with 3_0_X

JSON Source