Hi Todd.
I made the change to <cfif qDetail.RecordCount GT 0> and the error
disappeared.
But this is occurring on many pages - so here is another page where it
is occurring:
I have a public test page on my staging server that illustrates the
issue:
http://www.paolobroccardo.com/cheekyonline2009/index.cfm?cheekypage=category.create
Error and Stack Trace:
Railo 3.1.0.022 Error (Expression)
Message Can't cast String [] to a boolean
Stacktrace The Error Occurred in
C:\Railo\webapps\ROOT\cheekyonline2009\_view\pages\category
\dsp_update.cfm: line 8
6:
7: <cfloop list="#attributeList#" index="cItem">
8: <cfif qDetail.RecordCount>
9: <cfparam name="attributes.#cItem#" default="#Trim(Evaluate
('qDetail.'&cItem))#" type="string">
10: <cfelse>
called fromC:\Railo\webapps\ROOT\cheekyonline2009\parsed
\category.create.cfm: line 29
27: <cfsavecontent variable="pageContent">
28: <cftry>
29: <cfoutput><cfinclude template="../_view/pages/category/
dsp_update.cfm"></cfoutput>
30: <cfcatch type="missingInclude"><cfif len
(cfcatch.MissingFileName) gte 14 and right(cfcatch.MissingFileName,14)
is "dsp_update.cfm">
31: <cfthrow type="fusebox.missingFuse" message="missing Fuse"
detail="You tried to include a fuse dsp_update.cfm in circuit
v_pages_category which does not exist (from fuseaction
v_pages_category.create).">
called fromC:\Railo\webapps\ROOT\fusebox5\Application.cfc: line 228
226: --->
227: <cflock name="#_parsedFileData.lockName#" type="readonly"
timeout="30">
228: <cfinclude template="#_parsedFileData.parsedFile#" />
229: </cflock>
230: <cfcatch type="missinginclude">
Java Stacktrace
Can't cast String [] to a boolean
at railo.runtime.op.Caster.toBooleanValue(Caster.java:303):303
at railo.runtime.op.Caster.toBooleanValue(Caster.java:279):279
at cheekyonline2009._view.pages.category.dsp_update_cfm$cf.call(C:
\Railo\webapps\ROOT\cheekyonline2009\_view\pages\category
\dsp_update.cfm:8):8
at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:638):
638
at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:591):
591
at cheekyonline2009.parsed.category_create_cfm414$cf.call(C:\Railo
\webapps\ROOT\cheekyonline2009\parsed\category.create.cfm:29):29
at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:638):
638
at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:591):
591
at fusebox5.application_cfc$cf.udfCall1(C:\Railo\webapps\ROOT
\fusebox5\Application.cfc:228):228
at fusebox5.application_cfc$cf.udfCall(C:\Railo\webapps\ROOT
\fusebox5\Application.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:166):166
at railo.runtime.type.UDFImpl._call(UDFImpl.java:319):319
at railo.runtime.type.UDFImpl.call(UDFImpl.java:284):284
at railo.runtime.ComponentImpl._call(ComponentImpl.java:400):400
at railo.runtime.ComponentImpl._call(ComponentImpl.java:332):332
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1486):1486
at railo.runtime.listener.ModernAppListener.call
(ModernAppListener.java:282):282
at railo.runtime.listener.ModernAppListener._onRequest
(ModernAppListener.java:109):109
at railo.runtime.listener.MixedAppListener.onRequest
(MixedAppListener.java:23):23
at railo.runtime.PageContextImpl.execute(PageContextImpl.java:1676):
1676
at railo.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:
248):248
at railo.loader.servlet.CFMLServlet.service(CFMLServlet.java:32):32
at javax.servlet.http.HttpServlet.service(HttpServlet.java:91):91
at com.caucho.server.dispatch.ServletFilterChain.doFilter
(ServletFilterChain.java:103):103
at com.caucho.server.webapp.WebAppFilterChain.doFilter
(WebAppFilterChain.java:175):175
at com.caucho.server.dispatch.ServletInvocation.service
(ServletInvocation.java:240):240
at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:
424):424
at com.caucho.server.port.TcpConnection.run(TcpConnection.java:481):
481
at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:685):685
at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:607):607
at java.lang.Thread.run(Unknown Source):-1
Thanks
Paolo