A "non-human-readable" message is shown when we try to compile a BN containing several node types (e.g. Decision nodes or Continuous node).
It seems that the currently selected inference algorithm does not support such nodes, but it is not easy to realize that.
Maybe a way to acknowledge the user about such support failure is in a need.
The "non-human-readable" message is usually a ClassCastException