quickfixj消息工厂使用qf 1.6.0和java 1.8.0_45在操作数堆栈上生成错误类型 [英] quickfixj message factory produces bad type on operand stack using qf 1.6.0 and java 1.8.0_45

查看:120
本文介绍了quickfixj消息工厂使用qf 1.6.0和java 1.8.0_45在操作数堆栈上生成错误类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Jun 18, 2015 3:26:12 PM quickfix.mina.AbstractIoHandler exceptionCaught
SEVERE: java.lang.VerifyError: Bad type on operand stack
Exception Details:
  Location:
    quickfix/fix44/Quote.get(Lquickfix/field/SettlType;)Lquickfix/field/SettlType; @2: invokevirtual
  Reason:
    Type 'quickfix/field/SettlType' (current frame, stack[1]) is not assignable to 'quickfix/CharField'
  Current Frame:
    bci: @2
    flags: { }
    locals: { 'quickfix/fix44/Quote', 'quickfix/field/SettlType' }
    stack: { 'quickfix/fix44/Quote', 'quickfix/field/SettlType' }
  Bytecode:
    0x0000000: 2a2b b600 8257 2bb0                    

是否可以在不重建quickFIXJ的情况下处理此错误?

Is there a way to handle this error without rebuilding quickFIXJ?

推荐答案

在quickfix邮件列表中,

In the quickfix mailing lists, it says that this is a currently unresolved problem with the 1.6.0-SNAPSHOT version of QF/J. Maybe we will treat all fields with different data types throughout the FIX versions simply as StringField in any case. But this has not been finalized yet.

我通过返回Quickfix 1.5.2解决了这个问题

I solved the problem by returning to Quickfix 1.5.2

这篇关于quickfixj消息工厂使用qf 1.6.0和java 1.8.0_45在操作数堆栈上生成错误类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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