Copy link to clipboard
Copied
Currently, we are doing migration work with ColdFusion2016.
After opening wwwRoot and opening the page in the browser, the following error occurred.
Which file? I am not worried about specifying the cause because notation on what line is wrong is not done.
How to display the part of the error? Please teach other solutions.
Value "onError" can not be converted to value
Copy link to clipboard
Copied
The log files will give you a clue. To read the logs, go to {ColdFusion2016_installation_directory}/cfusion/logs. Sort the files according to date-last-modified. Read the log files corresponding to the date when the error was caused.
Copy link to clipboard
Copied
Thank you for contacting us.
We have sent you the requested log file so we will send it. please confirm it.
Thank you.
<<application.log>>
"Error","http-nio-8500-exec-10","07/14/17","18:21:46",,"Error thrown by site-wide exception handler:"
"Error","http-nio-8500-exec-10","07/14/17","18:21:46",,"?? ERROR_RPATH ? REQUEST ???????? ??????????????????????????? :C:\ColdFusion2016\cfusion\wwwroot\test\webroot\error\undefined_error.cfm, line: 27 "
"Error","http-nio-8500-exec-10","07/14/17","18:21:46",,"? ""onError"" ????????????? ??????????????????????????? :C:\ColdFusion2016\cfusion\wwwroot\test\index.cfm'' "
"Error","http-nio-8500-exec-7","07/14/17","18:25:53",,"Error thrown by site-wide exception handler:"
"Error","http-nio-8500-exec-7","07/14/17","18:25:53",,"?? ERROR_RPATH ? REQUEST ???????? ??????????????????????????? :C:\ColdFusion2016\cfusion\wwwroot\test\webroot\error\undefined_error.cfm, line: 27 "
"Error","http-nio-8500-exec-7","07/14/17","18:25:53",,"? ""onError"" ????????????? ??????????????????????????? :C:\ColdFusion2016\cfusion\wwwroot\test\index.cfm'' "
"Error","http-nio-8500-exec-4","07/14/17","18:29:33",,"Error thrown by site-wide exception handler:"
"Error","http-nio-8500-exec-4","07/14/17","18:29:33",,"?? ERROR_RPATH ? REQUEST ???????? ??????????????????????????? :C:\ColdFusion2016\cfusion\wwwroot\test\webroot\error\undefined_error.cfm, line: 27 "
"Error","http-nio-8500-exec-4","07/14/17","18:29:33",,"? ""onError"" ????????????? ??????????????????????????? :C:\ColdFusion2016\cfusion\wwwroot\test\index.cfm'' "
"Error","http-nio-8500-exec-2","07/18/17","15:39:17",,"Error thrown by site-wide exception handler:"
"Error","http-nio-8500-exec-2","07/18/17","15:39:17",,"?? ERROR_RPATH ? REQUEST ???????? ??????????????????????????? :C:\ColdFusion2016\cfusion\wwwroot\test\webroot\error\undefined_error.cfm, line: 27 "
"Error","http-nio-8500-exec-2","07/18/17","15:39:17",,"? ""onError"" ????????????? ??????????????????????????? :C:\ColdFusion2016\cfusion\wwwroot\test\index.cfm'' "
<<coldfusion-out.log>>
7 18, 2017 14:58:18 ?? Information [Thread-16] - PDFg ?????????? http://127.0.0.1:8989/PDFgServlet/ ?????????
7 18, 2017 15:39:17 ?? Error [http-nio-8500-exec-2] - Error thrown by site-wide exception handler:
7 18, 2017 15:39:17 ?? Error [http-nio-8500-exec-2] - ?? ERROR_RPATH ? REQUEST ???????? ??????????????????????????? :C:\ColdFusion2016\cfusion\wwwroot\test\webroot\error\undefined_error.cfm, line: 27
7 18, 2017 15:39:17 ?? Error [http-nio-8500-exec-2] - ? ""onError"" ????????????? ??????????????????????????? :C:\ColdFusion2016\cfusion\wwwroot\test\index.cfm''
<<exception.log>>
"Error","http-nio-8500-exec-2","07/18/17","15:39:17",,"?? ERROR_RPATH ? REQUEST ???????? ??????????????????????????? :C:\ColdFusion2016\cfusion\wwwroot\test\webroot\error\undefined_error.cfm, line: 27 "
coldfusion.runtime.UndefinedElementException: ?? ERROR_RPATH ? REQUEST ????????
at coldfusion.runtime.CfJspPage.resolveCanonicalName(CfJspPage.java:2217)
at coldfusion.runtime.CfJspPage._resolve(CfJspPage.java:2135)
at coldfusion.runtime.CfJspPage._resolveAndAutoscalarize(CfJspPage.java:2406)
at coldfusion.runtime.CfJspPage._resolveAndAutoscalarize(CfJspPage.java:2396)
at coldfusion.runtime.CfJspPage._resolveAndAutoscalarize(CfJspPage.java:2357)
at cfundefined_error2ecfm1774731525.runPage(C:\ColdFusion2016\cfusion\wwwroot\test\webroot\error\undefined_error.cfm:27)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:251)
at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:737)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:573)
at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
at coldfusion.filter.CfincludeFilter.include(CfincludeFilter.java:33)
at coldfusion.filter.ExceptionFilter.runSiteWideHandler(ExceptionFilter.java:626)
at coldfusion.filter.ExceptionFilter.handleException(ExceptionFilter.java:311)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:108)
at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:78)
at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:60)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)
at coldfusion.CfmServlet.service(CfmServlet.java:219)
at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:474)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:363)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:783)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:798)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1434)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
"Error","http-nio-8500-exec-2","07/18/17","15:39:17",,"? ""onError"" ????????????? ??????????????????????????? :C:\ColdFusion2016\cfusion\wwwroot\test\index.cfm'' "
coldfusion.runtime.Cast$BooleanStringConversionException: ? "onError" ?????????????
at coldfusion.runtime.Cast._boolean(Cast.java:316)
at coldfusion.runtime.Cast._boolean(Cast.java:326)
at coldfusion.runtime.Cast._cast(Cast.java:195)
at coldfusion.compiler.StmtAssembler.emitSetter(StmtAssembler.java:1740)
at coldfusion.compiler.StmtAssembler.setAttributes(StmtAssembler.java:1480)
at coldfusion.compiler.StmtAssembler.cftag(StmtAssembler.java:1069)
at coldfusion.compiler.StmtAssembler.assembleStatement(StmtAssembler.java:445)
at coldfusion.compiler.FunctionAssembler.assembleStatement(FunctionAssembler.java:283)
at coldfusion.compiler.StmtAssembler.block(StmtAssembler.java:266)
at coldfusion.compiler.StmtAssembler.assembleStatement(StmtAssembler.java:342)
at coldfusion.compiler.FunctionAssembler.assembleStatement(FunctionAssembler.java:283)
at coldfusion.compiler.StmtAssembler.block(StmtAssembler.java:270)
at coldfusion.compiler.StmtAssembler.cfif(StmtAssembler.java:3317)
at coldfusion.compiler.StmtAssembler.assembleStatement(StmtAssembler.java:372)
at coldfusion.compiler.FunctionAssembler.assembleStatement(FunctionAssembler.java:283)
at coldfusion.compiler.StmtAssembler.block(StmtAssembler.java:270)
at coldfusion.compiler.StmtAssembler.cfif(StmtAssembler.java:3317)
at coldfusion.compiler.StmtAssembler.assembleStatement(StmtAssembler.java:372)
at coldfusion.compiler.FunctionAssembler.assembleStatement(FunctionAssembler.java:283)
at coldfusion.compiler.StmtAssembler.block(StmtAssembler.java:270)
at coldfusion.compiler.StmtAssembler.assembleStatement(StmtAssembler.java:342)
at coldfusion.compiler.FunctionAssembler.assembleStatement(FunctionAssembler.java:283)
at coldfusion.compiler.StmtAssembler.cfif(StmtAssembler.java:3324)
at coldfusion.compiler.StmtAssembler.assembleStatement(StmtAssembler.java:372)
at coldfusion.compiler.FunctionAssembler.assembleStatement(FunctionAssembler.java:283)
at coldfusion.compiler.StmtAssembler.block(StmtAssembler.java:270)
at coldfusion.compiler.FunctionAssembler.function(FunctionAssembler.java:197)
at coldfusion.compiler.FunctionAssembler.assemble(FunctionAssembler.java:98)
at coldfusion.compiler.TemplateAssembler.assembleFunctions(TemplateAssembler.java:458)
at coldfusion.compiler.TemplateAssembler.assemble(TemplateAssembler.java:182)
at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:410)
at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:160)
at coldfusion.runtime.TemplateClassLoader$TemplateCache$1.fetch(TemplateClassLoader.java:474)
at coldfusion.util.LruCache.get(LruCache.java:180)
at coldfusion.runtime.TemplateClassLoader$TemplateCache.fetchSerial(TemplateClassLoader.java:400)
at coldfusion.util.AbstractCache.fetch(AbstractCache.java:58)
at coldfusion.util.SoftCache.get_statsOff(SoftCache.java:133)
at coldfusion.util.SoftCache.get(SoftCache.java:81)
at coldfusion.runtime.TemplateClassLoader.findClass(TemplateClassLoader.java:655)
at coldfusion.runtime.TemplateClassLoader.newInstance(TemplateClassLoader.java:604)
at coldfusion.runtime.TemplateClassLoader.newInstance(TemplateClassLoader.java:587)
at coldfusion.runtime.TemplateProxyFactory.getCFCInstance(TemplateProxyFactory.java:284)
at coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:177)
at coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:162)
at coldfusion.runtime.TemplateProxyFactory.resolveFile(TemplateProxyFactory.java:123)
at coldfusion.cfc.CFCProxy.<init>(CFCProxy.java:138)
at coldfusion.runtime.AppEventInvoker.<init>(AppEventInvoker.java:70)
at coldfusion.runtime.AppEventInvoker.<init>(AppEventInvoker.java:65)
at coldfusion.filter.PathFilter.resolveApplicationScope(PathFilter.java:215)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:136)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94)
at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:78)
at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:60)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)
at coldfusion.CfmServlet.service(CfmServlet.java:219)
at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:474)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:363)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:783)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:798)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1434)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Copy link to clipboard
Copied
So what's in your undefined_error.cfm file? If the file isn't very big, paste it into the reply inside of a code block. If it is large, paste it to Pastebin.com and share a link, or create a Github Gist and share a link.
Copy link to clipboard
Copied
Apparently, somewhere is your code, the string "onError" is used as if it has a value of True or False. As Carl says, it would help to see the contents of the file undefined_error.cfm. Perhaps also of index.cfm.
Copy link to clipboard
Copied
Thank you very much. Let's check the file