Skip to main content
Participant
July 12, 2006
Question

The system has attempted to use an undefined value

  • July 12, 2006
  • 2 replies
  • 892 views
Hi all,

Since a few days I am getting this 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.

I have an Application.cfc, which worked just fine a week ago. Now it causes this error. If I rename the file to Application.cfx, the pages run without the above error (I get other errors because there is no Application of course). If I delete the entire contents of the Application.cfc, I still get this error - which made me beleive it isn't something in my code. I also do not get an error line where the error occured or something - just plain this error message.

I already contacted the hosting provider. They are going to check whether they did an upgrade or something on the server. In the meanwhile, anybody out there who had this same problem or who knows what may cause it? Thanks!!
    This topic has been closed for replies.

    2 replies

    BKBK
    Community Expert
    Community Expert
    July 12, 2006
    To test whether the problem is caused by the Application Framework, temporarily switch to Application.cfm, including in it

    <cfapplication name="appName_test"
    setClientCookies = "yes"
    loginStorage = "session"
    sessionManagement = "yes"
    sessionTimeout = "#CreateTimeSpan(0,0,10,0)#"
    applicationTimeout = "#CreateTimeSpan(1,0,0,0)#">

    Change the application name, as the old application could still be active in memory. Do you still get the error?

    November 8, 2006
    Hi guys!

    We had the same problem with the CFC components after the installation of the HOTFIX 2 on our ColdFusion 7.0.1: they didn't work!

    The only solution was to disable the CF sandbox as suggested by Steve Nguyen on the houseoffusion site.

    By the way, this was not the solution we were looking for!

    If you have some news about this problem, please post them on the forum!!!

    Thanks in advance

    WT_max
    Participant
    July 12, 2006
    http://www.houseoffusion.com/cf_lists/message.cfm/forumid:10/messageid:5980, there somebody with the same problem. The host said he has installed a hotfix (didn't know which one yet), so this might be the cause. No real sollution to this problem on the internet. Anyone?