Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
vayumahesh #1
null is undefined
Hi,
I am using createObject to instantiate Java classes. I am getting variable
null is undefined error when calling the constructor.
<cfset ht = createObject("java","java.util.Hashtable")>
<cfset ctx = createObject("java","javax.naming.ldap.InitialLdap Context")>
<cfset ctx = ctx.init(ht,null)>
Any help would be appreciated.
Thanks,
VMRao
vayumahesh Guest
-
Stuck email, getting error "undefined mailbox domainstring is null"
Recently there have been numerous emails in our system that are being moved to the undelivered folder. The following is the error that displays in... -
NULL NULL Error
I have run out of things to check for and could use some help. We are on a unix box, CFMX 7, and have started to use the CFDOCUMENT tag. The tag... -
"null null" error on line -1
Hi, A different, new, ocasional error this time. Since we are using CFMX7, occasionally we get this error: " Application Exception Monitor... -
What is an undefined offset? An undefined index?
I just switched error_reporting to ALL so I could debug my site. I got a huge page full of errors. One of the most common was that in my arrays I'm... -
Error: ?null? is null or not an object
eloine: That is a bogus error message in that it probably refers to something you have done (or not done) on the page. So, looking in the... -
mxstu #2
Re: null is undefined
If you're using MX 7, try using javacast() with type "null".
mxstu Guest
-
vayumahesh #3
Re: null is undefined
Thanks. I used <cfset ctx = ctx.init(ht,javaCast("null", ""))> and it worked.
vayumahesh Guest



Reply With Quote

