frida-java-bridge icon indicating copy to clipboard operation
frida-java-bridge copied to clipboard

#35 re-occurs

Open hyrathon opened this issue 5 years ago • 5 comments

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}

hyrathon avatar Jul 17 '18 03:07 hyrathon

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"}

cylee0909 avatar Aug 12 '18 03:08 cylee0909

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);
        }

vellrya avatar Aug 13 '18 05:08 vellrya

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"}

AsenOsen avatar Sep 14 '18 09:09 AsenOsen

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.

irever avatar Jun 06 '19 02:06 irever

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

hyrathon avatar Jun 06 '19 02:06 hyrathon