Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashing about ClassCastException #30

Open
canliture opened this issue Aug 28, 2021 · 3 comments
Open

Crashing about ClassCastException #30

canliture opened this issue Aug 28, 2021 · 3 comments

Comments

@canliture
Copy link

canliture commented Aug 28, 2021

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.

@struce2
Copy link

struce2 commented Jan 12, 2023

the same problem...

@johspaeth
Copy link
Member

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

@struce2
Copy link

struce2 commented Jan 12, 2023

@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

@struce2 struce2 mentioned this issue Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants