Skip to main content
Known Participant
April 6, 2011
Question

CF Admin NullPointerException

  • April 6, 2011
  • 2 replies
  • 3127 views

I am setting up a new server and running through Peter Freitag's lockdown document. I am at the point where I need to set the default scriptsrc. When I go to the cf admin page, I get the following error. Has anyone seen this before? Is it a permissions issue or what? Thanks in advance.

500

java.lang.NullPointerException
     at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:285)
     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)
    This topic has been closed for replies.

    2 replies

    fs22Author
    Known Participant
    April 8, 2011

    Okay...I believe I figured it out. I went backwards and re-setup CF Server. I believe the issue I was facing was not a CF issue at all, but rather a permissions issue. I think I set the permissions incorrectly on the CF9 install directory for the CF user I created. Once I went back through, everything went well. Thanks for the tips.

    Charlie Arehart
    Community Expert
    Community Expert
    April 7, 2011

    That's certainly an odd error. Are you saying you get that when you visit the page for setting that? Or when you submit the change? If the latter, it could be related to CF trying to write the results (though the error doesn't really indicate that, I realize.) Just a guess at this point.

    If it's the former, do you get the error on visiting any other pages in the CF Admin? If so, I would wonder if perhaps this broke after you applied any CF hotfixes. There are several recent ones that require you to edit files in the CFIDE (and many other) directories, and you could either have misapplied them (easy to do) or applied them to a CFIDE other than the one that you are now using. I see it all the time.

    Clarify as well for us what specific version of CF you're using (8/9? Enterprise/Dev/Standard? If Enterprise of Developer, is it Server/Multiserver/J2EE?). Also, what hotfixes have been applied, if you can recall (there's no mechanism that tracks them for you.)

    /charlie arehart

    charlie@carehart.org

    Providing fast, remote, on-demand troubleshooting services for CF (and CFBuilder)

    More at http://www.carehart.org/consulting

    /Charlie (troubleshooter, carehart. org)
    fs22Author
    Known Participant
    April 7, 2011

    Charlie,

    First off...love the meetups...have learned a ton.

    Now to the issue at hand...I am getting that error right when I try to go into cfadmin. I do not even see the cfadmin page. So it is prior to changing any settings within the cfadmin. I cannot test whether I get the error on other pages since I cannot even get to the index page. I am attempting to setup CF9 standard single install. I have not applied any hot fixes as of yet, although I plan on applying 9.01 during this process. I am thinking that there is something I set incorrectly while going through the guide, but this error is pretty cryptic. If you could point me in the right direction, it would be appreciated.

    Charlie Arehart
    Community Expert
    Community Expert
    April 7, 2011

    Sorry for the delay in replying. I read andreply to these forums by email, and for some reason there is a problem where emails are sometimes not being delivered (in either direction: in this case, I never got an email about your reply above. In other threads, I replied (at the same time I did to your first note) and somehow my replies never made it. Grr!)

    As for your challenge, thanks for all the answers (and the kind regards). I would propose that the best next step for you is to look beyond the error message I assume you saw on screen and instead look instead in the CF console log. Since you're on CF Standard, and assuming you're on Windows, you'd look in the \coldfusion9\runtime\logs (not \coldfusion9\logs), and see what they show when you visit the page. It's clear that CF is indeed processing your request, but having an error. Hopefully there's more detail there.

    /charlie

    /Charlie (troubleshooter, carehart. org)