dukeboard/kevoree-modeling-framework

Error reporting

Closed this issue · 7 comments

It seems an invalid path raise this exception:

java.lang.ClassCastException: jet.Unit cannot be cast to

Not very helpful...

Something like

Cannot resolve "invalid-path"

Would be more helpful...

Actually, that happens in the loader when I have badly formed references (i.e path) in my JSON model. Then the findByPath return null (i.e. jet.Unit) and it screws everything up without a proper error message.

Fixed in trunk, will be included in next beta

That kind of error is not so helpful

SEVERE: KMFQL : rejected sucessor

I've no idea where to look to fix this error...

you're right , I add some information in the log to better help the debug of the KMFQL.
It's committed in trunk let me now if it suffisant

for your information trunk continuous version if

1.3.0-BETA6-SNAPSHOT

and it pushed to

https://oss.sonatype.org/content/groups/public/

Can we close ?

Let's close it for now :-) Though I will feel free to re-open it if need be ;-)