You might get a better error message if you do something like this...
try {
response.setVariable( xmlResponse, answer.toString());
}
catch(Exception e) {
response.write(e.getMessage());
}
just add that for debugging, then take it out.
my guess would be that xmlResponse is not a string, or is null, or is not a
valid variable name (has a space in it) or that answer.toString() is null.
_____________________________________________
Pete Freitag
CTO, CFDEV.COM
http://www.cfdev.com/
-----Original Message-----
From: Craig Dudley [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 26, 2002 8:16 AM
To: CF-Talk
Subject: RE: Java custom tag
Ok, I've rebooted the server (I had only been retsarting the service between
updating the class)
It now sends the XML (SMS arrives) but I get the following error,
java.lang.UnknownError: Unknown error occurred in
Java_com_allaire_cfx_NativeResponse_setVariable. Java exception occurred in
call to method.
Pretty sure that's this line...
response.setVariable( xmlResponse, answer.toString());
I can probably figure it out form there, thanks to everyone who had a look.
Craig.
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists