Details
-
Type: Bug
-
Status: Closed
-
Priority: Default
-
Resolution: Not a bug
-
Affects Version/s: 1.5.3
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
The following exception is created when parsing the message: quickfix.FieldException: Tag appears more than once, field=279
The code:
String strMessage =
"8=FIX.4.2|9=196|35=X|49=A|56=B|34=12|52=20100318-03:21:11.364|262=A|268=2|279=0|269=0|278=BID|55=EUR/USD|270=1.37215|15=EUR|271=2500000|346=1|279=0|269=1|278=OFFER|55=EUR/USD|270=1.37224|15=EUR|271=2503200|346=1|10=171|"
.replace('|', (char)1);
Message message = MessageUtils.parse(new DefaultMessageFactory(), null, strMessage);