[QFJ-836] new quickfix.fix44.NewOrderSingle fail Created: 13/Apr/15  Updated: 14/Apr/15  Resolved: 14/Apr/15

Status: Closed
Project: QuickFIX/J
Component/s: Engine
Affects Version/s: 1.6.0
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Cédric Jeanroy Assignee: Unassigned
Resolution: Duplicate Votes: 1
Labels: None
Environment:

JRE 1.7 and 1.8


Issue Links:
Duplicate
duplicates QFJ-832 Multi-Version support is busted in 1.6.0 Closed

 Description   

With quickfixj 1.6.0 when I do :

quickfix.fix44.NewOrderSingle o = new quickfix.fix44.NewOrderSingle();

I get the following error :

Exception in thread "main" java.lang.VerifyError: Bad type on operand stack
Exception Details:
Location:
quickfix/fix44/NewOrderSingle.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:

Unknown macro: { 'quickfix/fix44/NewOrderSingle', 'quickfix/field/SettlType' }


stack:

Bytecode:
0000000: 2a2b b600 3057 2bb0

I foundd that there is two quickfix.field.SettlType class :
One in quickfixj-core which extends StringField
One in quickfixj-messages-fix44 which extends CharField


Generated at Mon May 06 18:22:28 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.