I often encounter this error afterwhich, the decompile process is halted and remaining classes not decompiled. Anyone knows how to fix or ignore problematic class?
Traceback (most recent call last):
File "decompile.py", line 130, in
decompileClass(path, targets, args.out, args.dis)
File "decompile.py", line 64, in decompileClass
source = deco.generateSource()
File "C:\Krakatau\Krakatau\java\javaclass.py", line 71, in generateSource
method_defs = map(self._getMethod, self.methods)
File "C:\Krakatau\Krakatau\java\javaclass.py", line 49, in _getMethod
code_ast = MethodDecompiler(method, graph).generateAST()
File "C:\Krakatau\Krakatau\java\javamethod.py", line 731, in generateAST
blocks, entryBlock, handlerInfos = preprocess.structureCFG(blocks, blocks[0])
File "C:\Krakatau\Krakatau\java\preprocess.py", line 481, in structureCFG
handlerInfos = fixTryBlocks(blocks, root)
File "C:\Krakatau\Krakatau\java\preprocess.py", line 448, in fixTryBlocks
error('Exception handlers do not form forest')
File "C:\Krakatau\Krakatau\java\preprocess.py", line 15, in error
raise DecompilationError(msg)
Krakatau.java.preprocess.DecompilationError: Exception handlers do not form forest
I often encounter this error afterwhich, the decompile process is halted and remaining classes not decompiled. Anyone knows how to fix or ignore problematic class?
Traceback (most recent call last): File "decompile.py", line 130, in
decompileClass(path, targets, args.out, args.dis)
File "decompile.py", line 64, in decompileClass
source = deco.generateSource()
File "C:\Krakatau\Krakatau\java\javaclass.py", line 71, in generateSource
method_defs = map(self._getMethod, self.methods)
File "C:\Krakatau\Krakatau\java\javaclass.py", line 49, in _getMethod
code_ast = MethodDecompiler(method, graph).generateAST()
File "C:\Krakatau\Krakatau\java\javamethod.py", line 731, in generateAST
blocks, entryBlock, handlerInfos = preprocess.structureCFG(blocks, blocks[0])
File "C:\Krakatau\Krakatau\java\preprocess.py", line 481, in structureCFG
handlerInfos = fixTryBlocks(blocks, root)
File "C:\Krakatau\Krakatau\java\preprocess.py", line 448, in fixTryBlocks
error('Exception handlers do not form forest')
File "C:\Krakatau\Krakatau\java\preprocess.py", line 15, in error
raise DecompilationError(msg)
Krakatau.java.preprocess.DecompilationError: Exception handlers do not form forest