In my application.cfm I load up a ColdFusion component for AD LDAP interaction. Loading the component in the below manner in CFMX6.1 causes no problems, but in CFMX7 gives this error:
My code:
It specifically indicates that line 121 is to blame. Any help would be appreciated.
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.
My code:
Code:
119 : <!--- load an ldap cfc into application scope --->
120 : <cfif not structKeyExists(application, "isReady") or structKeyExists(url, "resetapp")>
121 : <cfset application.ldapCFC = CreateObject("component","templates.components.ldap_ad").init()>
122 : <cfset application.isReady = true>
123 : </cfif>
It specifically indicates that line 121 is to blame. Any help would be appreciated.