Ticket #5 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

EDIT study wizard hangs after event page

Reported by: kees.vanbochove@… Owned by: j.a.m.wesbeek@…
Priority: major Milestone:
Component: Version:
Keywords: Cc:
Product: Operating system:
URL: Hardware:

Description

Console output:

2010-09-13 17:33:02,107 [TP-Processor12] ERROR studycapturing.WizardController? - Authenticated user was not able to be obtained from metaclass
2010-09-13 17:33:02,136 [TP-Processor12] ERROR view.GroovyPageView? - Error processing GroovyPageView?: Error executing tag <wizard:pageContent>: Cannot cast object '[, , , , , , , , , ]' with class 'java.util.HashSet?' to class 'java.util.ArrayList?' due to: groovy.lang.GroovyRuntimeException?: Could not find matching constructor for: java.util.ArrayList?(dbnp.studycapturing.Event, dbnp.studycapturing.SamplingEvent?, dbnp.studycapturing.Event, dbnp.studycapturing.Event, dbnp.studycapturing.Event, dbnp.studycapturing.SamplingEvent?, dbnp.studycapturing.SamplingEvent?, dbnp.studycapturing.SamplingEvent?, dbnp.studycapturing.Event, dbnp.studycapturing.SamplingEvent?) at /home/tomcat/apache-tomcat/webapps/gscf-0.5.0-ci/WEB-INF/grails-app/views/wizard/pages/_groups.gsp:1
org.codehaus.groovy.grails.web.taglib.exceptions.GrailsTagException?: Error executing tag <wizard:pageContent>: Cannot cast object '[, , , , , , , , , ]' with class 'java.util.HashSet?' to class 'java.util.ArrayList?' due to: groovy.lang.GroovyRuntimeException?: Could not find matching constructor for: java.util.ArrayList?(dbnp.studycapturing.Event, dbnp.studycapturing.SamplingEvent?, dbnp.studycapturing.Event, dbnp.studycapturing.Event, dbnp.studycapturing.Event, dbnp.studycapturing.SamplingEvent?, dbnp.studycapturing.SamplingEvent?, dbnp.studycapturing.SamplingEvent?, dbnp.studycapturing.Event, dbnp.studycapturing.SamplingEvent?) at /home/tomcat/apache-tomcat/webapps/gscf-0.5.0-ci/WEB-INF/grails-app/views/wizard/pages/_groups.gsp:1

at localhost_gscf_0_5_0_ci_WEB_INF_grails_app_views_wizard_pagesgroups_gsp.run(localhost_gscf_0_5_0_ci_WEB_INF_grails_app_views_wizard_pages__groups_gsp:103)
at net.bull.javamelody.JspWrapper?.invoke(JspWrapper?.java:116)
at net.bull.javamelody.JdbcWrapper?$DelegatingInvocationHandler?.invoke(JdbcWrapper?.java:250)
at $Proxy51.forward(Unknown Source)
at org.apache.shiro.web.servlet.ShiroFilter?.executeChain(ShiroFilter?.java:687)
at org.apache.shiro.web.servlet.ShiroFilter?.doFilterInternal(ShiroFilter?.java:616)
at org.apache.shiro.web.servlet.OncePerRequestFilter?.doFilter(OncePerRequestFilter?.java:81)
at net.bull.javamelody.MonitoringFilter?.doFilter(MonitoringFilter?.java:388)
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:774)
at org.apache.jk.common.ChannelSocket?.processConnection(ChannelSocket?.java:703)
at org.apache.jk.common.ChannelSocket?$SocketConnection?.runIt(ChannelSocket?.java:896)
at java.lang.Thread.run(Thread.java:619)

Caused by: org.codehaus.groovy.runtime.typehandling.GroovyCastException?: Cannot cast object '[, , , , , , , , , ]' with class 'java.util.HashSet?' to class 'java.util.ArrayList?' due to: groovy.lang.GroovyRuntimeException?: Could not find matching constructor for: java.util.ArrayList?(dbnp.studycapturing.Event, dbnp.studycapturing.SamplingEvent?, dbnp.studycapturing.Event, dbnp.studycapturing.Event, dbnp.studycapturing.Event, dbnp.studycapturing.SamplingEvent?, dbnp.studycapturing.SamplingEvent?, dbnp.studycapturing.SamplingEvent?, dbnp.studycapturing.Event, dbnp.studycapturing.SamplingEvent?)

