Re: [HAPI-devel] no luck with cast

2013-04-17 Thread hscully
Hi James, Thanks, that’s it! Hugh From: James Agnew Sent: Tuesday, April 16, 2013 2:32 PM To: [email protected] Cc: HAPI Devel List Subject: Re: [HAPI-devel] no luck with cast Hi Hugh, The issue here is the line endings. You have \n instead of \r so it thinks that everything in the me

[HAPI-devel] no luck with cast

2013-04-16 Thread hscully
Thanks so much for getting back to me. Here’s the class being run from a Junit test. I’ve included the output below. The message is faithfully cast for structure but the values are not there. Perhaps the factory is creating an empty one. I know this is really rudimentary stuff so I appreciate yo

[HAPI-devel] no luck with cast

2013-04-16 Thread hscully
I am new to Hapi development. V2.5 and 2.6 messages parse without throwing exceptions but when I cast my message to the model type the values in the PID segment do not populate for A01 msgs. I do not have this problem in V2.2 using the example described. I have tried the Generic Parser and the C