Uploaded image for project: 'Railo'
  1. Railo
  2. RAILO-2049

ORM Error: railo.runtime.type.ArrayImpl cannot be cast to org.hibernate.collection.PersistentCollection

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.3.5.003
    • Fix Version/s: 4.1.0.002, 4.0.3.003
    • Labels:
      None

      Description

      Not exactly sure why we are getting this error, and I have speant many hours trying to re-create as a test case with no luck. I'm 99.9% sure it has something to do with the methodology specified in the group post:

      https://groups.google.com/d/topic/railo/07P4SXcLzG8/discussion

      However when I try to recreate just that as a simple test case, I don't get the error (maybe I'm doing something wrong).

      This can be reproduced by installing Slatwall as a Mura plugin (Slatwall is the software that is getting this error). I know that doesn't help because it isn't a simple test case, I just haven't had any luck reproducing however if I comment out the line that defines empty arrays for relationships in our base entity init, the error goes away. Here is the full stack.

      Catch
      Entries:11
      additional
      Struct
      Cause
      string java.lang.ClassCastException
      cause
      Struct
      additional
      Struct
      Cause maximal dump level reached
      Detail
      string
      ErrorCode
      string 0
      ExtendedInfo
      string
      Message
      string railo.runtime.type.ArrayImpl cannot be cast to org.hibernate.collection.PersistentCollection
      StackTrace
      string railo.runtime.type.ArrayImpl cannot be cast to org.hibernate.collection.PersistentCollection at org.hibernate.event.def.FlushVisitor.processCollection(FlushVisitor.java:57):57 at org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:124):124 at org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:84):84 at org.hibernate.event.def.AbstractVisitor.processEntityPropertyValues(AbstractVisitor.java:78):78 at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:165):165 at org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:219):219 at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:99):99 at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:50):50 at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1206):1206 at railo.runtime.orm.hibernate.HibernateORMSession.flush(HibernateORMSession.java:110):110 at railo.runtime.functions.orm.ORMFlush.call(ORMFlush.java:12):12 at com.dao.basedao_cfc$cf._1(/Users/greg/Sites/functional/plugins/Slatwall/com/dao/BaseDAO.cfc:115):115 at com.dao.basedao_cfc$cf.udfCall(/Users/greg/Sites/functional/plugins/Slatwall/com/dao/BaseDAO.cfc):-1 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:215):215 at railo.runtime.type.UDFImpl._call(UDFImpl.java:434):434 at railo.runtime.type.UDFImpl.call(UDFImpl.java:384):384 at railo.runtime.ComponentImpl._call(ComponentImpl.java:615):615 at railo.runtime.ComponentImpl._call(ComponentImpl.java:502):502 at railo.runtime.ComponentImpl.call(ComponentImpl.java:1815):1815 at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:733):733 at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1480):1480 at plugins.slatwall.application_cfc$cf._1(/Users/greg/Sites/functional/plugins/Slatwall/Application.cfc:346):346 at plugins.slatwall.application_cfc$cf.udfCall(/Users/greg/Sites/functional/plugins/Slatwall/Application.cfc):-1 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:215):215 at railo.runtime.type.UDFImpl._call(UDFImpl.java:434):434 at railo.runtime.type.UDFImpl.call(UDFImpl.java:384):384 at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:738):738 at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1480):1480 at plugins.slatwall.application_cfc$cf._1(/Users/greg/Sites/functional/plugins/Slatwall/Application.cfc:311):311 at plugins.slatwall.application_cfc$cf.udfCall(/Users/greg/Sites/functional/plugins/Slatwall/Application.cfc):-1 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:215):215 at railo.runtime.type.UDFImpl._call(UDFImpl.java:434):434 at railo.runtime.type.UDFImpl.call(UDFImpl.java:384):384 at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:738):738 at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1480):1480 at plugins.slatwall.org.fw1.framework_cfc$cf._9(/Users/greg/Sites/functional/plugins/Slatwall/org/fw1/framework.cfc:1735):1735 at plugins.slatwall.org.fw1.framework_cfc$cf.udfCall(/Users/greg/Sites/functional/plugins/Slatwall/org/fw1/framework.cfc):-1 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:215):215 at railo.runtime.type.UDFImpl._call(UDFImpl.java:434):434 at railo.runtime.type.UDFImpl.call(UDFImpl.java:384):384 at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:738):738 at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1480):1480 at plugins.slatwall.org.fw1.framework_cfc$cf._4(/Users/greg/Sites/functional/plugins/Slatwall/org/fw1/framework.cfc:877):877 at plugins.slatwall.org.fw1.framework_cfc$cf.udfCall(/Users/greg/Sites/functional/plugins/Slatwall/org/fw1/framework.cfc):-1 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:215):215 at railo.runtime.type.UDFImpl._call(UDFImpl.java:434):434 at railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:377):377 at railo.runtime.ComponentImpl._call(ComponentImpl.java:616):616 at railo.runtime.ComponentImpl._call(ComponentImpl.java:502):502 at railo.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1834):1834 at railo.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:769):769 at railo.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1495):1495 at admin.controllers.basecontroller_cfc$cf._2(/Users/greg/Sites/functional/plugins/Slatwall/admin/controllers/BaseController.cfc:441):441 at admin.controllers.basecontroller_cfc$cf.udfCall(/Users/greg/Sites/functional/plugins/Slatwall/admin/controllers/BaseController.cfc):-1 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:215):215 at railo.runtime.type.UDFImpl._call(UDFImpl.java:434):434 at railo.runtime.type.UDFImpl.call(UDFImpl.java:384):384 at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:738):738 at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1480):1480 at admin.controllers.basecontroller_cfc$cf._1(/Users/greg/Sites/functional/plugins/Slatwall/admin/controllers/BaseController.cfc:266):266 at admin.controllers.basecontroller_cfc$cf.udfCall(/Users/greg/Sites/functional/plugins/Slatwall/admin/controllers/BaseController.cfc):-1 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:215):215 at railo.runtime.type.UDFImpl._call(UDFImpl.java:434):434 at railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:377):377 at railo.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:774):774 at railo.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1495):1495 at admin.controllers.basecontroller_cfc$cf._1(/Users/greg/Sites/functional/plugins/Slatwall/admin/controllers/BaseController.cfc:142):142 at admin.controllers.basecontroller_cfc$cf.udfCall(/Users/greg/Sites/functional/plugins/Slatwall/admin/controllers/BaseController.cfc):-1 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:215):215 at railo.runtime.type.UDFImpl._call(UDFImpl.java:434):434 at railo.runtime.type.UDFImpl.call(UDFImpl.java:384):384 at railo.runtime.ComponentImpl._call(ComponentImpl.java:615):615 at railo.runtime.ComponentImpl.onMissingMethod(ComponentImpl.java:539):539 at railo.runtime.ComponentImpl._call(ComponentImpl.java:504):504 at railo.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1830):1830 at railo.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:755):755 at railo.runtime.util.VariableUtilImpl.callFunction(VariableUtilImpl.java:705):705 at railo.runtime.interpreter.ref.func.UDFCall.getValue(UDFCall.java:52):52 at railo.runtime.interpreter.CFMLExpressionInterpreter.interpret(CFMLExpressionInterpreter.java:187):187 at railo.runtime.functions.dynamicEvaluation.Evaluate._call(Evaluate.java:76):76 at railo.runtime.functions.dynamicEvaluation.Evaluate.call(Evaluate.java:69):69 at railo.runtime.functions.dynamicEvaluation.Evaluate.call(Evaluate.java:22):22 at plugins.slatwall.org.fw1.framework_cfc$cf._6(/Users/greg/Sites/functional/plugins/Slatwall/org/fw1/framework.cfc:1110):1110 at plugins.slatwall.org.fw1.framework_cfc$cf.udfCall(/Users/greg/Sites/functional/plugins/Slatwall/org/fw1/framework.cfc):-1 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:215):215 at railo.runtime.type.UDFImpl._call(UDFImpl.java:434):434 at railo.runtime.type.UDFImpl.call(UDFImpl.java:384):384 at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:738):738 at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1480):1480 at plugins.slatwall.org.fw1.framework_cfc$cf._4(/Users/greg/Sites/functional/plugins/Slatwall/org/fw1/framework.cfc:623):623 at plugins.slatwall.org.fw1.framework_cfc$cf.udfCall(/Users/greg/Sites/functional/plugins/Slatwall/org/fw1/framework.cfc):-1 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:215):215 at railo.runtime.type.UDFImpl._call(UDFImpl.java:434):434 at railo.runtime.type.UDFImpl.call(UDFImpl.java:384):384 at railo.runtime.ComponentImpl._call(ComponentImpl.java:615):615 at railo.runtime.ComponentImpl._call(ComponentImpl.java:502):502 at railo.runtime.ComponentImpl.call(ComponentImpl.java:1815):1815 at railo.runtime.listener.ModernAppListener.call(ModernAppListener.java:349):349 at railo.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:174):174 at railo.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:23):23 at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2035):2035 at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2002):2002 at railo.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:297):297 at railo.loader.servlet.CFMLServlet.service(CFMLServlet.java:32):32 at javax.servlet.http.HttpServlet.service(HttpServlet.java:717):717 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290):290 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206):206 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233):233 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191):191 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127):127 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102):102 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109):109 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298):298 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852):852 at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588):588 at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489):489 at java.lang.Thread.run(Thread.java:680):680
      TagContext
      Array
      1 maximal dump level reached
      2 maximal dump level reached
      3 maximal dump level reached
      4 maximal dump level reached
      5 maximal dump level reached
      6 maximal dump level reached
      7 maximal dump level reached
      8 maximal dump level reached
      9 maximal dump level reached
      10 maximal dump level reached
      type
      string java.lang.ClassCastException
      Detail
      string
      ErrorCode
      string 0
      ExtendedInfo
      string
      Message
      string railo.runtime.type.ArrayImpl cannot be cast to org.hibernate.collection.PersistentCollection
      name
      string onRequest
      rootCause
      Struct
      additional
      Struct
      Cause maximal dump level reached
      Detail
      string
      ErrorCode
      string 0
      ExtendedInfo
      string
      Message
      string railo.runtime.type.ArrayImpl cannot be cast to org.hibernate.collection.PersistentCollection
      StackTrace
      string railo.runtime.type.ArrayImpl cannot be cast to org.hibernate.collection.PersistentCollection at org.hibernate.event.def.FlushVisitor.processCollection(FlushVisitor.java:57):57 at org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:124):124 at org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:84):84 at org.hibernate.event.def.AbstractVisitor.processEntityPropertyValues(AbstractVisitor.java:78):78 at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:165):165 at org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:219):219 at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:99):99 at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:50):50 at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1206):1206 at railo.runtime.orm.hibernate.HibernateORMSession.flush(HibernateORMSession.java:110):110 at railo.runtime.functions.orm.ORMFlush.call(ORMFlush.java:12):12 at com.dao.basedao_cfc$cf._1(/Users/greg/Sites/functional/plugins/Slatwall/com/dao/BaseDAO.cfc:115):115 at com.dao.basedao_cfc$cf.udfCall(/Users/greg/Sites/functional/plugins/Slatwall/com/dao/BaseDAO.cfc):-1 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:215):215 at railo.runtime.type.UDFImpl._call(UDFImpl.java:434):434 at railo.runtime.type.UDFImpl.call(UDFImpl.java:384):384 at railo.runtime.ComponentImpl._call(ComponentImpl.java:615):615 at railo.runtime.ComponentImpl._call(ComponentImpl.java:502):502 at railo.runtime.ComponentImpl.call(ComponentImpl.java:1815):1815 at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:733):733 at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1480):1480 at plugins.slatwall.application_cfc$cf._1(/Users/greg/Sites/functional/plugins/Slatwall/Application.cfc:346):346 at plugins.slatwall.application_cfc$cf.udfCall(/Users/greg/Sites/functional/plugins/Slatwall/Application.cfc):-1 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:215):215 at railo.runtime.type.UDFImpl._call(UDFImpl.java:434):434 at railo.runtime.type.UDFImpl.call(UDFImpl.java:384):384 at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:738):738 at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1480):1480 at plugins.slatwall.application_cfc$cf._1(/Users/greg/Sites/functional/plugins/Slatwall/Application.cfc:311):311 at plugins.slatwall.application_cfc$cf.udfCall(/Users/greg/Sites/functional/plugins/Slatwall/Application.cfc):-1 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:215):215 at railo.runtime.type.UDFImpl._call(UDFImpl.java:434):434 at railo.runtime.type.UDFImpl.call(UDFImpl.java:384):384 at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:738):738 at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1480):1480 at plugins.slatwall.org.fw1.framework_cfc$cf._9(/Users/greg/Sites/functional/plugins/Slatwall/org/fw1/framework.cfc:1735):1735 at plugins.slatwall.org.fw1.framework_cfc$cf.udfCall(/Users/greg/Sites/functional/plugins/Slatwall/org/fw1/framework.cfc):-1 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:215):215 at railo.runtime.type.UDFImpl._call(UDFImpl.java:434):434 at railo.runtime.type.UDFImpl.call(UDFImpl.java:384):384 at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:738):738 at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1480):1480 at plugins.slatwall.org.fw1.framework_cfc$cf._4(/Users/greg/Sites/functional/plugins/Slatwall/org/fw1/framework.cfc:877):877 at plugins.slatwall.org.fw1.framework_cfc$cf.udfCall(/Users/greg/Sites/functional/plugins/Slatwall/org/fw1/framework.cfc):-1 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:215):215 at railo.runtime.type.UDFImpl._call(UDFImpl.java:434):434 at railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:377):377 at railo.runtime.ComponentImpl._call(ComponentImpl.java:616):616 at railo.runtime.ComponentImpl._call(ComponentImpl.java:502):502 at railo.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1834):1834 at railo.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:769):769 at railo.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1495):1495 at admin.controllers.basecontroller_cfc$cf._2(/Users/greg/Sites/functional/plugins/Slatwall/admin/controllers/BaseController.cfc:441):441 at admin.controllers.basecontroller_cfc$cf.udfCall(/Users/greg/Sites/functional/plugins/Slatwall/admin/controllers/BaseController.cfc):-1 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:215):215 at railo.runtime.type.UDFImpl._call(UDFImpl.java:434):434 at railo.runtime.type.UDFImpl.call(UDFImpl.java:384):384 at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:738):738 at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1480):1480 at admin.controllers.basecontroller_cfc$cf._1(/Users/greg/Sites/functional/plugins/Slatwall/admin/controllers/BaseController.cfc:266):266 at admin.controllers.basecontroller_cfc$cf.udfCall(/Users/greg/Sites/functional/plugins/Slatwall/admin/controllers/BaseController.cfc):-1 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:215):215 at railo.runtime.type.UDFImpl._call(UDFImpl.java:434):434 at railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:377):377 at railo.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:774):774 at railo.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1495):1495 at admin.controllers.basecontroller_cfc$cf._1(/Users/greg/Sites/functional/plugins/Slatwall/admin/controllers/BaseController.cfc:142):142 at admin.controllers.basecontroller_cfc$cf.udfCall(/Users/greg/Sites/functional/plugins/Slatwall/admin/controllers/BaseController.cfc):-1 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:215):215 at railo.runtime.type.UDFImpl._call(UDFImpl.java:434):434 at railo.runtime.type.UDFImpl.call(UDFImpl.java:384):384 at railo.runtime.ComponentImpl._call(ComponentImpl.java:615):615 at railo.runtime.ComponentImpl.onMissingMethod(ComponentImpl.java:539):539 at railo.runtime.ComponentImpl._call(ComponentImpl.java:504):504 at railo.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1830):1830 at railo.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:755):755 at railo.runtime.util.VariableUtilImpl.callFunction(VariableUtilImpl.java:705):705 at railo.runtime.interpreter.ref.func.UDFCall.getValue(UDFCall.java:52):52 at railo.runtime.interpreter.CFMLExpressionInterpreter.interpret(CFMLExpressionInterpreter.java:187):187 at railo.runtime.functions.dynamicEvaluation.Evaluate._call(Evaluate.java:76):76 at railo.runtime.functions.dynamicEvaluation.Evaluate.call(Evaluate.java:69):69 at railo.runtime.functions.dynamicEvaluation.Evaluate.call(Evaluate.java:22):22 at plugins.slatwall.org.fw1.framework_cfc$cf._6(/Users/greg/Sites/functional/plugins/Slatwall/org/fw1/framework.cfc:1110):1110 at plugins.slatwall.org.fw1.framework_cfc$cf.udfCall(/Users/greg/Sites/functional/plugins/Slatwall/org/fw1/framework.cfc):-1 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:215):215 at railo.runtime.type.UDFImpl._call(UDFImpl.java:434):434 at railo.runtime.type.UDFImpl.call(UDFImpl.java:384):384 at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:738):738 at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1480):1480 at plugins.slatwall.org.fw1.framework_cfc$cf._4(/Users/greg/Sites/functional/plugins/Slatwall/org/fw1/framework.cfc:623):623 at plugins.slatwall.org.fw1.framework_cfc$cf.udfCall(/Users/greg/Sites/functional/plugins/Slatwall/org/fw1/framework.cfc):-1 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:215):215 at railo.runtime.type.UDFImpl._call(UDFImpl.java:434):434 at railo.runtime.type.UDFImpl.call(UDFImpl.java:384):384 at railo.runtime.ComponentImpl._call(ComponentImpl.java:615):615 at railo.runtime.ComponentImpl._call(ComponentImpl.java:502):502 at railo.runtime.ComponentImpl.call(ComponentImpl.java:1815):1815 at railo.runtime.listener.ModernAppListener.call(ModernAppListener.java:349):349 at railo.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:174):174 at railo.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:23):23 at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2035):2035 at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2002):2002 at railo.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:297):297 at railo.loader.servlet.CFMLServlet.service(CFMLServlet.java:32):32 at javax.servlet.http.HttpServlet.service(HttpServlet.java:717):717 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290):290 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206):206 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233):233 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191):191 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127):127 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102):102 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109):109 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298):298 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852):852 at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588):588 at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489):489 at java.lang.Thread.run(Thread.java:680):680
      TagContext
      Array
      1 maximal dump level reached
      2 maximal dump level reached
      3 maximal dump level reached
      4 maximal dump level reached
      5 maximal dump level reached
      6 maximal dump level reached
      7 maximal dump level reached
      8 maximal dump level reached
      9 maximal dump level reached
      10 maximal dump level reached
      type
      string java.lang.ClassCastException
      StackTrace
      string railo.runtime.type.ArrayImpl cannot be cast to org.hibernate.collection.PersistentCollection at org.hibernate.event.def.FlushVisitor.processCollection(FlushVisitor.java:57):57 at org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:124):124 at org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:84):84 at org.hibernate.event.def.AbstractVisitor.processEntityPropertyValues(AbstractVisitor.java:78):78 at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:165):165 at org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:219):219 at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:99):99 at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:50):50 at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1206):1206 at railo.runtime.orm.hibernate.HibernateORMSession.flush(HibernateORMSession.java:110):110 at railo.runtime.functions.orm.ORMFlush.call(ORMFlush.java:12):12 at com.dao.basedao_cfc$cf._1(/Users/greg/Sites/functional/plugins/Slatwall/com/dao/BaseDAO.cfc:115):115 at com.dao.basedao_cfc$cf.udfCall(/Users/greg/Sites/functional/plugins/Slatwall/com/dao/BaseDAO.cfc):-1 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:215):215 at railo.runtime.type.UDFImpl._call(UDFImpl.java:434):434 at railo.runtime.type.UDFImpl.call(UDFImpl.java:384):384 at railo.runtime.ComponentImpl._call(ComponentImpl.java:615):615 at railo.runtime.ComponentImpl._call(ComponentImpl.java:502):502 at railo.runtime.ComponentImpl.call(ComponentImpl.java:1815):1815 at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:733):733 at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1480):1480 at plugins.slatwall.application_cfc$cf._1(/Users/greg/Sites/functional/plugins/Slatwall/Application.cfc:346):346 at plugins.slatwall.application_cfc$cf.udfCall(/Users/greg/Sites/functional/plugins/Slatwall/Application.cfc):-1 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:215):215 at railo.runtime.type.UDFImpl._call(UDFImpl.java:434):434 at railo.runtime.type.UDFImpl.call(UDFImpl.java:384):384 at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:738):738 at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1480):1480 at plugins.slatwall.application_cfc$cf._1(/Users/greg/Sites/functional/plugins/Slatwall/Application.cfc:311):311 at plugins.slatwall.application_cfc$cf.udfCall(/Users/greg/Sites/functional/plugins/Slatwall/Application.cfc):-1 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:215):215 at railo.runtime.type.UDFImpl._call(UDFImpl.java:434):434 at railo.runtime.type.UDFImpl.call(UDFImpl.java:384):384 at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:738):738 at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1480):1480 at plugins.slatwall.org.fw1.framework_cfc$cf._9(/Users/greg/Sites/functional/plugins/Slatwall/org/fw1/framework.cfc:1735):1735 at plugins.slatwall.org.fw1.framework_cfc$cf.udfCall(/Users/greg/Sites/functional/plugins/Slatwall/org/fw1/framework.cfc):-1 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:215):215 at railo.runtime.type.UDFImpl._call(UDFImpl.java:434):434 at railo.runtime.type.UDFImpl.call(UDFImpl.java:384):384 at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:738):738 at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1480):1480 at plugins.slatwall.org.fw1.framework_cfc$cf._4(/Users/greg/Sites/functional/plugins/Slatwall/org/fw1/framework.cfc:877):877 at plugins.slatwall.org.fw1.framework_cfc$cf.udfCall(/Users/greg/Sites/functional/plugins/Slatwall/org/fw1/framework.cfc):-1 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:215):215 at railo.runtime.type.UDFImpl._call(UDFImpl.java:434):434 at railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:377):377 at railo.runtime.ComponentImpl._call(ComponentImpl.java:616):616 at railo.runtime.ComponentImpl._call(ComponentImpl.java:502):502 at railo.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1834):1834 at railo.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:769):769 at railo.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1495):1495 at admin.controllers.basecontroller_cfc$cf._2(/Users/greg/Sites/functional/plugins/Slatwall/admin/controllers/BaseController.cfc:441):441 at admin.controllers.basecontroller_cfc$cf.udfCall(/Users/greg/Sites/functional/plugins/Slatwall/admin/controllers/BaseController.cfc):-1 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:215):215 at railo.runtime.type.UDFImpl._call(UDFImpl.java:434):434 at railo.runtime.type.UDFImpl.call(UDFImpl.java:384):384 at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:738):738 at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1480):1480 at admin.controllers.basecontroller_cfc$cf._1(/Users/greg/Sites/functional/plugins/Slatwall/admin/controllers/BaseController.cfc:266):266 at admin.controllers.basecontroller_cfc$cf.udfCall(/Users/greg/Sites/functional/plugins/Slatwall/admin/controllers/BaseController.cfc):-1 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:215):215 at railo.runtime.type.UDFImpl._call(UDFImpl.java:434):434 at railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:377):377 at railo.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:774):774 at railo.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1495):1495 at admin.controllers.basecontroller_cfc$cf._1(/Users/greg/Sites/functional/plugins/Slatwall/admin/controllers/BaseController.cfc:142):142 at admin.controllers.basecontroller_cfc$cf.udfCall(/Users/greg/Sites/functional/plugins/Slatwall/admin/controllers/BaseController.cfc):-1 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:215):215 at railo.runtime.type.UDFImpl._call(UDFImpl.java:434):434 at railo.runtime.type.UDFImpl.call(UDFImpl.java:384):384 at railo.runtime.ComponentImpl._call(ComponentImpl.java:615):615 at railo.runtime.ComponentImpl.onMissingMethod(ComponentImpl.java:539):539 at railo.runtime.ComponentImpl._call(ComponentImpl.java:504):504 at railo.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1830):1830 at railo.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:755):755 at railo.runtime.util.VariableUtilImpl.callFunction(VariableUtilImpl.java:705):705 at railo.runtime.interpreter.ref.func.UDFCall.getValue(UDFCall.java:52):52 at railo.runtime.interpreter.CFMLExpressionInterpreter.interpret(CFMLExpressionInterpreter.java:187):187 at railo.runtime.functions.dynamicEvaluation.Evaluate._call(Evaluate.java:76):76 at railo.runtime.functions.dynamicEvaluation.Evaluate.call(Evaluate.java:69):69 at railo.runtime.functions.dynamicEvaluation.Evaluate.call(Evaluate.java:22):22 at plugins.slatwall.org.fw1.framework_cfc$cf._6(/Users/greg/Sites/functional/plugins/Slatwall/org/fw1/framework.cfc:1110):1110 at plugins.slatwall.org.fw1.framework_cfc$cf.udfCall(/Users/greg/Sites/functional/plugins/Slatwall/org/fw1/framework.cfc):-1 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:215):215 at railo.runtime.type.UDFImpl._call(UDFImpl.java:434):434 at railo.runtime.type.UDFImpl.call(UDFImpl.java:384):384 at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:738):738 at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1480):1480 at plugins.slatwall.org.fw1.framework_cfc$cf._4(/Users/greg/Sites/functional/plugins/Slatwall/org/fw1/framework.cfc:623):623 at plugins.slatwall.org.fw1.framework_cfc$cf.udfCall(/Users/greg/Sites/functional/plugins/Slatwall/org/fw1/framework.cfc):-1 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:215):215 at railo.runtime.type.UDFImpl._call(UDFImpl.java:434):434 at railo.runtime.type.UDFImpl.call(UDFImpl.java:384):384 at railo.runtime.ComponentImpl._call(ComponentImpl.java:615):615 at railo.runtime.ComponentImpl._call(ComponentImpl.java:502):502 at railo.runtime.ComponentImpl.call(ComponentImpl.java:1815):1815 at railo.runtime.listener.ModernAppListener.call(ModernAppListener.java:349):349 at railo.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:174):174 at railo.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:23):23 at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2035):2035 at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2002):2002 at railo.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:297):297 at railo.loader.servlet.CFMLServlet.service(CFMLServlet.java:32):32 at javax.servlet.http.HttpServlet.service(HttpServlet.java:717):717 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290):290 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206):206 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233):233 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191):191 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127):127 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102):102 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109):109 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298):298 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852):852 at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588):588 at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489):489 at java.lang.Thread.run(Thread.java:680):680
      TagContext
      Array
      1
      Struct
      codePrintHTML maximal dump level reached
      codePrintPlain maximal dump level reached
      column maximal dump level reached
      id maximal dump level reached
      line maximal dump level reached
      raw_trace maximal dump level reached
      template maximal dump level reached
      type maximal dump level reached
      2
      Struct
      codePrintHTML maximal dump level reached
      codePrintPlain maximal dump level reached
      column maximal dump level reached
      id maximal dump level reached
      line maximal dump level reached
      raw_trace maximal dump level reached
      template maximal dump level reached
      type maximal dump level reached
      3
      Struct
      codePrintHTML maximal dump level reached
      codePrintPlain maximal dump level reached
      column maximal dump level reached
      id maximal dump level reached
      line maximal dump level reached
      raw_trace maximal dump level reached
      template maximal dump level reached
      type maximal dump level reached
      4
      Struct
      codePrintHTML maximal dump level reached
      codePrintPlain maximal dump level reached
      column maximal dump level reached
      id maximal dump level reached
      line maximal dump level reached
      raw_trace maximal dump level reached
      template maximal dump level reached
      type maximal dump level reached
      5
      Struct
      codePrintHTML maximal dump level reached
      codePrintPlain maximal dump level reached
      column maximal dump level reached
      id maximal dump level reached
      line maximal dump level reached
      raw_trace maximal dump level reached
      template maximal dump level reached
      type maximal dump level reached
      6
      Struct
      codePrintHTML maximal dump level reached
      codePrintPlain maximal dump level reached
      column maximal dump level reached
      id maximal dump level reached
      line maximal dump level reached
      raw_trace maximal dump level reached
      template maximal dump level reached
      type maximal dump level reached
      7
      Struct
      codePrintHTML maximal dump level reached
      codePrintPlain maximal dump level reached
      column maximal dump level reached
      id maximal dump level reached
      line maximal dump level reached
      raw_trace maximal dump level reached
      template maximal dump level reached
      type maximal dump level reached
      8
      Struct
      codePrintHTML maximal dump level reached
      codePrintPlain maximal dump level reached
      column maximal dump level reached
      id maximal dump level reached
      line maximal dump level reached
      raw_trace maximal dump level reached
      template maximal dump level reached
      type maximal dump level reached
      9
      Struct
      codePrintHTML maximal dump level reached
      codePrintPlain maximal dump level reached
      column maximal dump level reached
      id maximal dump level reached
      line maximal dump level reached
      raw_trace maximal dump level reached
      template maximal dump level reached
      type maximal dump level reached
      10
      Struct
      codePrintHTML maximal dump level reached
      codePrintPlain maximal dump level reached
      column maximal dump level reached
      id maximal dump level reached
      line maximal dump level reached
      raw_trace maximal dump level reached
      template maximal dump level reached
      type maximal dump level reached
      type
      string java.lang.ClassCastException

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                micstriit Michael Offner
                Reporter:
                gregmoser Greg Moser
              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: