Skip to content

Crashing about ClassCastException #30

Open

Description

@canliture

According to README Examples, I have tried to run a IDEal example inference.example.Main, but it crashed, and the output was:

java.lang.ClassCastException: boomerang.scene.jimple.JimpleVal cannot be cast to boomerang.scene.AllocVal
	at boomerang.WeightedBoomerang.forwardSolve(WeightedBoomerang.java:1176)
        ...

here

var = ((AllocVal) query.var()).getDelegate();

I changed it to

var = query.var();

and there is no the crash.

Activity

  1. struce2 commented on Jan 12, 2023

    @struce2

    the same problem...

  2. johspaeth commented on Jan 12, 2023

    @johspaeth
    Member

    @struce2 can you please prepare a PR with the fix? I am happy to check it then.

  3. struce2 commented on Jan 12, 2023

    @struce2

    @struce2 can you please prepare a PR with the fix? I am happy to check it then.

    i will try to fix it, but i dot known if it's correct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions