Hi gang.

We've got a ColdFusion 5.1 server, and we're trying to add some functionality 
using Java objects and the CFOBJECT tag.

Now, I've got two classes that I've written, and seem to work fine. If I 
execute them as Java Applications on my localhost, they run ***perfectly***.

On the CF server, though, the Java Object is created successfully, but as soon 
as I try to execute a method, I get the following error:
 java.lang.NullPointerException. Java exception occurred in call to method.

Now the Java class itself has full Exception handling and passes error messages 
back in it's result String, so clearly the method isn't able to run at all.

However, I don't understand why this would be occuring at all -- it won't even 
tell me, for example, that the signature of the method I'm trying to execute 
doesn't match the class. (Which might make sense, but I have no idea how to 
tell which and how. I have checked the parameters a hundred times, and they 
should, as far as I know, match. Whether Java agrees is another matter.)

I've torn out what little hair I had left.

If anyone has advice as to how to debug this application further, it would be 
appreciated more than you'll ever be able to know.

Thanks in advance.

Barrett

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191901
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to