Stack overflow in response to form click

*** PLEASE EXCUSE MULTIPLE POSTING
*** I THINK OUR EMAILER MIGHT HAVE DEVOURED THE FIRST COPY

I'm observing some strange behavior when submitting a form under Jigsaw
1.0a5. The form used to work in 1.0a3.  Here's the stack trace (more info
follows):

java.lang.StackOverflowError
        at
w3c.jigsaw.resources.FilteredResource.getValue(FilteredResource.java)
        at w3c.tools.store.AttributeHolder.getBoolean(AttributeHolder.java)
        at
w3c.jigsaw.forms.PostableResource.getConvertGetFlag(PostableResource.
java)
        at w3c.jigsaw.forms.PostableResource.get(PostableResource.java)
        at w3c.jigsaw.forms.FormCardResource.get(FormCardResource.java)
        at w3c.jigsaw.forms.FormCardResource.handle(FormCardResource.java)
        at w3c.jigsaw.forms.PostableResource.get(PostableResource.java)
        at w3c.jigsaw.forms.FormCardResource.get(FormCardResource.java)
        at w3c.jigsaw.forms.FormCardResource.handle(FormCardResource.java)
        at w3c.jigsaw.forms.PostableResource.get(PostableResource.java)
        at w3c.jigsaw.forms.FormCardResource.get(FormCardResource.java)
        at w3c.jigsaw.forms.FormCardResource.handle(FormCardResource.java)
        at w3c.jigsaw.forms.PostableResource.get(PostableResource.java)
        at w3c.jigsaw.forms.FormCardResource.get(FormCardResource.java)
<etc., etc., etc., etc....>
        at w3c.jigsaw.resources.HTTPResource.dispatch(HTTPResource.java)
        at w3c.jigsaw.resources.HTTPResource.perform(HTTPResource.java)
        at w3c.jigsaw.http.httpd.perform(httpd.java)
        at w3c.jigsaw.http.Client.processRequest(Client.java)
        at w3c.jigsaw.http.Client.startConnection(Client.java)
        at w3c.jigsaw.http.socket.SocketClient.run(SocketClient.java)
        at w3c.util.CachedThread.run(ThreadCache.java)
java.lang.NullPointerException
        at w3c.jigsaw.http.socket.SocketClient.join(SocketClient.java)
        at
w3c.jigsaw.http.socket.SocketClientFactory.shutdown(SocketClientFacto
ry.java)
        at w3c.jigsaw.http.httpd.cleanup(httpd.java)
        at w3c.jigsaw.http.httpd.run(httpd.java)
        at java.lang.Thread.run(Thread.java)

I'm using an object that extends GenericResourceEditor, defines a single
FormCardResource that simply has two buttons, and responds to clicking
either one.  It seems to complete the response to the button without a
flaw, but then just before returning a reply, the exceptions begin to flow.

Let me know if I should furnish more information.


PS - The strangest thing of all is that after the exceptions are done being
processed, Jigsaw seems to call notifyButtonClick() a SECOND time.  This
causes a repeat of the whole stack overflow error, and after that, it
doesn't call it again.  By the way, in the browser, once the exceptions
start, I get a "Document contains no data" message.



+---------------------+-------------------------+---------------------+
|    Dave Makower     |    davemak@pencom.com   |   WWW Specialist    |
+---------------------+-------------------------+---------------------+
|     Co-author of "Java Programming Basics" (Henry Holt/MIS:Press)   |
|                 http://www.pencom.com/javabasics/                   |
+----------------------------------+----------------------------------+
|   Pencom Web Works               |   (212) 513-7777   voice         |
|   Pencom Systems Inc.            |   (212) 513-1975   fax           |
|   40 Fulton St.                  |                                  |
|   New York, NY  10038            |   http://www.pencom.com/         |
+----------------------------------+----------------------------------+

Received on Tuesday, 25 February 1997 14:01:42 UTC