Hi Mark,

On Tue, Feb 9, 2010 at 2:20 PM, Mark Mandel <[email protected]> wrote:

> Sounds like a bug in CF9.



While there seem to be some known issues in CF9 regarding serialization of
aliased CFCs, I've found (since the last post) that I was wrong in pointing
to CF9. Going back to the previous production environment, which was CF8, I
also see a trail of NullPointerExceptions during January. They were in the
JRun logs but not the CF logs.

They seem to relate to three particular method calls, but so far, I haven't
found anything in those methods that could cause the error.

In fact, I can replicate one of the errors now (although it occurs
inconsistently). But here's the odd part: when I view the transaction in
Charles, I see: two requests go out with the same method call.

I don't believe the event is being fired twice in Flex, but I haven't yet
been able to check that thoroughly. It could be that I'm inadvertently
dispatching twice.

However - the two requests go out relatively simultaneously (same second,
anyway). When there is an error, one returns a NullPointerException; the
other returns the correct array of objects expected. I have checked the
params being sent in each request; they are identical.

Additionally, while duplicating the call with the same params again seems to
result again in two requests, I received the correct response from both
requests.

So I'm guessing (and I really mean _guessing_) that the failure is somewhere
in the serialization process. I do know that I recently had a different
issue where the wrong data appeared to be returned to Flex, and I was able
to prove (to myself, anyway) that the same call with the same params to the
same proxy CFC produced different results when called from a plain .cfm page
than when called from the Flex app.

I'm checking into the bug tracker, but if anyone has seen anything similar,
I'd sure like to know. Since I can't replicate the error consistently, it'll
be hard to submit a test case for a bug.

-- 
Thanks,

Tom

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

-- 
Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer

You received this message because you are subscribed to the Google Groups 
"transfer-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/transfer-dev?hl=en

Reply via email to