Skip to main content
January 2, 2009
Question

500 Null Pointer Exception

  • January 2, 2009
  • 1 reply
  • 1226 views
Naturally as Murphy's law states, our main guy left and I am still pretty new with CF as the sys admin, and we are looking to upgrade our servers. So on my development box, I have CF8 loaded, pages were working, and on an update, not sure as I don't think it was an apache one I am getting the following 500 error on the page;

java.lang.NullPointerException
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:283)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

Nothing in the apache logs, but the cfserver log shows the following;
Server coldfusion ready (startup time: 7 seconds)
java.lang.NullPointerException
at coldfusion.CfmServlet.init(CfmServlet.java:74)
at coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:94)
at coldfusion.bootstrap.BootstrapServlet.init(BootstrapServlet.java:59)
at jrun.servlet.WebApplicationService.loadServlet(WebApplicationService.java:1213)
at jrun.servlet.JRunRequestDispatcher.init(JRunRequestDispatcher.java:862)
at jrun.servlet.JRunRequestDispatcher.<init>(JRunRequestDispatcher.java:101)
at jrun.servlet.WebApplicationService.getDispatcher(WebApplicationService.java:869)
at jrun.servlet.ServletEngineService$1.fetch(ServletEngineService.java:513)
at jrunx.util.Cache.get(Cache.java:116)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:539)
at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
01/02 12:23:59 user failed to load: coldfusion.CfmServlet
01/02 12:23:59 error
[1]java.lang.NullPointerException

I am not sure if that helps, if not let me know what to post and I will as well.

thanks for any/all suggestions.
    This topic has been closed for replies.

    1 reply

    Charlie Arehart
    Community Expert
    Community Expert
    January 2, 2009
    xkaliburx, I would recommend you look at other logs, not just the server.log (and I assume you meant that, not cfserver.log). Besides others in the [cf]\logs\ directory, see also those in the [cf]\runtime\logs (or [jrun4]\logs, if using the multiserver/multiple instance mode of CF deployment.

    Often those other logs have much more info on what's gone wrong. I don't recognize anything from what you've offered, though perhaps someone else here may.
    /Charlie (troubleshooter, carehart. org)