You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: org.pih.warehouse.core.Person
#58
Closed
jmiranda opened this issue
Apr 14, 2015
· 0 comments
This issue started occurring on several of the shipment features, including
Add a new container to a shipment
Add a new container to an unsaved container
Receive shipment
2015-04-09 14:16:54,529 [ajp-bio-8009-exec-16] INFO shipping.CreateShipmentWorkflowController - Save container [_eventId_addBoxToContainer:Add a box to this pallet, height:5, weight:10, recipient.value:3, recipient:[id:, value:3, name:Justin Miranda], width:8, name:SMTP Server, recipient.name:Justin Miranda, length:3, containerTypeToAddId:2, recipient.id:, weightUnits:lbs, volumeUnits:ft, execution:[e1s4, e1s4], action:createShipment, controller:createShipmentWorkflow]
2015-04-09 14:16:54,544 [ajp-bio-8009-exec-16] INFO shipping.CreateShipmentWorkflowController - Container recipient null null
2015-04-09 14:16:54,545 [ajp-bio-8009-exec-16] INFO shipping.CreateShipmentWorkflowController - # containers: 1
2015-04-09 14:16:54,553 [ajp-bio-8009-exec-16] ERROR builder.ClosureInvokingAction - Exception occured invoking flow action: object references an unsaved transient instance - save the transient instance before flushing: org.pih.warehouse.core.Person; nested exception is org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: org.pih.warehouse.core.Person
org.springframework.dao.InvalidDataAccessApiUsageException: object references an unsaved transient instance - save the transient instance before flushing: org.pih.warehouse.core.Person; nested exception is org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: org.pih.warehouse.core.Person
at org.pih.warehouse.shipping.ShipmentService$$EnhancerByCGLIB$$4d3d0eb3.saveContainer(<generated>)
at org.pih.warehouse.shipping.ShipmentService$saveContainer.call(Unknown Source)
at org.pih.warehouse.shipping.CreateShipmentWorkflowController$_closure2_closure14_closure69.doCall(CreateShipmentWorkflowController.groovy:631)
at grails.plugin.springcache.web.GrailsFragmentCachingFilter.doFilter(GrailsFragmentCachingFilter.groovy:66)
at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: org.pih.warehouse.core.Person
... 8 more
The text was updated successfully, but these errors were encountered:
This issue started occurring on several of the shipment features, including
The text was updated successfully, but these errors were encountered: