java.lang.ClassCastException: spoon.support.reflect.code.CtTryImpl cannot be cast to spoon.reflect.code.CtStatementList

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

    • java.lang.ClassCastException: spoon.support.reflect.code.CtTryImpl cannot be cast to spoon.reflect.code.CtStatementList at spoon.support.reflect.code.CtStatementImpl.replace(CtStatementImpl.java:50) at spoon.support.reflect.code.CtStatementImpl.replace(CtStatementImpl.java:275) at spoon.support.reflect.code.CtBlockImpl.replace(CtBlockImpl.java:217)
    No Bugmate found.