[QFJ-842] ClassCastException Created: 30/Apr/15 Updated: 10/Oct/16 Resolved: 10/Oct/16 |
|
Status: | Closed |
Project: | QuickFIX/J |
Component/s: | Engine |
Affects Version/s: | 1.6.0 |
Fix Version/s: | None |
Type: | Bug | Priority: | Major |
Reporter: | Dotun Kola-Olaleye | Assignee: | Unassigned |
Resolution: | Incomplete | Votes: | 0 |
Labels: | 1.6.0, ClassCastException, QuickfixJ, Upgrade | ||
Environment: |
Windows Server 2012 64 bit |
Description |
I may be missing something, but I'm having to refactor my code that was written based on QuickFIXJJ-1.5.3. Previously, I would cast incoming quickfix.Message to specific message types e.g. quickfix.fix50.SecurityList or quickfix.fix50.ExecutionReport. But since I switched jar files to 1.6.0, attempts to cast to message types like quickfix.fix50sp1.SecurityList or quickfix.fix50sp1.ExecutionReport results in a ClassCastException. Now, I'm having to work directly with quickfix.Message. Any pointer is appreciated. Dotun. |
Comments |
Comment by Christoph John [ 30/Apr/15 ] |
That is not expected. Could you maybe add a simple test case? |