Random Crashes
For some time now I have been seeing an error appear in the Coldfusion 9 error log. I have had clients call up about a GSD from this error. The error is as follows:
"Error","jrpp-14143","01/18/11","07:38:06","XXX","The value '' cannot be converted to a number. The specific sequence of files included or processed is: C:\Inetpub\wwwroot\www.XXX.com\XXXXX.cfm, line: 256 "
coldfusion.runtime.Cast$NumberConversionException: The value '' cannot be converted to a number.
This most of the time is not a problem and the program runs flawlessly. It is at random times that this error occurs and there is no way to reproduce this error in the test environment or in production. The line it points to are all variables that are set to literals or in a CFLOOP. They are all set by the server, not a human. I am having problems trying to figure this one out.
code:
<table id="2R-#count#" <cfif count LTE RmaxFirstShow OR ( count NEQ (RmaxFirstShow+1) AND ( StructFind( Evaluate(XXX) , "XXX#count#" ) NEQ "" OR
( count GT 2 AND
StructFind( Evaluate(XXX) , "XXX#count-1#" ) EQ "") ) )>style="display:none;"</cfif>>
Every variable here, with the exception of the struct in the session, are set by the code and not any human. They are all integers.
Any help on this would be much appreciated.
EDIT: Correcting code. Adding in ")" that was missing but actually in the working template.
