Link to home
Start Free TrialLog in
Avatar of mobrien118

asked on

The system has attempted to use an undefined value

I am getting this incredibly annoying error, but ONLY on my production server, not on test. It only happens when I try to access a .CFC file. it happens when I try to access ANY .CFC file. Also, the /CFIDE/ directory is not available to the applications which means that none of the CFFORM validation functions work, and I'd immagine there is other deminished functionality. I'm not so worried about the /CFIDE/ directory problem, I just thought they might be related and I need to put this thing into production and this is the only thing holding me back. Also, I need to do it by tomorrow morning at 9. Please Help! Here is the error:

The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code.

Null Pointers are another name for undefined values.

    * Check the ColdFusion documentation to verify that you are using the correct syntax.
    * Search the Knowledge Base to find a solution to your problem.

Browser         Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20060909 Firefox/
Remote Address
Date/Time         17-Sep-06 08:43 AM
Stack Trace

      at coldfusion.runtime.ServletContextWrapper.doGetRealPath(
      at coldfusion.runtime.ServletContextWrapper.getRealPath(
      at coldfusion.runtime.TemplateProxyFactory.getFullName(
      at coldfusion.runtime.TemplateProxyFactory.resolveName(
      at coldfusion.runtime.TemplateProxyFactory.resolveName(
      at coldfusion.runtime.TemplateProxyFactory.resolveName(
      at coldfusion.runtime.TemplateProxyFactory.resolveFile(
      at coldfusion.filter.ComponentFilter.invoke(
      at coldfusion.filter.ApplicationFilter.invoke(
      at coldfusion.filter.BrowserDebugFilter.invoke(
      at coldfusion.filter.PathFilter.invoke(
      at coldfusion.filter.ExceptionFilter.invoke(
      at coldfusion.filter.ClientScopePersistenceFilter.invoke(
      at coldfusion.filter.BrowserFilter.invoke(
      at coldfusion.filter.GlobalsFilter.invoke(
      at coldfusion.filter.DatasourceFilter.invoke(
      at coldfusion.xml.rpc.CFCServlet.invoke(
      at coldfusion.xml.rpc.CFCServlet.doGet(
      at javax.servlet.http.HttpServlet.service(
      at org.apache.axis.transport.http.AxisServletBase.service(
      at javax.servlet.http.HttpServlet.service(
      at coldfusion.bootstrap.BootstrapServlet.service(
      at jrun.servlet.ServletInvoker.invoke(
      at jrun.servlet.JRunInvokerChain.invokeNext(
      at jrun.servlet.JRunRequestDispatcher.invoke(
      at jrun.servlet.ServletEngineService.dispatch(
      at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(
      at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(

Avatar of gdemaria
Flag of United States of America image

 go into your web server (IIS?) and add /CFIDE/ as a virtual directory pointing to the CFIDE folder something like..


 Regarding your error, you have a variable that you are using and is not yet defined.   The error message pasted in doesn't show the name of the variable or line number from what I can see, perhaps getting the /cfide directory in place may give you this information.

 A good rule of thumb is to place a <cfparam> tag at the top of the file for each variable that you are expecting to receive.   Often if the page is receiving a form submit, it may be caused by a checkbox that is not checked (unchecked checkboxes do not create a form variable).

 <cfparam name="form.my_checkbox" value="No">

 <cfif form.my_checkbox is "yes">  <!---- its being used here, make sure the <cfparam is above ---->

  Try to see what variables you use but don't have set yet.
Avatar of mobrien118


My server administrator discovered that the problem is caused by our authentication software in combination with the way CF handles remote .CFC calls.

The problem is internal and thus cannot be solved on this forum. Thank you, gdemaria, for your effort, but I am going to have to request that the administrator close this request.

Avatar of Computer101
Flag of United States of America image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I've experienced this error after upgrading MySQL from 4 to 5

I've put together this small article on how to temporarily fix it until a hot fix is released from Adobe:

I hope it helps