获取以下异常org.apache.bcel.verifier.exc.AssertionViolatedException [英] Getting following exception org.apache.bcel.verifier.exc.AssertionViolatedException

查看:1000
本文介绍了获取以下异常org.apache.bcel.verifier.exc.AssertionViolatedException的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在执行java代码时遇到以下错误。这个错误是什么以及如何删除?我用Google搜索,大多数人都在讨论与bcel相关的错误。
任何人都可以将我带到相关网站并提供详细信息。感谢您的时间。

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)


推荐答案

当BCEl尝试验证字节码修改并失败时,抛出此异常。
您显然正在使用BCEL修改Java编译器生成的字节码(自己或通过某种工具)。
如果您自己与BCEL合作,您应该能够弄清楚您在做什么以及为什么会这样做。
如果它是一个工具,找出哪一个并报告错误。典型的候选人是代码覆盖工具,编码严重的AOP或一些疯狂的研究工具。

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.

这篇关于获取以下异常org.apache.bcel.verifier.exc.AssertionViolatedException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