at dbnp.studycapturing.EventGroup?.getAllEvents(EventGroup?.groovy:34)
at dbnp.studycapturing.EventGroup?$getAllEvents.call(Unknown Source)
at localhost_gscf_0_5_0_ci_WEB_INF_grails_app_views_wizard_pagesgroups_gsp$_run_closure1_closure2.doCall(localhost_gscf_0_5_0_ci_WEB_INF_grails_app_views_wizard_pages__groups_gsp:43)
at localhost_gscf_0_5_0_ci_WEB_INF_grails_app_views_wizard_pages
groups_gsp$_run_closure1.doCall(localhost_gscf_0_5_0_ci_WEB_INF_grails_app_views_wizard_pages__groups_gsp:37)
at localhost_gscf_0_5_0_ci_WEB_INF_grails_app_views_wizard_pagesgroups_gsp$_run_closure1.doCall(localhost_gscf_0_5_0_ci_WEB_INF_grails_app_views_wizard_pagesgroups_gsp)
at dbnp.studycapturing.WizardTagLib?$_closure4.doCall(WizardTagLib?.groovy:212)
... 14 more

2010-09-13 17:33:02,141 [TP-Processor12] ERROR errors.GrailsExceptionResolver? - Exception thrown in state 'groups' of flow 'wizard/pages'
org.springframework.webflow.execution.FlowExecutionException?: Exception thrown in state 'groups' of flow 'wizard/pages'

at net.bull.javamelody.JspWrapper?.invoke(JspWrapper?.java:116)
at net.bull.javamelody.JdbcWrapper?$DelegatingInvocationHandler?.invoke(JdbcWrapper?.java:250)
at $Proxy51.forward(Unknown Source)
at org.apache.shiro.web.servlet.ShiroFilter?.executeChain(ShiroFilter?.java:687)
at org.apache.shiro.web.servlet.ShiroFilter?.doFilterInternal(ShiroFilter?.java:616)
at org.apache.shiro.web.servlet.OncePerRequestFilter?.doFilter(OncePerRequestFilter?.java:81)
at net.bull.javamelody.MonitoringFilter?.doFilter(MonitoringFilter?.java:388)
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:774)
at org.apache.jk.common.ChannelSocket?.processConnection(ChannelSocket?.java:703)
at org.apache.jk.common.ChannelSocket?$SocketConnection?.runIt(ChannelSocket?.java:896)
at java.lang.Thread.run(Thread.java:619)

Caused by: java.lang.IllegalStateException?: Exception occurred rendering view org.codehaus.groovy.grails.web.servlet.view.GroovyPageView?: unnamed; URL /WEB-INF/grails-app/views//wizard/pages/_groups.gsp

... 13 more

Caused by: org.codehaus.groovy.grails.web.pages.exceptions.GroovyPagesException?: Error processing GroovyPageView?: Error executing tag <wizard:pageContent>: Cannot cast object '[, , , , , , , , , ]' with class 'java.util.HashSet?' to class 'java.util.ArrayList?' due to: groovy.lang.GroovyRuntimeException?: Could not find matching constructor for: java.util.ArrayList?(dbnp.studycapturing.Event, dbnp.studycapturing.SamplingEvent?, dbnp.studycapturing.Event, dbnp.studycapturing.Event, dbnp.studycapturing.Event, dbnp.studycapturing.SamplingEvent?, dbnp.studycapturing.SamplingEvent?, dbnp.studycapturing.SamplingEvent?, dbnp.studycapturing.Event, dbnp.studycapturing.SamplingEvent?) at /home/tomcat/apache-tomcat/webapps/gscf-0.5.0-ci/WEB-INF/grails-app/views/wizard/pages/_groups.gsp:1

... 13 more

