diff --git a/dex-translator/src/main/java/com/googlecode/d2j/converter/J2IRConverter.java b/dex-translator/src/main/java/com/googlecode/d2j/converter/J2IRConverter.java index 76ea2ba1..40d3a58a 100644 --- a/dex-translator/src/main/java/com/googlecode/d2j/converter/J2IRConverter.java +++ b/dex-translator/src/main/java/com/googlecode/d2j/converter/J2IRConverter.java @@ -84,7 +84,7 @@ public class J2IRConverter { if (methodNode.tryCatchBlocks != null) { for (TryCatchBlockNode tcb : methodNode.tryCatchBlocks) { target.traps.add(new Trap(getLabel(tcb.start), getLabel(tcb.end), new LabelStmt[]{getLabel(tcb.handler)}, - new String[]{tcb.type})); + new String[]{tcb.type == null ? null : Type.getObjectType(tcb.type).getDescriptor()})); int handlerIdx = insnList.indexOf(tcb.handler); handlers.set(handlerIdx);