[QFJ-401] Badly behaved counterparty sending FIX.5.0 as begin string causes exceptions Created: 03/Feb/09 Updated: 29/Apr/11 Resolved: 29/Apr/11 |
|
| Status: | Closed |
| Project: | QuickFIX/J |
| Component/s: | Engine |
| Affects Version/s: | 1.3.3 |
| Fix Version/s: | 1.5.1 |
| Type: | Bug | Priority: | Default |
| Reporter: | Jay Walters | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
The following context diff shows a patch which cleans up the issue by reducing the possibility of a null pointer.
+ MessageFactory messageFactory = session.getMessageFactory(); else { ! MessageFactory messageFactory = session.getMessageFactory(); quickfix.Message message = messageFactory.create(beginString, msgType); return message; — 120,130 ---- ! payloadDataDictionary = ddProvider.getApplicationDataDictionary(applVerID, quickfix.Message message = messageFactory.create(beginString, msgType); return message; |
| Comments |
| Comment by Jay Walters [ 03/Feb/09 ] |
|
A little bit more in a separate file to help with the same issue.
— 256,261 ---- ***************
|
| Comment by Eric Deshayes [ 29/Apr/11 ] |
|
This issue had already been fixed. |