frida-java-bridge
frida-java-bridge copied to clipboard
#35 re-occurs
Like the situation metioned in #35, when I am calling the origin function inside my function, a TypeError occurs. Here is the error report: {'type': 'error', 'description': "TypeError: undefined not callable (property 'art::mirror::Object::Clone' of [object Object])", 'stack': "TypeError: undefined not callable (property 'art::mirror::Object::Clone' of [object Object])\n at [anon] (duk_js_call.c:2847)\n at E (frida/node_modules/frida-java/lib/android.js:729)\n at resolveArtTargetMethodId (frida/node_modules/frida-java/lib/class-factory.js:1632)\n at input:1\n at [anon] (script1.js:61)\n at input:1", 'fileName': 'java.js', 'lineNumber': 2731, 'columnNumber': 1}
also meet this issue, here is my error: {u'columnNumber': 1, u'description': u"TypeError: undefined not callable (property 'art::mirror::Object::Clone' of [object Object])", u'fileName': u'java.js', u'lineNumber': 2738, u'type': u'error', u'stack': u"TypeError: undefined not callable (property 'art::mirror::Object::Clone' of [object Object])\n at [anon] (duk_js_call.c:2847)\n at E (frida/node_modules/frida-java/lib/android.js:729)\n at resolveArtTargetMethodId (frida/node_modules/frida-java/lib/class-factory.js:1651)\n at input:1\n at [anon] (script1.js:12)\n at input:1"}
I ran into the same error:
{'type': 'error', 'description': "TypeError: undefined not callable (property 'art::mirror::Object::Clone' of [object Object])", 'stack': "TypeError: undefined not callable (property 'art::mirror::Object::Clone' of [object Object])\n at [anon] (duk_js_call.c:2847)\n at E (frida/node_modules/frida-java/lib/android.js:729)\n at resolveArtTargetMethodId (frida/node_modules/frida-java/lib/class-factory.js:1632)\n at input:1\n at script1.js:78\n at input:1", 'fileName': 'java.js', 'lineNumber': 2731, 'columnNumber': 1}
This appears when trying to call the original method on emulator with android 5.0, but doesn't appear on real device with android 8.0
My code:
class3.setIsClickable.overload("boolean").implementation = function (bool) {
this.setIsClickable.overload("boolean").call(this, bool);
}
or
class3.setIsClickable.implementation = function (bool) {
this.setIsClickable(bool);
}
The same issue. Using CyanogenMod Android 5.0.2, no emulators
{u'columnNumber': 1, u'description': u"TypeError: undefined not callable (property 'art::mirror::Object::Clone' of [object Object])", u'fileName': u'/_java.js', u'lineNumber': 2741, u'type': u'error', u'stack': u"TypeError: undefined not callable (property 'art::mirror::Object::Clone' of [object Object])\n at [anon] (duk_js_call.c:2870)\n at E (frida/node_modules/frida-java/lib/android.js:729)\n at resolveArtTargetMethodId (frida/node_modules/frida-java/lib/class-factory.js:1651)\n at input:1\n at input:1"}
I found same issue after installed "Xposed Framework v90-beta3" with Magisk。 Try remove Xposed Framework (or some framewrok based on it ) and reboot. Good luck.
I found same issue after installed "Xposed Framework v90-beta3" with Magisk。 Try remove Xposed Framework (or some framewrok based on it ) and reboot. Good luck.
Thanks a lot