You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
Not RuntimeException. Also within the method we shuold be able to know the state of the object even if it is a field if that state is introduced in this scope.
Actual behavior
StackTrace:
java.lang.RuntimeException:
Error while checking CtConstructorImpl
on ByteBufTest() {
at /Users/cgamboa/git/task-examples/liquidjava-tasks/src/main/java/com/example/so_clients/bytebuffer48582520/ByteBufTest.java:14
with
Error while checking CtBlockImpl
on {
at /Users/cgamboa/git/task-examples/liquidjava-tasks/src/main/java/com/example/so_clients/bytebuffer48582520/ByteBufTest.java:14
with
Error while checking CtLocalVariableImpl
on buf = mDirectBuffer.array();
at /Users/cgamboa/git/task-examples/liquidjava-tasks/src/main/java/com/example/so_clients/bytebuffer48582520/ByteBufTest.java:20
with
Error while checking CtInvocationImpl
on mDirectBuffer.array();
at /Users/cgamboa/git/task-examples/liquidjava-tasks/src/main/java/com/example/so_clients/bytebuffer48582520/ByteBufTest.java:20
with Cannot invoke "liquidjava.processor.context.RefinedVariable.getType()" because "var" is null
at liquidjava.processor.refinement_checker.TypeChecker.scan (TypeChecker.java:78)
at spoon.reflect.visitor.CtScanner.scan (CtScanner.java:184)
Activity