Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-25825

Android: JNIUtil error message on app launch

    Details

    • Type: Bug
    • Status: Closed
    • Priority: None
    • Resolution: Fixed
    • Affects Version/s: Release 7.1.0, Release 7.2.0
    • Fix Version/s: Release 7.1.0
    • Component/s: Android
    • Labels:
      None
    • Environment:

      SDK: 7.2.0.v20180228155339, 7.1.0.v20180228160738
      OnePlus 3 7.1.1

    • Story Points:
      3
    • Sprint:
      2018 Sprint 05 SDK

      Description

      Description

      When an app launches I'm seeing the below error logged to the console, it doesn't look to cause any issues to the app but it might give people a scare when upgrading to 7.1.0. From what I can tell it occurs on any app

      [ERROR] JNIUtil: Couldn't find Java field ID: proxySupport Lorg/appcelerator/kroll/KrollProxySupport;
      [WARN]  W/System.err: java.lang.NoSuchFieldError: no "Lorg/appcelerator/kroll/KrollProxySupport;" field "proxySupport" in class "Lorg/appcelerator/kroll/KrollObject;" or its superclasses
      [WARN]  W/System.err: 	at org.appcelerator.kroll.runtime.v8.V8Runtime.nativeInit(Native Method)
      [WARN]  W/System.err: 	at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:95)
      [WARN]  W/System.err: 	at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:207)
      [WARN]  W/System.err: 	at org.appcelerator.kroll.KrollRuntime.syncInit(KrollRuntime.java:363)
      [WARN]  W/System.err: 	at org.appcelerator.kroll.KrollRuntime.incrementActivityRefCount(KrollRuntime.java:386)
      [WARN]  W/System.err: 	at org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:614)
      [WARN]  W/System.err: 	at org.appcelerator.titanium.TiLaunchActivity.onCreate(TiLaunchActivity.java:175)
      [WARN]  W/System.err: 	at org.appcelerator.titanium.TiRootActivity.onCreate(TiRootActivity.java:160)
      [WARN]  W/System.err: 	at android.app.Activity.performCreate(Activity.java:6760)
      [WARN]  W/System.err: 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1134)
      [WARN]  W/System.err: 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2686)
      [WARN]  W/System.err: 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2819)
      [WARN]  W/System.err: 	at android.app.ActivityThread.-wrap12(ActivityThread.java)
      [WARN]  W/System.err: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1532)
      [WARN]  W/System.err: 	at android.os.Handler.dispatchMessage(Handler.java:102)
      [WARN]  W/System.err: 	at android.os.Looper.loop(Looper.java:154)
      [WARN]  W/System.err: 	at android.app.ActivityThread.main(ActivityThread.java:6321)
      [WARN]  W/System.err: 	at java.lang.reflect.Method.invoke(Native Method)
      [WARN]  W/System.err: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
      [WARN]  W/System.err: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
      [WARN]  TiApplication: (main) [78,78] Registering module with name already in use.
      

      Steps to reproduce

      1. Create a default app using appc new/ti create
      2. Build the app for Android

      Actual

      On app launch the error/warning log above is shown

      Expected

      No error/warning log

        Attachments

          Activity

            People

            • Assignee:
              gmathews Gary Mathews
              Reporter:
              eharris Ewan Harris
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-6219
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code