The Null Pointer exception is a bit odd...

Is this environment both a new CF server and a new DB server? Did you
happen to upgrade to a new version of CF in the new environment? Has the
jvm.config been given more memory than the out-of-the-box defaults?

Are there any other errors appearing in the logs that might help us
pinpoint the problem?


cheers,
Justin

--
Justin Carter
http://www.madfellas.com/blog
http://twitter.com/justincarter


On Thu, Dec 19, 2013 at 3:33 PM, Daniel Murray <[email protected]>wrote:

>  We don’t have an environment in which to replicate the problem at the
> moment.
>
> The common exception seems to be:
>
> "Error","ajp-bio-8012-exec-10","12/19/13","15:04:46",,""
> java.lang.NullPointerException
>
>     at coldfusion.util.Utils.getServletPath(Utils.java:100)
>     at coldfusion.util.Utils.getServletPath(Utils.java:90)
>     at coldfusion.util.Utils.getBaseTemplatePath(Utils.java:419)
>     at
> coldfusion.runtime.TemplateProxyFactory.getTemplateFileHelper(TemplateProxyFactory.java:1567)
>     at
> coldfusion.runtime.MetadataUtils.getComponentMetadata(MetadataUtils.java:112)
>     at
> coldfusion.runtime.CfJspPage.GetComponentMetadata(CfJspPage.java:2744)
>     at
> coldfusion.runtime.TemplateProxy.getRuntimeComponentMetadata(TemplateProxy.java:1940)
>     at
> coldfusion.runtime.TemplateProxy.getRuntimeMetadata(TemplateProxy.java:1801)
>     at coldfusion.runtime.MetadataUtils.getMetaData(MetadataUtils.java:54)
>     at coldfusion.runtime.CfJspPage.GetMetadata(CfJspPage.java:2717)
>     at
> cffourq2ecfc1365114080$funcGETTYPENAME.runFunction(E:\inetpub\wwwroot\farcry\core\packages\fourq\fourq.cfc:1139)
>     at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
>     at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
>     at
> coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
>     at
> coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
>     at
> coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
>     at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
>     at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
>     at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2659)
>     at
> cffourq2ecfc1365114080$funcGETDATA.runFunction(E:\inetpub\wwwroot\farcry\core\packages\fourq\fourq.cfc:824)
>     at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
>     at
> coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
>     at
> coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
>     at
> coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
>     at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
>     at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:518)
>     at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:660)
>     at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:469)
>     at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2373)
>     at
> cfobjectBroker2ecfc1702680654$funcGETWEBSKIN.runFunction(E:\inetpub\wwwroot\farcry\core\packages\lib\objectBroker.cfc:150)
>     at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
>     at
> coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
>     at
> coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
>     at
> coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
>     at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
>     at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:518)
>     at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:660)
>     at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:469)
>     at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2373)
>     at
> cffourq2ecfc1365114080$funcGETVIEW.runFunction(E:\inetpub\wwwroot\farcry\core\packages\fourq\fourq.cfc:273)
>     at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
>     at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
>     at
> coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
>     at
> coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
>     at
> coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
>     at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
>     at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:518)
>     at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:660)
>     at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:469)
>     at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2373)
>     at coldfusion.tagext.lang.InvokeTag.doEndTag(InvokeTag.java:402)
>     at
> cfview2ecfm842659152._factor4(E:\inetpub\wwwroot\farcry\core\tags\webskin\view.cfm:138)
>     at
> cfview2ecfm842659152._factor7(E:\inetpub\wwwroot\farcry\core\tags\webskin\view.cfm:74)
>     at
> cfview2ecfm842659152._factor8(E:\inetpub\wwwroot\farcry\core\tags\webskin\view.cfm:11)
>     at
> cfview2ecfm842659152._factor9(E:\inetpub\wwwroot\farcry\core\tags\webskin\view.cfm:9)
>     at
> cfview2ecfm842659152.runPage(E:\inetpub\wwwroot\farcry\core\tags\webskin\view.cfm:1)
>     at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:244)
>     at
> coldfusion.filter.CFVariablesScopeFilter.invoke(CFVariablesScopeFilter.java:56)
>     at coldfusion.tagext.lang.ModuleTag.doStartTag(ModuleTag.java:296)
>     at
> cfdisplayPageStandard2ecfm1686051472.runPage(E:\inetpub\wwwroot\farcry\projects\farcry_mls\webskin\types\displayPageStandard.cfm:26)
>     at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:244)
>     at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:444)
>     at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2799)
>     at
> cffourq2ecfc1365114080$funcRUNVIEW.runFunction(E:\inetpub\wwwroot\farcry\core\packages\fourq\fourq.cfc:439)
>     at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
>     at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
>     at
> coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
>     at
> coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
>     at
> coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
>     at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
>     at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:518)
>     at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2624)
>     at
> cffourq2ecfc1365114080$funcGETVIEW.runFunction(E:\inetpub\wwwroot\farcry\core\packages\fourq\fourq.cfc:332)
>     at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
>     at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
>     at
> coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
>     at
> coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
>     at
> coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
>     at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
>     at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:518)
>     at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:660)
>     at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:469)
>     at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2373)
>     at coldfusion.tagext.lang.InvokeTag.doEndTag(InvokeTag.java:402)
>     at
> cfview2ecfm842659152._factor4(E:\inetpub\wwwroot\farcry\core\tags\webskin\view.cfm:138)
>     at
> cfview2ecfm842659152._factor7(E:\inetpub\wwwroot\farcry\core\tags\webskin\view.cfm:74)
>     at
> cfview2ecfm842659152._factor8(E:\inetpub\wwwroot\farcry\core\tags\webskin\view.cfm:11)
>     at
> cfview2ecfm842659152._factor9(E:\inetpub\wwwroot\farcry\core\tags\webskin\view.cfm:9)
>     at
> cfview2ecfm842659152.runPage(E:\inetpub\wwwroot\farcry\core\tags\webskin\view.cfm:1)
>     at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:244)
>     at
> coldfusion.filter.CFVariablesScopeFilter.invoke(CFVariablesScopeFilter.java:56)
>     at coldfusion.tagext.lang.ModuleTag.doStartTag(ModuleTag.java:296)
>     at
> cfdisplay2ecfm1944997593._factor5(E:\inetpub\wwwroot\farcry\core\tags\navajo\display.cfm:285)
>     at
> cfdisplay2ecfm1944997593._factor7(E:\inetpub\wwwroot\farcry\core\tags\navajo\display.cfm:269)
>     at
> cfdisplay2ecfm1944997593.runPage(E:\inetpub\wwwroot\farcry\core\tags\navajo\display.cfm:1)
>     at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:244)
>     at
> coldfusion.filter.CFVariablesScopeFilter.invoke(CFVariablesScopeFilter.java:56)
>     at coldfusion.tagext.lang.ModuleTag.doStartTag(ModuleTag.java:296)
>     at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2799)
>     at
> cfindex2ecfm202229370.runPage(E:\inetpub\wwwroot\farcry\projects\farcry_mls\www\index.cfm:22)
>     at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:244)
>     at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:444)
>     at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
>     at coldfusion.filter.IpFilter.invoke(IpFilter.java:64)
>     at
> coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:428)
>     at
> coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
>     at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
>     at coldfusion.filter.PathFilter.invoke(PathFilter.java:112)
>     at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94)
>     at
> coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:79)
>     at
> coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
>     at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
>     at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:58)
>     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:305)
>     at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>     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:243)
>     at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>     at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
>     at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
>     at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
>     at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
>     at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
>     at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928)
>     at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>     at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:414)
>     at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:204)
>     at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539)
>     at
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:298)
>     at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>     at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>     at java.lang.Thread.run(Thread.java:722)
>
>
>
>
> On 19/12/13 12:45 PM, "Blair McKenzie" <[email protected]> wrote:
>
>  The errors should have been logged, like most ColdFusion errors. Did you
> check the exception.log file?
>
> Blair
>
>
> On Thu, Dec 19, 2013 at 11:53 AM, Daniel Murray <[email protected]>
> wrote:
>
> The error is not occurring at the moment, but I believe the error page
> displayed was from Farcry\core\webtop\errors\500.cfm (and had no
> descriptive information). It’s a little concerning that the errors will
> reoccur over the holidays if I remove the <cfabort>s.
>
>
>
> On 19/12/13 11:36 AM, "Blair McKenzie" <[email protected] <
> http://[email protected]> > wrote:
>
>  What is the error being thrown?
>
> Blair
>
>
> On Thu, Dec 19, 2013 at 10:55 AM, Daniel Murray <[email protected] <
> http://[email protected]> > wrote:
>
> Hi,
>
> We recently migrated to a new web server db server. Largely without issue
> initially, but the we started experiencing 500 internal server errors on
> every public facing page. The webtop was still working. The solution was to
> put a <cfabort> at the very end of every template. This allowed the pages
> to display correctly, but we lost the webtop tray (and the ability to edit
> containers etc). Any ideas would be appreciated.
>
> Farcry version 6-2-7
>
> Thanks,
> Daniel.
>
>    --
> You received this message cos you are subscribed to "farcry-dev" Google
> group.
> To post, email: [email protected]
> To unsubscribe, email: [email protected]
> For more options: http://groups.google.com/group/farcry-dev
> --------------------------------
> Follow us on Twitter: http://twitter.com/farcry
> ---
> You received this message because you are subscribed to the Google Groups
> "farcry-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
--- 
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to