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

异常信息:

_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

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值