[QFJ-772] NPE in DataDictionary::isTrailerField Created: 06/Feb/14 Updated: 02/Apr/15 Resolved: 19/Mar/14 |
|
Status: | Closed |
Project: | QuickFIX/J |
Component/s: | None |
Affects Version/s: | 1.5.3 |
Fix Version/s: | 1.6.0 |
Type: | Bug | Priority: | Default |
Reporter: | Krzysztof Szalast | Assignee: | Christoph John |
Resolution: | Fixed | Votes: | 0 |
Labels: | NullPointerException | ||
Environment: |
All |
Description |
In class DataDictionary: if expression "messageFields.get(TRAILER_ID)" returns null - NPE will be thrown. I suggest to write this method just like isHeaderField method. public boolean isTrailerField(int field) { return messageFields.get(TRAILER_ID).contains(field); |
Comments |
Comment by Christoph John [ 19/Mar/14 ] |