b3nzchr3ur / agiletrackingtool

Automatically exported from code.google.com/p/agiletrackingtool
0 stars 0 forks source link

Cannot compose iteration when it's empty. #17

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
org.codehaus.groovy.grails.web.pages.exceptions.GroovyPagesException: Error 
processing GroovyPageView: Error executing tag <g:remoteLink>: 
org.hibernate.ObjectNotFoundException: No row with the given identifier 
exists: [org.agiletracking.Iteration#64] at /WEB-INF/grails-
app/views/iterationComposer/compose.gsp:88

    at 
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)

    at 
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)

    at 
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)

    at 
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698
)

    at 
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.jav
a:891)

    at java.lang.Thread.run(Thread.java:619)

Caused by: 
org.codehaus.groovy.grails.web.taglib.exceptions.GrailsTagException: Error 
executing tag <g:remoteLink>: org.hibernate.ObjectNotFoundException: No row 
with the given identifier exists: [org.agiletracking.Iteration#64] at /WEB-
INF/grails-app/views/iterationComposer/compose.gsp:88

    at 
gsp_agileTrackingTool_iterationComposercompose_gsp$_run_closure2_closure3_c
losure5.doCall(gsp_agileTrackingTool_iterationComposercompose_gsp.groovy:78
)

    at 
gsp_agileTrackingTool_iterationComposercompose_gsp$_run_closure2_closure3.d
oCall(gsp_agileTrackingTool_iterationComposercompose_gsp.groovy:56)

    at 
gsp_agileTrackingTool_iterationComposercompose_gsp$_run_closure2.doCall(gsp
_agileTrackingTool_iterationComposercompose_gsp.groovy:44)

    at 
gsp_agileTrackingTool_iterationComposercompose_gsp$_run_closure2.doCall(gsp
_agileTrackingTool_iterationComposercompose_gsp.groovy)

    at 
gsp_agileTrackingTool_iterationComposercompose_gsp.run(gsp_agileTrackingToo
l_iterationComposercompose_gsp.groovy:87)

    ... 6 more

Caused by: org.codehaus.groovy.runtime.InvokerInvocationException: 
org.hibernate.ObjectNotFoundException: No row with the given identifier 
exists: [org.agiletracking.Iteration#64]

    ... 11 more

Caused by: org.hibernate.ObjectNotFoundException: No row with the given 
identifier exists: [org.agiletracking.Iteration#64]

    at 
gsp_agileTrackingTool_iterationComposercompose_gsp$_run_closure2_closure3_c
losure5_closure6.doCall(gsp_agileTrackingTool_iterationComposercompose_gsp.
groovy:68)

    at 
gsp_agileTrackingTool_iterationComposercompose_gsp$_run_closure2_closure3_c
losure5_closure6.doCall(gsp_agileTrackingTool_iterationComposercompose_gsp.
groovy)

    ... 11 more

Original issue reported on code.google.com by ben.schreur@gmail.com on 25 Mar 2010 at 8:47

GoogleCodeExporter commented 8 years ago
Copying items from current to next iteration gives failure:

org.hibernate.ObjectNotFoundException: No row with the given identifier exists: 
[org.agiletracking.Iteration#64]

    at 
org.agiletracking.Iteration_$$_javassist_15.deleteItem(Iteration_$$_javassist_15
.java
)

    at org.agiletracking.Iteration_$$_javassist_15$deleteItem.call(Unknown 
Source)

    at org.agiletracking.ItemContainer._addItem(ItemContainer.groovy:43)

    at org.agiletracking.Iteration.super$2$_addItem(Iteration.groovy)

    at org.agiletracking.Iteration.addItem(Iteration.groovy:120)

    at org.agiletracking.Iteration$addItem.call(Unknown Source)

    at 
org.agiletracking.Iteration$_copyUnfinishedItems_closure9.doCall(Iteration.groov
y:145
)

    at org.agiletracking.Iteration.copyUnfinishedItems(Iteration.groovy:144)

    at org.agiletracking.Iteration$copyUnfinishedItems.call(Unknown Source)

    at 
org.agiletracking.IterationService.transferUnfinishedItems(IterationService.groo
vy:39
)

    at 
org.agiletracking.IterationService$$FastClassByCGLIB$$d900259d.invoke(<generated
>)

    at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)

    at 
org.agiletracking.IterationService$$EnhancerByCGLIB$$d41f9a.transferUnfinishedIt
ems(<
generated>)

    at org.agiletracking.IterationService$transferUnfinishedItems.call(Unknown 
Source)

    at 
org.agiletracking.IterationCurrentController$_closure2.doCall(IterationCurrentCo
ntrol
ler.groovy:67)

    at 
org.agiletracking.IterationCurrentController$_closure2.doCall(IterationCurrentCo
ntrol
ler.groovy)

    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)

    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)

    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)

    at 
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)

    at 
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891
)

    at java.lang.Thread.run(Thread.java:619)

Original comment by ben.schreur@gmail.com on 25 Mar 2010 at 8:56

GoogleCodeExporter commented 8 years ago
Issue was caused because an item was pointing to a no longer existing iteration.

Original comment by ben.schreur@gmail.com on 27 Mar 2010 at 3:12

GoogleCodeExporter commented 8 years ago
Removed iteration from session but pass it when adding an item to an iteration.

Original comment by ben.schreur@gmail.com on 27 Mar 2010 at 5:14