W3C home > Mailing lists > Public > www-jigsaw@w3.org > January to February 1997

Stack overflow in response to form click

From: Dave Makower <davemak@pencom.com>
Date: Thu, 20 Feb 1997 17:00:30 -0500
Message-Id: <l0302090faf32763f39ae@[192.168.112.81]>
To: Jigsaw Mailing List <www-jigsaw@w3.org>
Cc: MetaMagic.Group:;
I'm observing some strange behavior when submitting a form that 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.



+---------------------+-------------------------+---------------------+
|    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 Thursday, 20 February 1997 18:48:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:26 GMT