• 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: Error when extending from ERXAjaxApplication
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error when extending from ERXAjaxApplication


  • Subject: Re: Error when extending from ERXAjaxApplication
  • From: Mike Schrag <email@hidden>
  • Date: Tue, 29 Sep 2009 13:24:25 -0400

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) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Error when extending from ERXAjaxApplication (From: Matt Stokes <email@hidden>)

  • Prev by Date: Error when extending from ERXAjaxApplication
  • Next by Date: Re: When is a session restoration error noticed?
  • Previous by thread: Error when extending from ERXAjaxApplication
  • Next by thread: Ajax auto complete to one
  • Index(es):
    • Date
    • Thread