Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CF Admin NullPointerException

New Here ,
Apr 06, 2011 Apr 06, 2011

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)
3.0K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 07, 2011 Apr 07, 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)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 07, 2011 Apr 07, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 07, 2011 Apr 07, 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)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 08, 2011 Apr 08, 2011

@Charlie - I went to the logs and they have not been touched since 4.6.11. So the attempts I made today to load the pages did not do a thing. So it seems to not even hit that point.

Any other thoughts?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 07, 2011 Apr 07, 2011

Are you able to run any other CF pages? If you haven't tried, can you create a simple CF page, drop it in your web root, and try it?

Dave Watts, CTO, Fig Leaf Software

http://www.figleaf.com/

http://training.figleaf.com/

Dave Watts, Eidolon LLC
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 08, 2011 Apr 08, 2011

@Dave - I tried that and could not run any cfm page at all. That is why I am thinking that something is goofy in my CF install...like I did something incorrectly while going through the Freitag guide.

Any other thoughts?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 08, 2011 Apr 08, 2011
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources