"hidden" attribute searched for in Sysdyn model variables and cannot be found - ClassCastException follows
Sysdyn model variables cause ClassCastExceptions to be printed in console, but doesn't prevent functionality of the software. The printing seems to be caused by a missing property called "hidden" that's being searched for. The property is expected to be of Boolean value, but since it doesn't exist at all, a Double to Boolean ClassCastException occurs.
Trace:
LazyViewpoint.childQuery failed: org.simantics.db.exception.DatabaseException: java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Boolean
at org.simantics.db.impl.query.CacheEntryBase.checkAndThrow(CacheEntryBase.java:123)
at org.simantics.db.impl.query.ReadEntry.get(ReadEntry.java:154)
at org.simantics.db.impl.query.QueryProcessor.performForEach(QueryProcessor.java:1068)
at org.simantics.db.impl.query.QueryProcessor.queryRead(QueryProcessor.java:858)
at org.simantics.db.impl.graph.ReadGraphImpl.syncRequest(ReadGraphImpl.java:1902)
at org.simantics.browsing.ui.graph.impl.EvaluatorViewpoint.children(EvaluatorViewpoint.java:38)
at org.simantics.browsing.ui.graph.impl.LazyViewpoint$1.perform(LazyViewpoint.java:91)
at org.simantics.browsing.ui.graph.impl.LazyViewpoint$1.perform(LazyViewpoint.java:1)
at org.simantics.db.impl.query.ReadEntry$1.recompute(ReadEntry.java:87)
at org.simantics.db.impl.query.QueryProcessor.compareTo(QueryProcessor.java:2507)
at org.simantics.db.impl.query.QueryProcessor.performScheduledUpdates(QueryProcessor.java:2588)
at fi.vtt.simantics.procore.internal.State.commitWriteTransaction(State.java:342)
at fi.vtt.simantics.procore.internal.SessionRequestManager$4.run(SessionRequestManager.java:233)
at org.simantics.db.impl.query.QueryThread.run(QueryThread.java:251)
Caused by: java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Boolean
at org.simantics.modeling.ui.viewpoint.VariablePropertyRule.getChildren(VariablePropertyRule.java:79)
at org.simantics.browsing.ui.model.children.ChildContribution.getChildren(ChildContribution.java:104)
at org.simantics.browsing.ui.model.browsecontexts.BrowseContext.getChildrenImpl(BrowseContext.java:219)
at org.simantics.browsing.ui.model.browsecontexts.BrowseContext.getChildren(BrowseContext.java:199)
at org.simantics.browsing.ui.graph.impl.EvaluatorViewpoint$1.perform(EvaluatorViewpoint.java:43)
at org.simantics.browsing.ui.graph.impl.EvaluatorViewpoint$1.perform(EvaluatorViewpoint.java:1)
at org.simantics.db.impl.query.QueryProcessor.performForEach(QueryProcessor.java:1058)