Re: Error when extending from ERXAjaxApplication
Re: Error when extending from ERXAjaxApplication
- Subject: Re: Error when extending from ERXAjaxApplication
- From: Matt Stokes <email@hidden>
- Date: Fri, 2 Oct 2009 01:00:48 -0400
Mike:
>>> You're getting backtrack errors doing what and using which components?
It is a test app based on the Ajax Example.
Using AjaxTab + AjaxTextHinter + AjaxAutocomplete.
Two of the 3 tabs have simple forms (which is where I use the Autocomplete and pre-filled text hints).
BTW, when I see backtrack limit of 30 exceeded errors, nothing is displayed in the eclipse console.
How can I log these errors so I can figure out what I am doing wrong
thanks for the tip below.
Matt
P.S: I have not been able to get Ajax Text Hints working in any tab other than the first one. Could this be related to back tracking error?
On Tue, Sep 29, 2009 at 1:24 PM, Mike Schrag
<email@hidden> wrote:
ERXApplication itself extends ERXAjaxApplication ... You're not getting @unique because ERXAjaxApplication doesn't do any of the other Wonder extensions other than just enough to support Ajax. I'd need more info about the backtrack errors to be able to help you there. You're getting backtrack errors doing what and using which components?
ms
On Sep 29, 2009, at 12:15 PM, Matt Stokes wrote:
This is what I had - but I got occasional back track limit exceed errors:
public class Application extends ERXApplication {
public static void main(String[] argv) {
ERXApplication.main(argv, Application.class);
}
So now Application class extends from ERXAjaxApplication
public class Application extends ERXAjaxApplication {
public static void main(String[] argv) {
ERXAjaxApplication.main(argv, Application.class);
}
But I get these errors. It is almost as if it does not find the ERXExtensions framework and the ERXArrayUtilities class.
A fatal exception occurred: No key operator available to compute aggregate @unique.divisions.title
java.lang.IllegalArgumentException: No key operator available to compute aggregate @unique.divisions.title
at com.webobjects.foundation.NSArray._valueForKeyPathWithOperator(NSArray.java:746)
at com.webobjects.foundation.NSArray.valueForKeyPath(NSArray.java:778)
at com.dgk.Application.<init>(Application.java:87)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:501)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at com.webobjects.appserver.WOApplication.main(WOApplication.java:547)
at com.dgk.Application.main(Application.java:70)
If I switch back to extending from ERXApplication, it finds it (@unique) and loads fine.
But then I get occasional backtracking errors.
Matt
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
This email sent to email@hidden
_______________________________________________
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
_______________________________________________
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