Issue Details (XML | Word | Printable)

Key: VIEWS-89
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Simon Brandhof
Reporter: Freddy Mallet
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Views

In case of parallel runs, views computation can fail with an EntityNotFoundException

Created: 17/Oct/11 05:02 PM   Updated: 08/Nov/11 05:37 PM   Resolved: 07/Nov/11 03:52 PM
Component/s: Batch
Affects Version/s: None
Fix Version/s: 1.6.1

Issue Links:
Relates
 


 Description  « Hide

Here the full error stack trace :

Caused by: javax.persistence.EntityNotFoundException: Unable to find org.sonar.api.database.model.Snapshot with id 18636339
       at org.hibernate.ejb.Ejb3Configuration$Ejb3EntityNotFoundDelegate.handleEntityNotFound(Ejb3Configuration.java:113)
       at org.hibernate.proxy.AbstractLazyInitializer.checkTargetState(AbstractLazyInitializer.java:154)
       at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:143)
       at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:174)
       at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190)
       at org.sonar.api.database.model.Snapshot_$$_javassist_13.setLast(Snapshot_$$_javassist_13.java)
       at com.sonar.views.D.C.A(Unknown Source)


Sort Order: Ascending order - Click to sort in descending order
Freddy Mallet added a comment - 08/Nov/11 02:18 PM

Manually tested


Simon Brandhof added a comment - 08/Nov/11 05:37 PM

Integration tests added