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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to