Reputation: 1553
I am getting following error while executing my java code. What is this error and how it can be removed? I googled and mostly people have talked bugs related to bcel. Can anyone direct me to the relevant website with details. Thanks for your time.
Exception in thread "main" org.apache.bcel.verifier.exc.AssertionViolatedException:
FOUND:
INTERNAL ERROR: Oops!
Exiting!!
at org.apache.bcel.verifier.exc.AssertionViolatedException.main(AssertionViolatedException.java:102)
Upvotes: 0
Views: 12466
Reputation: 44
Right click on java program, select Run As and > "Java Application".
Upvotes: 0
Reputation: 2295
This exception is thrown when BCEl tries to verify bytecode modifications and fails. You are clearly doing something (either yourself or through some tool) that uses BCEL to modify the bytecode your Java compiler produces. If you are working with BCEL yourself, you should be able to figure out what you are doing and why this breaks. If it's a tool, figure out which one and report a bug. Typical candidates are things like code coverage tools, badly coded AOP stuff or some crazy research tool.
Upvotes: 2