Problem with Example "Client2"

Leif Wells <[email protected]>
Newsgroups gmane.comp.java.openamf.user
Message-ID <[email protected]>
Greetings,

In preparing for a presentation of using Flash Remoting with OpenAMF,
I located a bug in the current build openamf-1.0RC10.

No, I don't have an error log, but it is really easy to create the problem:

1) Load up the "client2" example.
2) Click "Add Person" to add the default "Bob Monkeyman" person.
3) Click "Get with Name" with the default "Bob" in the text field and
see the information. :-)
4) Add the zipcode 92109 to the field and click "Get with Zip", and
see the information.
5) Re-enter "Bob" and click "Get with Name". 

Then you see the NullPointerException error.

Since I am not (yet) a Java programmer, I do not know how to fix this.
I don't think that it is in the ActionScript. I believe the problem is
either in the Directory.java file or is a problem with OpenAMF.

As I am going to be comparing the AS 1 code to the AS 2 code, I'd love
to figure out what is wrong here.

Thanks to you all.

Leif Wells
Manager, Atlanta Macromedia User Group
Director of Multimedia Services, Roundbox Media


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.