您的位置:首页 > 编程语言 > Java开发

javassist3.17.0-GA, 3.17.1-GA.jar包bug,java.lang.VerifyError: Inconsistent args count operand in invo

2016-06-08 15:42 1056 查看
异常信息:

_frame(@177)
same_frame(@180)
same_frame(@198)
same_locals_1_stack_item_frame(@201,Object[#57])
same_frame(@213)

at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2499)
at java.lang.Class.getField0(Class.java:2804)
at java.lang.Class.getField(Class.java:1582)
at com.alibaba.dubbo.common.bytecode.Wrapper.makeWrapper(Wrapper.java:348)

0000020: 049f 0006 a700 1319 0519 0403 32c0 0063
0000030: b900 6602 0001 b012 682c b600 6199 0009
0000040: 2dbe 049f 0006 a700 1319 0519 0403 32c0
0000050: 0063 b900 6a02 0001 b012 6c2c b600 6199
0000060: 0009 2dbe 049f 0006 a700 1219 0519 0403
0000070: 32c0 005e b900 6f02 00b0 1271 2cb6 0061
0000080: 9900 092d be05 9f00 06a7 0019 1905 1904
0000090: 0332 c000 7319 0404 32c0 0021 b900 7603
00000a0: 00b0 1278 2cb6 0061 9900 092d be04 9f00
00000b0: 06a7 0015 1905 1904 0332 c000 7ab6 007e
00000c0: b900 8103 00b0 a700 0f3a 07bb 0083 5919
00000d0: 0
case by java.lang.VerifyError: Inconsistent args count operand in invokeinterface in method

common.bytecode.Wrapper.makeWrapper(Wrapper.java:363)
at com.alibaba.dubbo.common.bytecode.Wrapper.getWrapper(Wrapper.java:89)
at com.alibaba.dubbo.config.ServiceConfig.doExportUrlsFor1Protocol(ServiceConfig.java:426)
at com.alibaba.dubbo.config.ServiceConfig.doExportUrls(ServiceConfig.java:281)
at com.alibaba.dubbo.config.ServiceConfig.doExport(ServiceConfig.java:242)
at com.alibaba.dubbo.config.ServiceConfig.export(ServiceConfig.java:143)
at com.alibaba.dubbo.config.spring.ServiceBean.onApplicationEvent(ServiceBean.java:109)
at org.springframework.context.event.SimpleApplicat


分析:

网上查找资料发现是javassist3.17.0-GA, 3.17.1-GA.jar版本有bug,目前3.18.0-GA版本已经修复

解决方案:

换成3.18.0-GA版本的jar
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息