• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Click of any button on page throws exception
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Click of any button on page throws exception


  • Subject: Click of any button on page throws exception
  • From: Kamal Shah <email@hidden>
  • Date: Sat, 8 Mar 2003 17:36:54 +0530

Hi,

I have a component on which there is a form with a few repetitions, conditionals, text fields and submit buttons. When I click on any of the submit buttons, I get an IndexOutOfBounds exception. I tried giving log statements in the code and found that the action methods are not called. I think there may be something wrong with the WORequest object. When I try to print it in the Session's takeValuesFromRequest, I get a NullPointerException. Here is the stack trace of the actual IndexOutOfBoundsException:

<com.webobjects.appserver._private.WOComponentRequestHandler>: Exception occurred while handling request:
java.lang.IndexOutOfBoundsException
[2003-03-08 16:50:00 IST] <WorkerThread3> java.lang.IndexOutOfBoundsException
at java.io.BufferedInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at com.webobjects.appserver._private.WONoCopyPushbackInputStream.read(WONoC opyPushbackInputStream.java:149)
at com.webobjects.appserver._private.WOHttpIO.refillInputBuffer(WOHttpIO.ja va:133)
at com.webobjects.appserver._private.WOHttpIO.readLine(WOHttpIO.java:189)
at com.webobjects.appserver.WOMultipartIterator$WOFormData._initHeaders(WOM ultipartIterator.java:417)
at com.webobjects.appserver.WOMultipartIterator$WOFormData.<init>(WOMultipa rtIterator.java:402)
at com.webobjects.appserver.WOMultipartIterator._nextFormData(WOMultipartIt erator.java:308)
at com.webobjects.appserver.WORequest._getFormValuesFromMultipartFormData(W ORequest.java:1692)
at com.webobjects.appserver.WORequest.formValues(WORequest.java:1380)
at com.webobjects.appserver.WORequest.toString(WORequest.java:310)
at java.lang.String.valueOf(Unknown Source)
at java.lang.StringBuffer.append(Unknown Source)
at Session.takeValuesFromRequest(Session.java:133)
at com.webobjects.appserver.WOApplication.takeValuesFromRequest(WOApplicati on.java:1288)
at Application.takeValuesFromRequest(Application.java:95)
at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWit hPreparedPage(WOComponentRequestHandler.java:189)
at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWit hPreparedSession(WOComponentRequestHandler.java:287)
at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWit hPreparedApplication(WOComponentRequestHandler.java:322)
at com.webobjects.appserver._private.WOComponentRequestHandler._handleReque st(WOComponentRequestHandler.java:358)
at com.webobjects.appserver._private.WOComponentRequestHandler.handleReques t(WOComponentRequestHandler.java:432)
at com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.jav a:1244)
at com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread. java:167)
at com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java :248)
at java.lang.Thread.run(Unknown Source)



What could the problem be?

Thanks.
Kamal
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Click of any button on page throws exception
      • From: Art Isbell <email@hidden>
  • Prev by Date: Re: WO Authentication
  • Next by Date: Re: WebObjects Developer's Guide?
  • Previous by thread: Need Help with D2JC Rule System
  • Next by thread: Re: Click of any button on page throws exception
  • Index(es):
    • Date
    • Thread