quickfixj消息工厂使用qf 1.6.0和java 1.8.0_45在操作数堆栈上生成错误类型

时间:2015-06-18 14:38:44

标签: quickfix quickfixj

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的情况下处理此错误?

2 个答案:

答案 0 :(得分:1)

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.

I solved the problem by returning to Quickfix 1.5.2

答案 1 :(得分:1)

我在1.6.0_1上遇到了同样的问题,并在1.6.4_1上解决了。