Nope, nothing more from me. Glad you got it working.
/charlie
From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Ajas Mohammed
Sent: Tuesday, April 21, 2009 4:07 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] CF 7 java Object Instantiation Exception.
Perhaps init issue
Hi Charlie / Brooks,
Sorry for the delay in response.
Brooks, I did end up splitting the big chunk into simpler statements like
this *SignatureElement =
docElement.getElementsByTagNameNS(SignatureSpecNS,"Signature").item(0);
*
Charlie, Good explanation and thats what I thought about my init meth
You have a very compound statement on the line with the error. Could you
break it into several simpler statements. I suspect that the instantation
error is occurring in the inner object's item method (maybe). It looks to
me like this could be three simple statements.
Ajas Mohammed
Sent b
Ajas, it seems your use of the init is fine. It's just that if you want to
call the constructor, you have to use init (and you can't have a real method
of that name within the java class). You pass whatever arguments you want to
call the appropriate constructor, and it should just work (whether you