XposedBridge
XposedBridge copied to clipboard
Stack overflow
Hi, I'm trying to edit "Droidmon" xposed module, and inject my api calls (for example calling simple base64 encode method) but I get these errors in the logcat that involves XposedBridge, and it goes on and on for 90,000 lines...
I/Xposed ( 1347): java.lang.StackOverflowError
I/Xposed ( 1347): at java.lang.Throwable.printStackTrace(Throwable.java:320)
I/Xposed ( 1347): at java.lang.Throwable.printStackTrace(Throwable.java:305)
I/Xposed ( 1347): at android.util.Log.getStackTraceString(Log.java:319)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.log(XposedBridge.java:491)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:647)
I/Xposed ( 1347): at android.util.Base64.encode(Native Method)
I/Xposed ( 1347): at android.util.Base64.encode(Base64.java:494)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
I/Xposed ( 1347): at android.util.Base64.encode(Native Method)
I/Xposed ( 1347): at com.cuckoodroid.droidmon.MethodHookImpl.afterHookedMethod(MethodHookImpl.java:53)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
I/Xposed ( 1347): at java.io.FileOutputStream.write(Native Method)
I/Xposed ( 1347): at java.io.OutputStreamWriter.flushBytes(OutputStreamWriter.java:167)
I/Xposed ( 1347): at java.io.OutputStreamWriter.convert(OutputStreamWriter.java:181)
I/Xposed ( 1347): at java.io.OutputStreamWriter.write(OutputStreamWriter.java:266)
I/Xposed ( 1347): at java.io.PrintWriter.doWrite(PrintWriter.java:623)
I/Xposed ( 1347): at java.io.PrintWriter.write(PrintWriter.java:601)
I/Xposed ( 1347): at java.io.PrintWriter.write(PrintWriter.java:579)
I/Xposed ( 1347): at java.io.PrintWriter.write(PrintWriter.java:660)
I/Xposed ( 1347): at java.io.PrintWriter.append(PrintWriter.java:722)
I/Xposed ( 1347): at java.io.PrintWriter.append(PrintWriter.java:691)
I/Xposed ( 1347): at java.io.PrintWriter.append(PrintWriter.java:31)
I/Xposed ( 1347): at java.lang.Throwable.printStackTrace(Throwable.java:328)
I/Xposed ( 1347): at java.lang.Throwable.printStackTrace(Throwable.java:305)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.log(XposedBridge.java:493)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:647)
I/Xposed ( 1347): at java.io.FileOutputStream.write(Native Method)
I/Xposed ( 1347): at java.io.OutputStreamWriter.flushBytes(OutputStreamWriter.java:167)
I/Xposed ( 1347): at java.io.OutputStreamWriter.convert(OutputStreamWriter.java:181)
I/Xposed ( 1347): at java.io.OutputStreamWriter.write(OutputStreamWriter.java:266)
I/Xposed ( 1347): at java.io.PrintWriter.doWrite(PrintWriter.java:623)
I/Xposed ( 1347): at java.io.PrintWriter.write(PrintWriter.java:601)
I/Xposed ( 1347): at java.io.PrintWriter.write(PrintWriter.java:579)
I/Xposed ( 1347): at java.io.PrintWriter.write(PrintWriter.java:660)
I/Xposed ( 1347): at java.io.PrintWriter.append(PrintWriter.java:722)
I/Xposed ( 1347): at java.io.PrintWriter.append(PrintWriter.java:691)
I/Xposed ( 1347): at java.io.PrintWriter.append(PrintWriter.java:31)
I/Xposed ( 1347): at java.lang.Throwable.printStackTrace(Throwable.java:328)
I/Xposed ( 1347): at java.lang.Throwable.printStackTrace(Throwable.java:305)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.log(XposedBridge.java:493)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:647)
I/Xposed ( 1347): at android.util.Base64.encode(Native Method)
I/Xposed ( 1347): at android.util.Base64.encode(Base64.java:494)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
I/Xposed ( 1347): at android.util.Base64.encode(Native Method)
I/Xposed ( 1347): at com.cuckoodroid.droidmon.MethodHookImpl.afterHookedMethod(MethodHookImpl.java:53)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
I/Xposed ( 1347): at android.util.Base64.encode(Native Method)
I/Xposed ( 1347): at android.util.Base64.encode(Base64.java:494)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
I/Xposed ( 1347): at android.util.Base64.encode(Native Method)
I/Xposed ( 1347): at com.cuckoodroid.droidmon.MethodHookImpl.afterHookedMethod(MethodHookImpl.java:53)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
I/Xposed ( 1347): at java.io.FileOutputStream.write(Native Method)
I/Xposed ( 1347): at java.io.OutputStreamWriter.flushBytes(OutputStreamWriter.java:167)
I/Xposed ( 1347): at java.io.OutputStreamWriter.convert(OutputStreamWriter.java:181)
I/Xposed ( 1347): at java.io.OutputStreamWriter.write(OutputStreamWriter.java:266)
I/Xposed ( 1347): at java.io.PrintWriter.doWrite(PrintWriter.java:623)
I/Xposed ( 1347): at java.io.PrintWriter.write(PrintWriter.java:601)
I/Xposed ( 1347): at java.io.PrintWriter.write(PrintWriter.java:579)
I/Xposed ( 1347): at java.io.PrintWriter.write(PrintWriter.java:660)
I/Xposed ( 1347): at java.io.PrintWriter.append(PrintWriter.java:7
I/dalvikvm( 1347): threadid=11: stack overflow on call to Ljava/nio/Buffer;.
Does anyone know what should I do? Thank you!