Reputation: 81
Ok all I am doing is trying to get to my 1st page. And I receive the following exception:
org.springframework.webflow.execution.repository.snapshot.SnapshotNotFoundException:
No flow execution snapshot could be found with id '1'; perhaps the snapshot has been removed?
I am using the following:
The only custom part of my JpaFlowExecutionListener is the part where I detach the EntityManager from the scope so it can serialize the flow - I have this as a database backed flow peristence setup. The flows are saved/read from/to the db ok. But I can't get it to render the first view.
From what I can tell here are the steps it goes thru prior to crashing below:
For the PersistenceConversationHolder please reference example in this book here.
Any help would be so appreciated!
Upvotes: 2
Views: 1686
Reputation: 81
In case someone also misses this as I did...
At step #5 above when the Thread is unlocked, you need to update the save/update the PersistentConversation to the db, this copy will contain all the snapshot info.
Once I wrote this it was easy to see that there was a missing step.
Upvotes: 2