Uploaded image for project: 'Gazelle Test Management'
  1. Gazelle Test Management
  2. GZL-3722

Error when sample creator upload a snapshot

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: TestManagement-4.11.0
    • Fix Version/s: Gazelle TM 5.0.0
    • Component/s: None
    • Labels:
      None
    • Severity:
      Very High - Crash or data corruption
    • Account:
      IHE Europe (IHE2012)

      Description

      As a sample creator if you try to upload a snapshot and you coming back to the sample list an error occured.

      11:29:33,035 SEVERE [org.richfaces.log.Context] (http-/0.0.0.0:8180-6) Could not instantiate Seam component: org.jboss.seam.cache.cacheProvider: org.jboss.seam.InstantiationException: Could not instantiate Seam component: org.jboss.seam.cache.cacheProvider
      at org.jboss.seam.Component.newInstance(Component.java:2208) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.Component.getInstance(Component.java:2034) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.Component.getInstance(Component.java:2013) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.Component.getInstance(Component.java:2007) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.Component.getInstance(Component.java:2002) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.cache.CacheProvider.instance(CacheProvider.java:167) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.ui.graphicImage.GraphicImageRendererBase.doEncodeBegin(GraphicImageRendererBase.java:36) [jboss-seam-ui-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.ui.util.cdk.RendererBase.encodeBegin(RendererBase.java:79) [jboss-seam-ui-2.3.1.Final.jar:2.3.1.Final]
      at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:826) [jboss-jsf-api_2.1_spec-2.1.18.Final.jar:2.1.18.Final]
      at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:302) [jsf-impl-2.1.18-jbossorg-1.jar:]
      at com.sun.faces.renderkit.html_basic.CommandLinkRenderer.encodeChildren(CommandLinkRenderer.java:143) [jsf-impl-2.1.18-jbossorg-1.jar:]
      at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:851) [jboss-jsf-api_2.1_spec-2.1.18.Final.jar:2.1.18.Final]
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1779) [jboss-jsf-api_2.1_spec-2.1.18.Final.jar:2.1.18.Final]
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1782) [jboss-jsf-api_2.1_spec-2.1.18.Final.jar:2.1.18.Final]
      at org.richfaces.renderkit.html.RepeatRenderer$1.process(RepeatRenderer.java:57) [richfaces-components-ui-4.3.5.Final.jar:4.3.5.Final]
      at org.ajax4jsf.model.SequenceDataModel.walk(SequenceDataModel.java:65) [richfaces-core-api-4.3.5.Final.jar:4.3.5.Final]
      at org.richfaces.component.UIDataAdaptor.walk(UIDataAdaptor.java:809) [richfaces-components-ui-4.3.5.Final.jar:4.3.5.Final]
      at org.richfaces.renderkit.html.RepeatRenderer.encodeChildren(RepeatRenderer.java:70) [richfaces-components-ui-4.3.5.Final.jar:4.3.5.Final]
      at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:851) [jboss-jsf-api_2.1_spec-2.1.18.Final.jar:2.1.18.Final]
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1779) [jboss-jsf-api_2.1_spec-2.1.18.Final.jar:2.1.18.Final]
      at javax.faces.render.Renderer.encodeChildren(Renderer.java:168) [jboss-jsf-api_2.1_spec-2.1.18.Final.jar:2.1.18.Final]
      at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:851) [jboss-jsf-api_2.1_spec-2.1.18.Final.jar:2.1.18.Final]
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1779) [jboss-jsf-api_2.1_spec-2.1.18.Final.jar:2.1.18.Final]
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1782) [jboss-jsf-api_2.1_spec-2.1.18.Final.jar:2.1.18.Final]
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1782) [jboss-jsf-api_2.1_spec-2.1.18.Final.jar:2.1.18.Final]
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1782) [jboss-jsf-api_2.1_spec-2.1.18.Final.jar:2.1.18.Final]
      at org.richfaces.context.ExtendedPartialViewContextImpl$RenderVisitCallback.visit(ExtendedPartialViewContextImpl.java:557) [richfaces-core-impl-4.3.5.Final.jar:4.3.5.Final]
      at org.richfaces.context.BaseExtendedVisitContext.invokeVisitCallback(BaseExtendedVisitContext.java:321) [richfaces-core-impl-4.3.5.Final.jar:4.3.5.Final]
      at javax.faces.component.UIComponent.visitTree(UIComponent.java:1612) [jboss-jsf-api_2.1_spec-2.1.18.Final.jar:2.1.18.Final]
      at javax.faces.component.UIComponent.visitTree(UIComponent.java:1623) [jboss-jsf-api_2.1_spec-2.1.18.Final.jar:2.1.18.Final]
      at javax.faces.component.UIComponent.visitTree(UIComponent.java:1623) [jboss-jsf-api_2.1_spec-2.1.18.Final.jar:2.1.18.Final]
      at javax.faces.component.UIComponent.visitTree(UIComponent.java:1623) [jboss-jsf-api_2.1_spec-2.1.18.Final.jar:2.1.18.Final]
      at javax.faces.component.UIComponent.visitTree(UIComponent.java:1623) [jboss-jsf-api_2.1_spec-2.1.18.Final.jar:2.1.18.Final]
      at org.richfaces.context.ExtendedPartialViewContextImpl.processPartialRenderPhase(ExtendedPartialViewContextImpl.java:310) [richfaces-core-impl-4.3.5.Final.jar:4.3.5.Final]
      at org.richfaces.context.ExtendedPartialViewContextImpl.processPartial(ExtendedPartialViewContextImpl.java:213) [richfaces-core-impl-4.3.5.Final.jar:4.3.5.Final]
      at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:973) [jboss-jsf-api_2.1_spec-2.1.18.Final.jar:2.1.18.Final]
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1779) [jboss-jsf-api_2.1_spec-2.1.18.Final.jar:2.1.18.Final]
      at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:413) [jsf-impl-2.1.18-jbossorg-1.jar:]
      at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:124) [jsf-impl-2.1.18-jbossorg-1.jar:]
      at org.jboss.seam.jsf.SeamViewHandler.renderView(SeamViewHandler.java:188) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:286) [jboss-jsf-api_2.1_spec-2.1.18.Final.jar:2.1.18.Final]
      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120) [jsf-impl-2.1.18-jbossorg-1.jar:]
      at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.1.18-jbossorg-1.jar:]
      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) [jsf-impl-2.1.18-jbossorg-1.jar:]
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594) [jboss-jsf-api_2.1_spec-2.1.18.Final.jar:2.1.18.Final]
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
      at org.jasig.cas.client.util.HttpServletRequestWrapperFilter.doFilter(HttpServletRequestWrapperFilter.java:62) [cas-client-core-3.1.10.IHE.1.jar:]
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
      at net.ihe.gazelle.common.authentication.Cas20ProxyReceivingTicketValidationFilter.doFilterCAS(Cas20ProxyReceivingTicketValidationFilter.java:231) [gazelle-tools-tm.jar:4.0.0-SNAPSHOT]
      at net.ihe.gazelle.common.authentication.Cas20ProxyReceivingTicketValidationFilter.doFilter(Cas20ProxyReceivingTicketValidationFilter.java:189) [gazelle-tools-tm.jar:4.0.0-SNAPSHOT]
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
      at org.jasig.cas.client.session.SingleSignOutFilter.doFilter(SingleSignOutFilter.java:110) [cas-client-core-3.1.10.IHE.1.jar:]
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at net.ihe.gazelle.common.servletfilter.GeneratedFileFilter.doFilter(GeneratedFileFilter.java:56) [gazelle-seam-tools-jar.jar:3.0.5-SNAPSHOT]
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at net.ihe.gazelle.common.servletfilter.StaticFilter.doFilter(StaticFilter.java:62) [gazelle-seam-tools-jar.jar:3.0.5-SNAPSHOT]
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:78) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at net.ihe.gazelle.common.servletfilter.CSPHeaderFilter.doFilter(CSPHeaderFilter.java:87) [gazelle-seam-tools-jar.jar:3.0.5-SNAPSHOT]
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at net.ihe.gazelle.common.servletfilter.SQLinjectionFilter.doFilter(SQLinjectionFilter.java:74) [gazelle-seam-tools-jar.jar:3.0.5-SNAPSHOT]
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at net.ihe.gazelle.common.servletfilter.IEHeaderFilter.doFilter(IEHeaderFilter.java:50) [gazelle-seam-tools-jar.jar:3.0.5-SNAPSHOT]
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at net.ihe.gazelle.common.fineuploader.FineuploaderFilter.doFilter(FineuploaderFilter.java:85) [gazelle-seam-tools-jar.jar:3.0.5-SNAPSHOT]
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
      at net.ihe.gazelle.common.session.SessionTimeoutFilter.doFilter(SessionTimeoutFilter.java:147) [gazelle-tools-tm.jar:4.0.0-SNAPSHOT]
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:389) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
      at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.2.0.Final.jar:7.2.0.Final]
      at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.2.0.Final.jar:7.2.0.Final]
      at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.2.0.Final.jar:7.2.0.Final]
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920) [jbossweb-7.2.0.Final.jar:7.2.0.Final]
      at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]
      Caused by: java.lang.IllegalStateException: Error starting EHCache Cache
      at org.jboss.seam.cache.EhCacheProvider.create(EhCacheProvider.java:119) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_79]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_79]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_79]
      at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_79]
      at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.Component.callComponentMethod(Component.java:2313) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.Component.callCreateMethod(Component.java:2236) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      at org.jboss.seam.Component.newInstance(Component.java:2196) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      ... 97 more
      Caused by: net.sf.ehcache.CacheException: Another unnamed CacheManager already exists in the same VM. Please provide unique names for each CacheManager in the config or do one of following:
      1. Use one of the CacheManager.create() static factory methods to reuse same CacheManager with same name or create one if necessary
      2. Shutdown the earlier cacheManager before creating new one with same name.
      The source of the existing CacheManager is: DefaultConfigurationSource [ ehcache.xml or ehcache-failsafe.xml ]
      at net.sf.ehcache.CacheManager.assertNoCacheManagerExistsWithSameName(CacheManager.java:529) [ehcache-core-2.6.6.jar:]
      at net.sf.ehcache.CacheManager.init(CacheManager.java:374) [ehcache-core-2.6.6.jar:]
      at net.sf.ehcache.CacheManager.<init>(CacheManager.java:356) [ehcache-core-2.6.6.jar:]
      at org.jboss.seam.cache.EhCacheProvider.create(EhCacheProvider.java:114) [jboss-seam-2.3.1.Final.jar:2.3.1.Final]
      ... 106 more


      It's the same, as reader, if you try to read a sample with a snapshot.

        Attachments

          Activity

            People

            • Assignee:
              jlabbe Jean-François Labbé (Inactive)
              Reporter:
              gthomazon Guillaume Thomazon
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day
                1d

                  Potential Duplicates