[TIMOB-25700] 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
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Silambarasan Raman |
Assignee | Unknown |
Created | 2017-12-19T09:28:43.000+0000 |
Updated | 2019-11-10T09:23:05.000+0000 |
Description
Hi Axway's Appcelerator Team,
Kindly look at the below error , It seems to be a problem with Ti SDK, I will attach the sample project if you need
[[WARN] : linker: libti.resizeable.so: unused DT entry: type 0x6ffffffe arg 0x3e44
[WARN] : linker: libti.resizeable.so: unused DT entry: type 0x6fffffff arg 0x3
[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
[INFO] : TiRootActivity: (main) [0,0] checkpoint, on root activity create, savedInstanceState: null
[ERROR] : TiExceptionHandler: (main) [87,87] ----- Titanium Javascript Runtime Error -----
[ERROR] : TiExceptionHandler: (main) [0,87] - In ti.resizeable/bootstrap.js:20,45
[ERROR] : TiExceptionHandler: (main) [0,87] - Message: Uncaught TypeError: Cannot set property 'invocationAPIs' of undefined
[ERROR] : TiExceptionHandler: (main) [0,87] - Source: var invocationAPIs = module.invocationAPIs = [];
[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
[DEBUG] : OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
[DEBUG] : Atlas: Validating map...
[ERROR] : V8Exception: Exception occurred at ti.resizeable/bootstrap.js:20: Uncaught TypeError: Cannot set property 'invocationAPIs' of undefined
Attachments
File | Date | Size |
---|---|---|
Full Console Log.pdf | 2018-01-04T05:23:03.000+0000 | 401925 |
Sample.zip | 2018-01-02T10:26:10.000+0000 | 944673 |
Hi Team, Any updates? Waiting for your input
Hello, Please attach the sample project for us to test. Thanks.
[~simbu], Are you able to sorted this out? If not ,please provide a sample test project to reproduce the issue on our end? Best
@mrahman@axway.com @Mostafizur Rahman Yes still I'm facing the issue, I've attached the Sample project for reproduce the issue [^Sample.zip]
Hello [~simbu], Thanks 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. Best
Hi @Mostafizur Rahman, Yes , I've tried with the 7.0.1.GA and getting the same issue, Console logs is
Attached the Full console log for your perusal [^Full Console Log.pdf]
@mrahman@axway.com @Mostafizur Rahman Are you guys working on it?
@mrahman@axway.com I 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
I have the same issue with SDK 8.0.1.GA and a patch of
ti.map
. Afterrequire('ti.map')
I see on console: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 ofrequire('ti.map')
.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.