v0.4 powertac-demo-agent-grails produces many exceptions

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

v0.4 powertac-demo-agent-grails produces many exceptions

oliparson
I've just downloaded the v0.4 release and started a competition using the server and demo agent. However, the demo agent prints out many errors when processing messages from the server.

Upon the start of the competition, the broker receives a long array for each village but fails to process it successfully. Instead it prints out:

2011-07-04 15:30:38,903 [DefaultMessageListenerContainer-1] DEBUG org.powertac.broker.infrastructure.messaging.MessageListenerRegistrar  - getAssignableRegistrations(null) - start
2011-07-04 15:30:38,904 [DefaultMessageListenerContainer-1] ERROR org.powertac.broker.infrastructure.messaging.XMLMessageReceiver  - Failed to process incoming xml message
java.lang.NullPointerException


On each subsequent time step, the broker prints out errors when saving the cash position:

2011-07-04 15:30:43,424 [DefaultMessageListenerContainer-1] DEBUG org.powertac.broker.infrastructure.persistence.MessagePersistenceManager  - save(CashPosition) - begin
2011-07-04 15:30:43,432 [DefaultMessageListenerContainer-1] ERROR org.hibernate.AssertionFailure  - an assertion failure occured (this may indicate a bug in Hibernate, but is more likely due to unsafe use of the session)
org.hibernate.AssertionFailure: non-transient entity has a null id

and also when processing a list of messages containing a bank transaction, a distribution transaction, a balance transaction and a cash balance:

2011-07-04 15:30:43,478 [DefaultMessageListenerContainer-1] ERROR org.powertac.broker.infrastructure.messaging.XMLMessageReceiver  - Failed to process incoming xml message
org.hibernate.AssertionFailure: non-transient entity has a null id


Are you getting these errors when running the 0.4 release or is it something I've done wrong?

Thanks,
Oliver Parson
Reply | Threaded
Open this post in threaded view
|

Re: v0.4 powertac-demo-agent-grails produces many exceptions

Oliver Röss
same here