[QFJ-332] Session sendToTarget(Message message, SessionID sessionID) throws NullPointerException Created: 11/Aug/08 Updated: 06/Oct/08 Resolved: 10/Sep/08 |
|
Status: | Closed |
Project: | QuickFIX/J |
Component/s: | Engine |
Affects Version/s: | 1.3.1 |
Fix Version/s: | 1.3.3 |
Type: | Bug | Priority: | Default |
Reporter: | Charlie Zhang | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Environment: |
WindowsXP with Java 1.6 |
Description |
Here is the excerpt from our application: try { the sessionID was set to null due to some reason and we got a NullPointerException java.lang.NullPointerException But in the sendToTaget method: public static boolean sendToTarget(Message message, SessionID sessionID) should the message.setSessionID(sessionID) line be put into the else block? |