*** ERROR *** Could not find Entity

136 views
Skip to first unread message

Carlos A. Santiago

unread,
Jul 23, 2021, 3:59:06 AM7/23/21
to Jaamsim Users Discussion Group
Hello group

We implemented a new class to log to SQL, called ExpressionLoggerToSQL. This was working alright, as a graphical widget to be added from the menu, but somehow I managed to break it, don´t know how.

The error I get is:

*** ERROR *** Could not create new child Entity: ExpressionLoggerToSQL1 for parent: null

*** ERROR *** Could not find Entity: ExpressionLoggerToSQL1

Any indication on how to find the cause?

Thank you

Carlos

Harry King

unread,
Jul 23, 2021, 6:58:12 PM7/23/21
to Jaamsim Users Discussion Group
Carlos,

Did you did make the necessary additions to the file 'resources/resources.inputs/basicObjects.inc'? You should be able to see the 'resources' folder in Eclipse or any other IDE you are using. Look for all the places that ExpressionLogger is referenced and add similar entries for ExpressionLoggerToSQL.

Harry

Harry King

unread,
Jul 26, 2021, 7:39:10 PM7/26/21
to Jaamsim Users Discussion Group
Carlos,

Changing the constructor for SQLConnectionManager from private to public fixes the bug.

Harry

Reply all
Reply to author
Forward
0 new messages