Hi,

I have a relatively complex application that uses a Flex app as a front end.
Recently, I have begun to see a spate of NullPointerExceptions being
generated when methods are called from the Flex app. The calls are
Flash/Flex Remoting calls, not directly to Blaze.

I have seen these on both CF8 and 9, although they seem more frequent on
CF9. (I'm aware that CF9 uses Blaze under the hood for its Flash Remoting.)

These errors are not consistent. They do not necessarily occur every time a
method is fired. I have seen instances where the same method is called twice
within a second, with the same parameters, and the first request generates a
NullPointerException, while the second returns correctly. Sometimes,
however, it seems as if a given method begins returning the exception in all
cases. But the next day, the same method may work fine.

The CF side uses Transfer and Coldspring. In both cases, I'm using the most
recent stable release. For Transfer, that means 1.1g, which is built to work
with CF9.

Since the exceptions are pretty opaque (they only reference templates within
the core CF files, not my application files), and the occurrence is
inconsistent, I'm having a problem even guessing what might be going on. The
best I can do is suppose that the problem is occurring within the gateway,
since I've never had a problem calling the same methods via a .cfm page
during testing. A few of the errors do suggest that the problem occurred
during the gateway's serialization of an object; but many don't.

Any thoughts would be very welcome at this point. I'll be happy to provide
any further information that someone thinks might be helpful.

-- 
Thanks,

Tom

Tom McNeer
MediumCool
http://www.mediumcool.com
1735 Johnson Road NE
Atlanta, GA 30306
404.589.0560


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330582
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to