If I first save a page, and then I publish it I get the following error ( Railo 3.3.5.002 final ):
Oops! Exception Encountered### Application Execution ExceptionError Type: java.lang.ClassCastException : 0
Error Messages: railo.runtime.type.ArrayImpl cannot be cast to org.hibernate.collection.PersistentCollection
Tag Context:
ID: ??
LINE: 51
Template: C:\inetpub\wwwroot\contentbox\coldbox\system\aop\aspects\CFTransaction.cfc
ID: ??
LINE: 135
Template: C:\inetpub\wwwroot\contentbox\coldbox\system\aop\MethodInvocation.cfc
ID: ??
LINE: 14
Template: C:\inetpub\wwwroot\contentbox\coldbox\system\aop\tmp\7900741b-33be-45c5-8a26-0ccc30a68ce9.cfm
ID: ??
LINE: 204
Template: C:\inetpub\wwwroot\contentbox\modules\contentbox-admin\handlers\pages.cfc
ID: ??
LINE: 739
Template: C:\inetpub\wwwroot\contentbox\coldbox\system\web\Controller.cfc
ID: ??
LINE: 623
Template: C:\inetpub\wwwroot\contentbox\coldbox\system\web\Controller.cfc
ID: ??
LINE: 236
Template: C:\inetpub\wwwroot\contentbox\coldbox\system\Coldbox.cfc
ID: ??
LINE: 102
Template: C:\inetpub\wwwroot\contentbox\Application.cfc
Framework Snapshot
Current Event: contentbox-admin:pages.save
Current Layout: N/A (Module: )
Current View: N/A
Bug Date: 08/16/2012 02:25:19 PM
Coldfusion ID: CFID=17ba62fc-88aa-4bcc-8986-88c007f89f21 ; CFToken=0 ; JSessionID=ContentBox-Shell-4BF8D8CD505ED0EDCF1F0B4F4EFED5AB_17ba62fc-88aa-4bcc-8986-88c007f89f21_0
Template Path : C:\inetpub\wwwroot\contentbox\index.cfm
Path Info : /cbadmin/pages/save
Host & Server: contentbox.local Gunnar-PC
Query String:
Referrer: http://contentbox.local/index.cfm/cbadmin/pages/editor/parentID/4
Browser: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.79 Safari/537.1
Remote Address: 127.0.0.1
Form variables:
isPublished: true
showInMenu: Yes
cacheLayout: Yes
expireMinute:
publishedMinute: 25
sluggerURL: http://contentbox.local/index.cfm/cbadmin/pages/slugify
parentPage: 4
cacheTimeout: 0
expireDate:
publishedDate: 08/16/12
allowComments: No
title: Kontakt
order: 0
CustomFieldValues:
layout: pages
expireHour:
passwordProtection:
cache: Yes
contentID: 9
htmlKeywords:
changelog:
customFieldsCount: 0
content:
kontakt
publishedHour: 14
cacheLastAccessTimeout: 0
htmlDescription:
slug: kontakt
CustomFieldKeys:
newCategories:
Session Storage:
loggedInAuthorID: 1
Cookies:
cftoken: 0
jsessionid: 1618F949D7F345C0BB958316BFF99DAF
coldbox_debugmode_af9520447f96dbec0acd9e1ab253b82f: true
cfid: 17ba62fc-88aa-4bcc-8986-88c007f89f21
Stack Trace:
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.HibernateORMTransaction.end(HibernateORMTransaction.java:53):53
at railo.runtime.orm.ORMConnection.setAutoCommit(ORMConnection.java:241):241
at railo.runtime.db.DatasourceManagerImpl.end(DatasourceManagerImpl.java:228):228
at railo.runtime.tag.Transaction.doFinally(Transaction.java:145):145
at system.aop.aspects.cftransaction_cfc$cf.udfCall(C:\inetpub\wwwroot\contentbox\coldbox\system\aop\aspects\CFTransaction.cfc:51):51
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 system.aop.methodinvocation_cfc$cf._2(C:\inetpub\wwwroot\contentbox\coldbox\system\aop\MethodInvocation.cfc:135):135
at system.aop.methodinvocation_cfc$cf.udfCall(C:\inetpub\wwwroot\contentbox\coldbox\system\aop\MethodInvocation.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 system.aop.tmp._7900741b_33be_45c5_8a26_0ccc30a68ce9_cfm2970$cf.udfCall(C:\inetpub\wwwroot\contentbox\coldbox\system\aop\tmp\7900741b-33be-45c5-8a26-0ccc30a68ce9.cfm:14):14
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 modules.contentbox_admin495.handlers.pages_cfc$cf._1(C:\inetpub\wwwroot\contentbox\modules\contentbox-admin\handlers\pages.cfc:204):204
at modules.contentbox_admin495.handlers.pages_cfc$cf.udfCall(C:\inetpub\wwwroot\contentbox\modules\contentbox-admin\handlers\pages.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:1830):1830
at railo.runtime.tag.Invoke.doComponent(Invoke.java:210):210
at railo.runtime.tag.Invoke.doEndTag(Invoke.java:183):183
at system.web.controller_cfc$cf._6(C:\inetpub\wwwroot\contentbox\coldbox\system\web\Controller.cfc:739):739
at system.web.controller_cfc$cf.udfCall(C:\inetpub\wwwroot\contentbox\coldbox\system\web\Controller.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 system.web.controller_cfc$cf._5(C:\inetpub\wwwroot\contentbox\coldbox\system\web\Controller.cfc:623):623
at system.web.controller_cfc$cf.udfCall(C:\inetpub\wwwroot\contentbox\coldbox\system\web\Controller.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 coldbox.system.coldbox_cfc$cf._1(C:\inetpub\wwwroot\contentbox\coldbox\system\Coldbox.cfc:236):236
at coldbox.system.coldbox_cfc$cf.udfCall(C:\inetpub\wwwroot\contentbox\coldbox\system\Coldbox.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 application_cfc$cf.udfCall(C:\inetpub\wwwroot\contentbox\Application.cfc:102):102
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:106):106
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:722):722
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305):305
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210):210
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225):225
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169):169
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472):472
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168):168
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98):98
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118):118
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407):407
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200):200
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565):565
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:307):307
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source):-1
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source):-1
at java.lang.Thread.run(Unknown Source):-1
Extra Information Dump
[N/A]
ColdB