[QFJ-760] NullPointerException in Message.parseGroup Created: 22/Nov/13 Updated: 02/Apr/15 Resolved: 29/Nov/13 |
|
Status: | Closed |
Project: | QuickFIX/J |
Component/s: | Engine |
Affects Version/s: | 1.5.3 |
Fix Version/s: | 1.6.0 |
Type: | Bug | Priority: | Default |
Reporter: | Christoph John | Assignee: | Christoph John |
Resolution: | Fixed | Votes: | 0 |
Labels: | None |
Description |
problem java.lang.NullPointerException At that position in the code the result of extractField is NULL. This happens on parsing the message because the position counter is greater than the length of the message. Line 758 in Message.java: if (position >= messageData.length()) { return null; }This is expected in some cases when parsing groups. |
Comments |
Comment by Christoph John [ 29/Nov/13 ] |
Committed as rev 1120 http://sourceforge.net/p/quickfixj/code/1120/ |