{ "id": "170647", "key": "TIMOB-25700", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2017-12-19T09:28:43.000+0000", "priority": null, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2019-11-10T09:23:05.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [], "description": "Hi Axway's Appcelerator Team,\r\nKindly look at the below error , It seems to be a problem with Ti SDK, I will attach the sample project if you need\r\n\r\n{code:java}\r\n[[WARN] : linker: libti.resizeable.so: unused DT entry: type 0x6ffffffe arg 0x3e44\r\n[WARN] : linker: libti.resizeable.so: unused DT entry: type 0x6fffffff arg 0x3\r\n[WARN] : art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable\r\n[INFO] : TiRootActivity: (main) [0,0] checkpoint, on root activity create, savedInstanceState: null\r\n[ERROR] : TiExceptionHandler: (main) [87,87] ----- Titanium Javascript Runtime Error -----\r\n[ERROR] : TiExceptionHandler: (main) [0,87] - In ti.resizeable/bootstrap.js:20,45\r\n[ERROR] : TiExceptionHandler: (main) [0,87] - Message: Uncaught TypeError: Cannot set property 'invocationAPIs' of undefined\r\n[ERROR] : TiExceptionHandler: (main) [0,87] - Source: \tvar invocationAPIs = module.invocationAPIs = [];\r\n[INFO] : art: Background partial concurrent mark sweep GC freed 1331(141KB) AllocSpace objects, 0(0B) LOS objects, 39% free, 7MB/13MB, paused 6.614ms total 42.648ms\r\n[DEBUG] : OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true\r\n[DEBUG] : Atlas: Validating map...\r\n[ERROR] : V8Exception: Exception occurred at ti.resizeable/bootstrap.js:20: Uncaught TypeError: Cannot set property 'invocationAPIs' of undefined\r\n{code}\r\n", "attachment": [ { "id": "63889", "filename": "Full Console Log.pdf", "author": { "name": "simbu", "key": "simbu", "displayName": "Silambarasan Raman", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2018-01-04T05:23:03.000+0000", "size": 401925, "mimeType": "application/pdf" }, { "id": "63875", "filename": "Sample.zip", "author": { "name": "simbu", "key": "simbu", "displayName": "Silambarasan Raman", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2018-01-02T10:26:10.000+0000", "size": 944673, "mimeType": "application/zip" } ], "flagged": false, "summary": "Runtime error \" Uncaught TypeError: Cannot set property 'invocationAPIs' of undefined\" while i required the module(which is created by me) into my Android App Project", "creator": { "name": "simbu", "key": "simbu", "displayName": "Silambarasan Raman", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "simbu", "key": "simbu", "displayName": "Silambarasan Raman", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Axway Appcelerator Studio : build: 5.0.0.201712081732\r\nTi SDK : 7.0.0.GA\r\nUsed module : API Version 4, Developed with Ti SDK 7.0.0.GA \r\nAndroid NDK: android-ndk-r16b", "comment": { "comments": [ { "id": "432517", "author": { "name": "simbu", "key": "simbu", "displayName": "Silambarasan Raman", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Hi Team, \r\nAny updates? Waiting for your input\r\n", "updateAuthor": { "name": "simbu", "key": "simbu", "displayName": "Silambarasan Raman", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2017-12-22T09:13:34.000+0000", "updated": "2017-12-22T09:13:56.000+0000" }, { "id": "432526", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Please attach the sample project for us to test. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-12-22T23:25:08.000+0000", "updated": "2017-12-22T23:25:08.000+0000" }, { "id": "432626", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "[~simbu],\r\nAre you able to sorted this out? If not ,please provide a sample test project to reproduce the issue on our end?\r\n\r\nBest", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2018-01-02T10:03:25.000+0000", "updated": "2018-01-02T10:03:25.000+0000" }, { "id": "432628", "author": { "name": "simbu", "key": "simbu", "displayName": "Silambarasan Raman", "active": true, "timeZone": "Asia/Kolkata" }, "body": "@mrahman@axway.com\r\n@Mostafizur Rahman\r\n\r\n Yes still I'm facing the issue, I've attached the Sample project for reproduce the issue [^Sample.zip] ", "updateAuthor": { "name": "simbu", "key": "simbu", "displayName": "Silambarasan Raman", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2018-01-02T10:26:28.000+0000", "updated": "2018-01-02T10:28:37.000+0000" }, { "id": "432717", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello [~simbu],\r\nThanks for your feedback.Can you please test this on 7.0.1.GA and let us know if you get the same issue. Also share the console logs here.\r\n\r\nBest", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2018-01-04T05:12:27.000+0000", "updated": "2018-01-04T05:12:27.000+0000" }, { "id": "432718", "author": { "name": "simbu", "key": "simbu", "displayName": "Silambarasan Raman", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Hi @Mostafizur Rahman,\r\n\r\nYes , I've tried with the 7.0.1.GA and getting the same issue,\r\n\r\nConsole logs is\r\n\r\n{code:java}\r\n[INFO] : TiApplication: (main) [0,0] checkpoint, app created.\r\n[INFO] : TiApplication: (main) [76,76] Titanium 7.0.1 (2017/12/18 10:42 undefined)\r\n[INFO] : MultiDex: VM with version 2.1.0 has multidex support\r\n[INFO] : MultiDex: install\r\n[INFO] : MultiDex: VM has multidex support, MultiDex support library is disabled.\r\n[INFO] : TiApplication: (main) [118,194] Titanium Javascript runtime: v8\r\n[DEBUG] : ResizeableModule: (main) [17,211] inside onAppCreate\r\n[WARN] : linker: libkroll-v8.so: unused DT entry: type 0x6ffffffe arg 0x33a6c0\r\n[WARN] : linker: libkroll-v8.so: unused DT entry: type 0x6fffffff arg 0x3\r\n[WARN] : TiAndroid: (KrollRuntimeThread) [929,1140] Application instance no longer available. Unable to get current activity.\r\n[WARN] : TiAndroid: (KrollRuntimeThread) [1,1141] Application instance no longer available. Unable to get current activity.\r\n[WARN] : TiAndroid: (KrollRuntimeThread) [0,1141] Application instance no longer available. Unable to get current activity.\r\n[WARN] : linker: libti.resizeable.so: unused DT entry: type 0x6ffffffe arg 0x3cbc\r\n[WARN] : linker: libti.resizeable.so: unused DT entry: type 0x6fffffff arg 0x2\r\n[WARN] : art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable\r\n[INFO] : TiRootActivity: (main) [0,0] checkpoint, on root activity create, savedInstanceState: null\r\n[ERROR] : TiExceptionHandler: (main) [70,70] ----- Titanium Javascript Runtime Error -----\r\n[ERROR] : TiExceptionHandler: (main) [0,70] - In ti.resizeable/bootstrap.js:20,45\r\n[ERROR] : TiExceptionHandler: (main) [0,70] - Message: Uncaught TypeError: Cannot set property 'invocationAPIs' of undefined\r\n[ERROR] : TiExceptionHandler: (main) [0,70] - Source: \tvar invocationAPIs = module.invocationAPIs = [];\r\n[DEBUG] : OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true\r\n[DEBUG] : D/ : HostConnection::get() New Host Connection established 0xf3e38e60, tid 2047\r\n[DEBUG] : Atlas: Validating map...\r\n[ERROR] : V8Exception: Exception occurred at ti.resizeable/bootstrap.js:20: Uncaught TypeError: Cannot set property 'invocationAPIs' of undefined\r\n[INFO] : TiRootActivity: (main) [0,0] checkpoint, on root activity resume. activity = com.anubavam.sample.SampleActivity@1dfcef41\r\n[DEBUG] : libEGL: loaded /system/lib/egl/libEGL_emulation.so\r\n[DEBUG] : libEGL: loaded /system/lib/egl/libGLESv1_CM_emulation.so\r\n[DEBUG] : libEGL: loaded /system/lib/egl/libGLESv2_emulation.so\r\n[DEBUG] : D/ : HostConnection::get() New Host Connection established 0xeec39bd0, tid 2076\r\n[INFO] : OpenGLRenderer: Initialized EGL, version 1.4\r\n[DEBUG] : OpenGLRenderer: Enabling debug mode 0\r\n[WARN] : EGL_emulation: eglSurfaceAttrib not implemented\r\n[WARN] : OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xeec68980, error=EGL_SUCCESS\r\n[WARN] : EGL_emulation: eglSurfaceAttrib not implemented\r\n[WARN] : OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xeec689a0, error=EGL_SUCCESS\r\n[INFO] : Choreographer: Skipped 34 frames! The application may be doing too much work on its main thread.\r\n[TRACE] : updating tiapp metadata with Appcelerator Platform...\r\n[INFO] : APSAnalyticsService: Analytics Service Started\r\n[INFO] : APSAnalyticsService: Stopping Analytics Service\r\n[TRACE] : Uploaded tiapp metadata with Appcelerator Platform!\r\n[WARN] : TiVerify: (Timer-0) [5020,5020] Verifying module licenses...\r\n[INFO] : TiVerify: (Timer-0) [810,5830] Succesfully verified module licenses\r\n[INFO] : APSAnalyticsService: Analytics Service Started\r\n[INFO] : APSAnalyticsService: Stopping Analytics Service\r\n\r\n{code}\r\n Attached the Full console log for your perusal [^Full Console Log.pdf] ", "updateAuthor": { "name": "simbu", "key": "simbu", "displayName": "Silambarasan Raman", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2018-01-04T05:23:35.000+0000", "updated": "2018-01-04T05:23:35.000+0000" }, { "id": "433452", "author": { "name": "simbu", "key": "simbu", "displayName": "Silambarasan Raman", "active": true, "timeZone": "Asia/Kolkata" }, "body": "@mrahman@axway.com\r\n@Mostafizur Rahman Are you guys working on it?", "updateAuthor": { "name": "simbu", "key": "simbu", "displayName": "Silambarasan Raman", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2018-01-22T08:41:37.000+0000", "updated": "2018-01-22T08:41:37.000+0000" }, { "id": "434762", "author": { "name": "simbu", "key": "simbu", "displayName": "Silambarasan Raman", "active": true, "timeZone": "Asia/Kolkata" }, "body": "@mrahman@axway.com \r\n\r\nI have tried to create new module with 7.0.2.GA and getting the same error, Can you guys fix this as much as possible\r\n{code:java}\r\n[ERROR] : TiExceptionHandler: (main) [461,461] ----- Titanium Javascript Runtime Error -----\r\n[ERROR] : TiExceptionHandler: (main) [0,461] - In ti.resizeable/bootstrap.js:20,45\r\n[ERROR] : TiExceptionHandler: (main) [0,461] - Message: Uncaught TypeError: Cannot set property 'invocationAPIs' of undefined\r\n[ERROR] : TiExceptionHandler: (main) [0,461] - Source: \tvar invocationAPIs = module.invocationAPIs = [];\r\n[DEBUG] : OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true\r\n[DEBUG] : Atlas: Validating map...\r\n[ERROR] : V8Exception: Exception occurred at ti.resizeable/bootstrap.js:20: Uncaught TypeError: Cannot set property 'invocationAPIs' of undefined\r\n\r\n{code}\r\n", "updateAuthor": { "name": "simbu", "key": "simbu", "displayName": "Silambarasan Raman", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2018-02-22T11:53:00.000+0000", "updated": "2018-02-22T11:53:00.000+0000" }, { "id": "451759", "author": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "body": "I have the same issue with SDK 8.0.1.GA and a patch of `ti.map`. After\r\n\r\n`require('ti.map')`\r\n\r\nI see on console:\r\n\r\n\r\n{code}\r\n\r\n[ERROR] : TiExceptionHandler: (main) [133,363] ti.map/bootstrap.js:20\r\n[ERROR] : TiExceptionHandler: \tvar invocationAPIs = module.invocationAPIs = [];\r\n[ERROR] : TiExceptionHandler: ^\r\n[ERROR] : TiExceptionHandler: TypeError: Cannot set property 'invocationAPIs' of undefined\r\n[ERROR] : TiExceptionHandler: at Object.moduleBootstrap [as bootstrap] (ti.map/bootstrap.js:20:45)\r\n[ERROR] : TiExceptionHandler: at Module.loadExternalModule (ti:/module.js:199:31)\r\n[ERROR] : TiExceptionHandler: at Module.loadCoreModule (ti:/module.js:329:16)\r\n[ERROR] : TiExceptionHandler: at Module.require (ti:/module.js:244:16)\r\n{code}\r\n", "updateAuthor": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-10-02T11:45:23.000+0000", "updated": "2019-10-02T11:46:12.000+0000" }, { "id": "451761", "author": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "body": "Unpatched version works fine. In `MapModule.java` I have only added some constants … And I guess the modifications in proxies don't disturb the calling of `require('ti.map')`.\r\n", "updateAuthor": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-10-02T12:22:39.000+0000", "updated": "2019-10-02T12:22:39.000+0000" }, { "id": "452483", "author": { "name": "buddyguards", "key": "buddyguards", "displayName": "grebulon", "active": true, "timeZone": "Asia/Jerusalem" }, "body": "I also have this problem with ti.identity which I modified a little. The original version builds just fine, but if I change something, it breaks the same way as Reiner described.", "updateAuthor": { "name": "buddyguards", "key": "buddyguards", "displayName": "grebulon", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2019-11-06T11:19:54.000+0000", "updated": "2019-11-10T09:23:05.000+0000" } ], "maxResults": 12, "total": 12, "startAt": 0 } } }