Home Features Docs Blog Support GitHub

Local Variable Mismatch


(Sachin) #1

Im using bunch of custom JAVA Jars and custom APIs that my common module refers to.
Im trying to run my application on IOS using MOE and hoping that MOE is capable of preserving all my custom API calls to jars made from Common module.
I’m getting this compile time error.

EXCEPTION FROM SIMULATION:
local variable type mismatch: attempt to set or access a value of type java.lang.Object using a local variable of type boolean. This is symptomatic of .class transformation tools that ignore local variable information.
...at bytecode offset 0000001c
locals[0000]: Lcom/custom/core/a/j;
locals[0001]: Ljava/lang/String;
locals[0002]: Ljava/lang/String;
locals[0003]: Ljava/lang/String;
locals[0004]: Ljava/lang/String;
locals[0005]: J
locals[0006]: <invalid>
locals[0007]: Ljava/io/OutputStream;
locals[0008]: I
locals[0009]: Ljava/lang/String;
locals[000a]: Ljava/lang/String;
locals[000b]: Ljava/lang/String;
locals[000c]: Ljava/lang/String;
locals[000d]: I
locals[000e]: I
stack[0007]: Lcom/custom/core/a/j;
stack[0006]: Ljava/lang/String;
stack[0005]: Ljava/lang/String;
stack[0004]: Ljava/lang/String;
stack[0003]: Ljava/lang/String;
stack[0002]: Ljava/io/OutputStream;
stack[0001]: Ljava/lang/String;
stack[top0]: Ljava/lang/String;
...while working on block 0010
...while working on method sendFileDirect:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;JLjava/io/OutputStream;ZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZI)V
...while processing sendFileDirect (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;JLjava/io/OutputStream;ZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZI)V
...while processing com/customjarHere/module/a/j.class