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

Error when extending from ERXAjaxApplication


  • Subject: Error when extending from ERXAjaxApplication
  • From: Matt Stokes <email@hidden>
  • Date: Tue, 29 Sep 2009 12:15:29 -0400


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

  • Follow-Ups:
    • Re: Error when extending from ERXAjaxApplication
      • From: Mike Schrag <email@hidden>
  • Prev by Date: java.lang.NoSuchMethodError: er.ajax.AjaxResponse.setHeaders
  • Next by Date: Re: Error when extending from ERXAjaxApplication
  • Previous by thread: Re: java.lang.NoSuchMethodError: er.ajax.AjaxResponse.setHeaders
  • Next by thread: Re: Error when extending from ERXAjaxApplication
  • Index(es):
    • Date
    • Thread