Titanium Mobile
  1. Titanium Mobile
  2. TIMOB-11761

Anvil: Android: jsUrlActivity test fails due to timeout

    Details

      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.

        Activity

        Hide
        Ping Wang added a comment - - edited

        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));
        
        Show
        Ping Wang added a comment - - edited 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));
        Hide
        Ping Wang added a comment -

        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.

        Show
        Ping Wang added a comment - 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.
        Show
        Ping Wang added a comment - 3_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/3477
        Hide
        Natalie Huynh added a comment -

        Anvil runs with 3_0_X

        Show
        Natalie Huynh added a comment - Anvil runs with 3_0_X

          People

          • Assignee:
            Ping Wang
            Reporter:
            Allen Yeung
          • Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development