[QFJ-451] Hops Repeating Group in Message Header causing nullpointerException Created: 01/Jul/09  Updated: 15/Nov/12  Resolved: 20/Jul/09

Status: Closed
Project: QuickFIX/J
Component/s: Engine
Affects Version/s: 1.4.0
Fix Version/s: 1.5.0

Type: Bug Priority: Default
Reporter: Gustavo Jacob Assignee: Laurent Danesi
Resolution: Fixed Votes: 0
Labels: None
Environment:

Windows XP



 Description   

Hi,

While trying to parse a message with a repeating group on the header
627 (NoHops) =2
628 (HopCompID) =_TED02A
629 (HopSendingTime) =20090701-11:45:29.597
628 (HopCompID) =_GWSURV
629 (HopSendingTime) =20090701-11:50:31.284

I'm receiving the following error on my events log:

20090701-13:23:56: Error during message processing
java.lang.NullPointerException
at quickfix.DataDictionary.iterate(DataDictionary.java:624)
at quickfix.DataDictionary.validate(DataDictionary.java:589)
at quickfix.Session.next(Session.java:778)
at quickfix.mina.ThreadPerSessionEventHandlingStrategy$MessageDispatchingThread.run(ThreadPerSessionEventHandlingStrategy.java:85)

The repeating group is defined in the dictionary, and i'm aso trating other repeating groups (not on the header) with no issue.

Thanks



 Comments   
Comment by Laurent Danesi [ 20/Jul/09 ]

Hi,

I attached the patch for your version to the issue and it will be committed for the next release.

Laurent

Comment by Gustavo Jacob [ 20/Jul/09 ]

Laurent,

Sorry but i'm new to JIRA, and i couldn't find here u have attached the file

Thanks

Generated at Thu May 02 18:09:45 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.