diff --git a/src/org/jetbrains/java/decompiler/modules/decompiler/FinallyProcessor.java b/src/org/jetbrains/java/decompiler/modules/decompiler/FinallyProcessor.java index 0e41f4efd..4ba7de579 100644 --- a/src/org/jetbrains/java/decompiler/modules/decompiler/FinallyProcessor.java +++ b/src/org/jetbrains/java/decompiler/modules/decompiler/FinallyProcessor.java @@ -155,6 +155,11 @@ private Record getFinallyInformation(StructClass cl, StructMethod mt, RootStatem BasicBlockStatement firstBlockStatement = fstat.getHandler().getBasichead(); BasicBlock firstBasicBlock = firstBlockStatement.getBlock(); + + if (firstBasicBlock.getSeq().isEmpty()) { + return null; + } + Instruction instrFirst = firstBasicBlock.getInstruction(0); int firstcode = 0;