Skip to content

Disassemble NPE #40

@Naton1

Description

@Naton1

catchType can be null to catch all exceptions (finally blocks) according to the asm docs

java.lang.NullPointerException: Parameter specified as non-null is null: method com.roscopeco.jasm.JasmDisassemblingVisitor$JasmDisassemblingMethodVisitor.visitTryCatchBlock, parameter type
	at com.roscopeco.jasm.JasmDisassemblingVisitor$JasmDisassemblingMethodVisitor.visitTryCatchBlock(JasmDisassemblingVisitor.kt)
	at org.objectweb.asm.ClassReader.readCode(ClassReader.java:1857)
	at org.objectweb.asm.ClassReader.readMethod(ClassReader.java:1514)
	at org.objectweb.asm.ClassReader.accept(ClassReader.java:744)
	at org.objectweb.asm.ClassReader.accept(ClassReader.java:424)
	at com.roscopeco.jasm.JasmDisassembler.disassemble(JasmDisassembler.kt:42)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions