[HAPI-devel] ClassCastException when casting down

2015-10-26 Thread Davies, Brian
Related to the previous issue, I get an exception when casting down to my object which extends the MFN_M01 message. I am extending MFN_M01 because this is specified in the message type field, so I'm unable to avoid it. I am using the v25 libraries and JDK1.7 Exception in thread "main" java.lang

[HAPI-devel] ClassCastException

2015-10-26 Thread Davies, Brian
I have the following 2 classes which seem to conform to the expected setup for a custom model. I stripped the jars referenced in the project to just the log4j and slf4j and the hapi-structures-v25-2.2.jar and hapi-base-2.2.jar. It is more or less the same code as in the examples. I tried doing t