Problem:
Created a java service that returned a Map (HashMap) back to my flex app. The service was working fine. After adding a bunch of code I ran the test app to test my service again... and the service didn't return. Couldn't for the life of me figure out why. Finally I narrowed it down to the call stopping @ the AMF Gateway.
The call looked like this:
Flex App ---> AMF Gateway --> Java Object |
\|/
(no answer) <-- AMF Gateway <-- Java Object
I knew it was dying at the AMF Gateway because the Java Object was returning when I stepped through it with the debugger.
Solution:
An entry was added to the database (while I was working) that had a null value in the column that I was using as the key for the HashMap. Java didn't choke on it. but the AMF gateway was and not throwing an error about it.
I've taken 2 steps to prevent the problem:
1. Told the dba to make the column not null.
2. My java code checks for null.
Anyone think I should file a bug?
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

