
| Key: |
CIB-1361
|
| Type: |
Bug
|
| Status: |
Resolved
|
| Resolution: |
Fixed
|
| Priority: |
Major
|
| Assignee: |
Unassigned
|
| Reporter: |
Daniel Ostermeier
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
Pulse
Created: 21/Jan/08 04:47 AM
Updated: 24/Jan/08 04:17 AM
|
|
| Component/s: |
Notifications
|
| Affects Version/s: |
1.2.45
|
| Fix Version/s: |
1.2.46
|
|
|
It appears that there is a session / jdbc transaction boundry issue in the ChangedByMeNotifyCondition processing. This means people will not receive notifications for builds where they have made a change and they have subscribed with the "changed by me" subscription condition.
The following exception in the logs indicates this problem:
SEVERE: failed to lazily initialize a collection of role: com.zutubi.pulse.core.model.Changelist.changes, no session or session was closed
org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.zutubi.pulse.core.model.Changelist.changes, no session or session was closed
at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:358)
at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:350)
at org.hibernate.collection.AbstractPersistentCollection.readSize(AbstractPersistentCollection.java:97)
at org.hibernate.collection.PersistentList.size(PersistentList.java:91)
at com.zutubi.pulse.condition.ChangedByMeNotifyCondition.satisfied(ChangedByMeNotifyCondition.java:36)
at com.zutubi.pulse.model.ProjectBuildSubscription.conditionSatisfied(ProjectBuildSubscription.java:94)
at com.zutubi.pulse.ResultNotifier.handleEvent(ResultNotifier.java:82)
at com.zutubi.pulse.events.SynchronousDispatcher.dispatch(SynchronousDispatcher.java:20)
at com.zutubi.pulse.events.DefaultEventManager.publish(DefaultEventManager.java:102)
at com.zutubi.pulse.BuildController.completeBuild(BuildController.java:659)
at com.zutubi.pulse.BuildController.checkNodeStatus(BuildController.java:611)
at com.zutubi.pulse.BuildController.handleRecipeEvent(BuildController.java:447)
at com.zutubi.pulse.BuildController.handleEvent(BuildController.java:200)
at com.zutubi.pulse.events.AsynchronousDelegatingListener$1.run(AsynchronousDelegatingListener.java:42)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
|
|
Description
|
It appears that there is a session / jdbc transaction boundry issue in the ChangedByMeNotifyCondition processing. This means people will not receive notifications for builds where they have made a change and they have subscribed with the "changed by me" subscription condition.
The following exception in the logs indicates this problem:
SEVERE: failed to lazily initialize a collection of role: com.zutubi.pulse.core.model.Changelist.changes, no session or session was closed
org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.zutubi.pulse.core.model.Changelist.changes, no session or session was closed
at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:358)
at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:350)
at org.hibernate.collection.AbstractPersistentCollection.readSize(AbstractPersistentCollection.java:97)
at org.hibernate.collection.PersistentList.size(PersistentList.java:91)
at com.zutubi.pulse.condition.ChangedByMeNotifyCondition.satisfied(ChangedByMeNotifyCondition.java:36)
at com.zutubi.pulse.model.ProjectBuildSubscription.conditionSatisfied(ProjectBuildSubscription.java:94)
at com.zutubi.pulse.ResultNotifier.handleEvent(ResultNotifier.java:82)
at com.zutubi.pulse.events.SynchronousDispatcher.dispatch(SynchronousDispatcher.java:20)
at com.zutubi.pulse.events.DefaultEventManager.publish(DefaultEventManager.java:102)
at com.zutubi.pulse.BuildController.completeBuild(BuildController.java:659)
at com.zutubi.pulse.BuildController.checkNodeStatus(BuildController.java:611)
at com.zutubi.pulse.BuildController.handleRecipeEvent(BuildController.java:447)
at com.zutubi.pulse.BuildController.handleEvent(BuildController.java:200)
at com.zutubi.pulse.events.AsynchronousDelegatingListener$1.run(AsynchronousDelegatingListener.java:42)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595) |
Show » |
|