• 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
Re: Missing Page Name on POST
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Missing Page Name on POST


  • Subject: Re: Missing Page Name on POST
  • From: Hunter Hillegas <email@hidden>
  • Date: Fri, 09 May 2008 11:57:30 -0700

Hey Lachlan,

Thanks for the reply.

On May 9, 2008, at 11:37 AM, Lachlan Deck wrote:

I am maintaining an application that hasn't had a lot of development for the past 18 months or so. I recently discovered a form submission is failing (stack trace below).

I don't know how long this has been happening but it certainly worked at some time.
The system is running on WO5.2.4 but I also tested it on 5.4.2 with the same results.

I assume you've tried a fresh build of the project...

Yes but for the sake of being thorough, I just did that again and re- built. No change, same error.




The component itself is a very vanilla form with a few fields and an image button submit.
Any ideas? I couldn't find anything interesting via Google so I thought I would ask here.

Might need a few more details. e.g., relevant bindings?

Sure:

PrivacyAgree: WOCheckBox {
	class = "pp";
	checked = readPrivacyPolicy;
}

Hyperlink1: WOHyperlink {
	actionClass = "DirectAction";
	directActionName = "privacy";
	onclick = "o(this.href,'x','510','550','yes');return false";
	title = "Privacy Policy";
}

SubmitButton: WOImageButton {
	class = "btn";
	name = "submit";
	src = "/btn-submit.gif";
	action = addToMailingList;
}

Country: WOPopUpButton {
	displayString = theCountryItem.itemName;
	item = theCountryItem;
	list = theCountryList;
	selection = selectedCountryDict;
}

StateProvince: WOPopUpButton {
	displayString = theUSStateItem.itemName;
	item = theUSStateItem;
	list = theUSStateList;
	selection = selectedStateDict;
}

MailingListForm : WOForm {
}

Anything else I can provide that would be helpful?

'SubmitButton' fires the 'addToMailingList' action - I have an NSLog statement as the first line of 'addToMailingList' and it has not been triggered so this exception seems to be firing before I even get into my action.



57952 [WorkerThread3] WARN NSLog - <com.webobjects.appserver._private.WOComponentRequestHandler>: Exception occurred while handling request:
java.lang.IllegalStateException: <com.webobjects.appserver._private.WOHyperlink> : Missing page name.
[2008-5-9 11:15:54 PDT] <WorkerThread3> java.lang.IllegalStateException: <com.webobjects.appserver._private.WOHyperlink> : Missing page name.
at com .webobjects .appserver._private.WOHyperlink.invokeAction(WOHyperlink.java:100)
at com .webobjects .appserver ._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java: 105)
at com .webobjects .appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java: 115)
at com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java: 1079)
at com.webobjects.appserver.WOSession.invokeAction(WOSession.java: 1357)
at com .webobjects.appserver.WOApplication.invokeAction(WOApplication.java: 1745)
at com .webobjects .appserver ._private .WOComponentRequestHandler ._dispatchWithPreparedPage(WOComponentRequestHandler.java:206)
at com .webobjects .appserver ._private .WOComponentRequestHandler ._dispatchWithPreparedSession(WOComponentRequestHandler.java:298)
at com .webobjects .appserver ._private .WOComponentRequestHandler ._dispatchWithPreparedApplication(WOComponentRequestHandler.java:332)
at com .webobjects .appserver ._private .WOComponentRequestHandler ._handleRequest(WOComponentRequestHandler.java:369)
at com .webobjects .appserver ._private .WOComponentRequestHandler .handleRequest(WOComponentRequestHandler.java:445)
at com .webobjects .appserver.WOApplication.dispatchRequest(WOApplication.java:1687)
at com .webobjects .appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144)
at com .webobjects .appserver._private.WOWorkerThread.run(WOWorkerThread.java:226)
at java.lang.Thread.run(Thread.java:613)

_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Missing Page Name on POST
      • From: Lachlan Deck <email@hidden>
References: 
 >Missing Page Name on POST (From: Hunter Hillegas <email@hidden>)
 >Re: Missing Page Name on POST (From: Lachlan Deck <email@hidden>)

  • Prev by Date: Need help in calling a method defined in the .java file from a javascript fired from a javascript event
  • Next by Date: Re: FBL
  • Previous by thread: Re: Missing Page Name on POST
  • Next by thread: Re: Missing Page Name on POST
  • Index(es):
    • Date
    • Thread