Caused by: org.codehaus.groovy.grails.web.taglib.exceptions.GrailsTagException?: Error executing tag <wizard:pageContent>: Cannot cast object '[, , , , , , , , , ]' with class 'java.util.HashSet?' to class 'java.util.ArrayList?' due to: groovy.lang.GroovyRuntimeException?: Could not find matching constructor for: java.util.ArrayList?(dbnp.studycapturing.Event, dbnp.studycapturing.SamplingEvent?, dbnp.studycapturing.Event, dbnp.studycapturing.Event, dbnp.studycapturing.Event, dbnp.studycapturing.SamplingEvent?, dbnp.studycapturing.SamplingEvent?, dbnp.studycapturing.SamplingEvent?, dbnp.studycapturing.Event, dbnp.studycapturing.SamplingEvent?) at /home/tomcat/apache-tomcat/webapps/gscf-0.5.0-ci/WEB-INF/grails-app/views/wizard/pages/_groups.gsp:1

at localhost_gscf_0_5_0_ci_WEB_INF_grails_app_views_wizard_pagesgroups_gsp.run(localhost_gscf_0_5_0_ci_WEB_INF_grails_app_views_wizard_pages__groups_gsp:103)
... 13 more

Caused by: org.codehaus.groovy.runtime.typehandling.GroovyCastException?: Cannot cast object '[, , , , , , , , , ]' with class 'java.util.HashSet?' to class 'java.util.ArrayList?' due to: groovy.lang.GroovyRuntimeException?: Could not find matching constructor for: java.util.ArrayList?(dbnp.studycapturing.Event, dbnp.studycapturing.SamplingEvent?, dbnp.studycapturing.Event, dbnp.studycapturing.Event, dbnp.studycapturing.Event, dbnp.studycapturing.SamplingEvent?, dbnp.studycapturing.SamplingEvent?, dbnp.studycapturing.SamplingEvent?, dbnp.studycapturing.Event, dbnp.studycapturing.SamplingEvent?)

at dbnp.studycapturing.EventGroup?.getAllEvents(EventGroup?.groovy:34)
at dbnp.studycapturing.EventGroup?$getAllEvents.call(Unknown Source)
at localhost_gscf_0_5_0_ci_WEB_INF_grails_app_views_wizard_pagesgroups_gsp$_run_closure1_closure2.doCall(localhost_gscf_0_5_0_ci_WEB_INF_grails_app_views_wizard_pages__groups_gsp:43)
at localhost_gscf_0_5_0_ci_WEB_INF_grails_app_views_wizard_pages
groups_gsp$_run_closure1.doCall(localhost_gscf_0_5_0_ci_WEB_INF_grails_app_views_wizard_pages__groups_gsp:37)
at localhost_gscf_0_5_0_ci_WEB_INF_grails_app_views_wizard_pagesgroups_gsp$_run_closure1.doCall(localhost_gscf_0_5_0_ci_WEB_INF_grails_app_views_wizard_pagesgroups_gsp)
at dbnp.studycapturing.WizardTagLib?$_closure4.doCall(WizardTagLib?.groovy:212)
... 14 more

2010-09-13 17:37:46,311 [TP-Processor14] ERROR controller.HomeController? - Authenticated user was not able to be obtained from metaclass
2010-09-13 17:37:49,777 [TP-Processor14] ERROR studycapturing.StudyController? - Authenticated user was not able to be obtained from metaclass

Change History

Changed 4 years ago by jildau.bouwman@…

I tried to adjust the group name (from root group to Group). After that I was not able anymore to take the step to samples, even not after renamen again to root group.

Changed 4 years ago by j.a.m.wesbeek@…

NON-issue... this was on NBX14 and NBX14 is totally outdated... they whole wizard logic has been rewritten afterwards so this bug is about old irrelevant logic... NBX14 needs updating, and it needs updating fast...

gscf.nmcdsp.org (continuous integration version == bleeding edge) works just fine changing group names...

Changed 4 years ago by j.a.m.wesbeek@…

Okay, after a chat with Jildau, this issue did not happen on NBX14, but on gscf.nmcdsp.org in the EDIT STUDY wizard... I am able to reproduce just clicking through the steps. This has nothing to do with group renaming, but form transitioning to the next page.

Changed 4 years ago by j.a.m.wesbeek@…

Resolved in svn #887

Note: See TracTickets for help on using tickets.