Skip to main content
August 4, 2016
Answered

HTTP Status 500 - java.lang.NullPointerException help

  • August 4, 2016
  • 2 replies
  • 14453 views

Hello everyone. I am in need to some help. I am migrating servers, and I am getting this error. I can't even get to the CF Admin. What do I do? My google-fu has not been very good on this error.

HTTP Status 500 - java.lang.NullPointerException


type Exception report

message java.lang.NullPointerException

description The server encountered an internal error that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: java.lang.NullPointerException coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:129) coldfusion.bootstrap.BootstrapServlet.init(BootstrapServlet.java:59) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:422) org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:198) org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.lang.Thread.run(Unknown Source) 

root cause

java.lang.NullPointerException coldfusion.CfmServlet.init(CfmServlet.java:97) coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:121) coldfusion.bootstrap.BootstrapServlet.init(BootstrapServlet.java:59) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:422) org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:198) org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313) java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.lang.Thread.run(Unknown Source) 

note The full stack trace of the root cause is available in the Apache Tomcat/7.0.52 logs.


Apache Tomcat/7.0.52

This topic has been closed for replies.
Correct answer BKBK

Yes, you should uninstall, delete all Coldfusion folders and files, then re-install. You will be glad to hear that I installed Coldfusion 11 on Windows Server 2012 R2 a few weeks ago without any problems.

2 replies

rahul_u
Community Manager
Community Manager
August 5, 2016

BKBK
Community Expert
Community Expert
August 5, 2016

First, forget about proceeding with this installation. The messages suggest that it is incomplete. That is typically the kind of error you get when you attempt to install a new Coldfusion version or update on an existing installation.

Try to uninstall or to reverse whatever you have done, and return to the previous, clean starting position. You could then share with us

your existing Coldfusion version and build, your Operating System and what you intend to achieve.

August 5, 2016

So should I uninstall and reinstall ColdFusion? I am working with a new server running Windows Server 2012 R2. ColdFusion version is 11. No hotfixes or anything yet. I'm trying to migrate from CF11 on a server running Windows Server 2008.

BKBK
Community Expert
BKBKCommunity ExpertCorrect answer
Community Expert
August 5, 2016

Yes, you should uninstall, delete all Coldfusion folders and files, then re-install. You will be glad to hear that I installed Coldfusion 11 on Windows Server 2012 R2 a few weeks ago without any problems.