Titanium JIRA Archive
Appcelerator Community (AC)

[AC-6211] At titanium-firebase-analytics (Android 3.0.0) i have found the following bug:

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionNot Our Bug
Resolution Date2019-04-22T22:31:45.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsandroid
ReporterAndreas Pingas
AssigneeShak Hossain
Created2019-04-16T11:22:06.000+0000
Updated2019-04-22T22:31:45.000+0000

Description

ERROR] :  TiExceptionHandler: (main) [1594,8795] /app.js:375

[ERROR] :  TiExceptionHandler:       FirebaseAnalytics.log(’test’);

[ERROR] :  TiExceptionHandler:                         ^

[ERROR] :  TiExceptionHandler: Error: Failed resolution of: Lcom/google/android/gms/measurement/internal/zzbw;

[ERROR] :  TiExceptionHandler:     at Object.callback (/app.js:375:25)

[ERROR] :  TiExceptionHandler:     at TableViewRow.<anonymous> (/ui/templates/menu.js:121:7)

[ERROR] :  TiExceptionHandler:     at TableViewRow.value (ti:/events.js:50:21)

[ERROR] :  TiExceptionHandler:     at TableViewRow.value (ti:/events.js:102:19)

[ERROR] :  TiExceptionHandler:

[ERROR] :  TiExceptionHandler:     com.google.firebase.analytics.FirebaseAnalytics.getInstance(Unknown Source)

[ERROR] :  TiExceptionHandler:     firebase.analytics.TitaniumFirebaseAnalyticsModule.analyticsInstance(TitaniumFirebaseAnalyticsModule.java:37)

[ERROR] :  TiExceptionHandler:     firebase.analytics.TitaniumFirebaseAnalyticsModule.log(TitaniumFirebaseAnalyticsModule.java:46)

[ERROR] :  TiExceptionHandler:     org.appcelerator.kroll.runtime.v8.V8Object.nativeFireEvent(Native Method)

[ERROR] :  TiExceptionHandler:     org.appcelerator.kroll.runtime.v8.V8Object.fireEvent(V8Object.java:63)

[ERROR] :  TiExceptionHandler:     org.appcelerator.kroll.KrollProxy.doFireEvent(KrollProxy.java:978)

[ERROR] :  TiExceptionHandler:     org.appcelerator.kroll.KrollProxy.handleMessage(KrollProxy.java:1207)

[ERROR] :  TiExceptionHandler:     org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:265)

[ERROR] :  TiExceptionHandler:     ti.modules.titanium.ui.TableViewRowProxy.handleMessage(TableViewRowProxy.java:210)

[ERROR] :  TiExceptionHandler:     android.os.Handler.dispatchMessage(Handler.java:98)

[ERROR] :  V8Exception: Exception occurred at /app.js:375: Uncaught Error: Failed resolution of: Lcom/google/android/gms/measurement/internal/zzbw;

[ERROR] :  EGL_emulation: tid 3521: eglSurfaceAttrib(1174): error 0x3009 (EGL_BAD_MATCH)

Comments

  1. Andreas Pingas 2019-04-20

    https://github.com/hansemannn/titanium-firebase-analytics
       var PlayServices = require('ti.playservices');
       
       var FirebaseCore = require('firebase.core');
       
       var FirebaseAnalytics = require('firebase.analytics');
       
       var FirebaseCloudMessaging = require('firebase.cloudmessaging');
       
       FirebaseCore.configure();
       
       FirebaseAnalytics.log('test');
       
       [ERROR] :  TiExceptionHandler: (main) [3,34] /app.js:13
       [ERROR] :  TiExceptionHandler: FirebaseAnalytics.log('test');
       [ERROR] :  TiExceptionHandler:                   ^
       [ERROR] :  TiExceptionHandler: Error: Failed resolution of: Lcom/google/android/gms/measurement/internal/zzbw;
       [ERROR] :  TiExceptionHandler:     at /app.js:13:19
       [ERROR] :  TiExceptionHandler:     at Module._runScript (ti:/module.js:610:9)
       [ERROR] :  TiExceptionHandler:     at Module.load (ti:/module.js:106:7)
       [ERROR] :  TiExceptionHandler:     at Module.loadJavascriptText (ti:/module.js:455:9)
       [ERROR] :  TiExceptionHandler:     at Module.loadAsFile (ti:/module.js:510:15)
       [ERROR] :  TiExceptionHandler:     at Module.loadAsFileOrDirectory (ti:/module.js:427:20)
       [ERROR] :  TiExceptionHandler:     at Module.require (ti:/module.js:254:17)
       [ERROR] :  TiExceptionHandler:     at Module.global.Module.require (/ti.internal/extensions/binding.js:33:34)
       [ERROR] :  TiExceptionHandler:     at require (ti:/module.js:568:15)
       [ERROR] :  TiExceptionHandler:     at global.require (/ti.internal/extensions/binding.js:21:10)
       [ERROR] :  TiExceptionHandler:
       [ERROR] :  TiExceptionHandler:     com.google.firebase.analytics.FirebaseAnalytics.getInstance(Unknown Source)
       [ERROR] :  TiExceptionHandler:     firebase.analytics.TitaniumFirebaseAnalyticsModule.analyticsInstance(TitaniumFirebaseAnalyticsModule.java:37)
       [ERROR] :  TiExceptionHandler:     firebase.analytics.TitaniumFirebaseAnalyticsModule.log(TitaniumFirebaseAnalyticsModule.java:46)
       [ERROR] :  TiExceptionHandler:     org.appcelerator.kroll.runtime.v8.V8Runtime.nativeRunModule(Native Method)
       [ERROR] :  TiExceptionHandler:     org.appcelerator.kroll.runtime.v8.V8Runtime.doRunModule(V8Runtime.java:162)
       [ERROR] :  TiExceptionHandler:     org.appcelerator.kroll.KrollRuntime.runModule(KrollRuntime.java:207)
       [ERROR] :  TiExceptionHandler:     org.appcelerator.titanium.TiLaunchActivity.loadScript(TiLaunchActivity.java:99)
       [ERROR] :  TiExceptionHandler:     org.appcelerator.titanium.TiRootActivity.loadScript(TiRootActivity.java:414)
       [ERROR] :  TiExceptionHandler:     org.appcelerator.titanium.TiLaunchActivity.onResume(TiLaunchActivity.java:183)
       [ERROR] :  TiExceptionHandler:     org.appcelerator.titanium.TiRootActivity.onResume(TiRootActivity.java:432)
       
  2. Sharif AbuDarda 2019-04-22

    Hello [~andreas.pingas], This seems to be issue with the third party module used in the app. I would recommend contacting their support. Thanks.

JSON Source