• 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: Quick ERXEnterpriseObject newly inserted Question --
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quick ERXEnterpriseObject newly inserted Question --


  • Subject: Re: Quick ERXEnterpriseObject newly inserted Question --
  • From: Jesse Tayler <email@hidden>
  • Date: Fri, 17 Dec 2010 16:26:39 -0500

Oh thanks - !

On Dec 17, 2010, at 3:53 PM, Ramsey Gurley wrote:

> I didn't replicate the ERCore templates identically.  I don't have the static variables wrapped in the Key interface.  You should not need to regenerate anything under ERCore.

To init() an object nicely, I thought I might should say:

setAuthor(User.clazz.currentUser(editingContext()));

Which doesn't resolve for me, so I wrote it out like this instead:

setAuthorRelationship((User) ((User)ERCoreBusinessLogic.actor()).localInstanceIn(editingContext()));

Which seems to work in testing, but I wanted to adopt the most modern approach since everything on this project is new.

> You are implementing ERCoreUserInterface on your user entity and you are setting it on the thread local with ERCoreBusinessLogic.setActor(...)? If you can post the stack trace, I may be able to tell you why you are crashing.

I setup the actor in the session correctly... _I think_

I gett his error, no crash, I was under an impression that it would resolve once I got my template in order, but you suggest that the Core should be ok, so I look forward to insight on this if you have--



Dec 17 16:04:10 WOMan[59945] ERROR er.corebusinesslogic.ERCoreBusinessLogic  - Error while setting getting actor's preferences: java.lang.RuntimeException: ERXUtilites: localInstancesOfObjects: Array is null
RuntimeException: ERXUtilites: localInstancesOfObjects: Array is null
 at er.extensions.eof.ERXEOControlUtilities.localInstancesOfObjects(ERXEOControlUtilities.java:93)


 _______________________________________________
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: Quick ERXEnterpriseObject newly inserted Question --
      • From: Ramsey Gurley <email@hidden>
References: 
 >Quick ERXEnterpriseObject newly inserted Question -- (From: Jesse Tayler <email@hidden>)
 >Re: Quick ERXEnterpriseObject newly inserted Question -- (From: Ramsey Gurley <email@hidden>)
 >Re: Quick ERXEnterpriseObject newly inserted Question -- (From: Jesse Tayler <email@hidden>)
 >Re: Quick ERXEnterpriseObject newly inserted Question -- (From: David Holt <email@hidden>)
 >Re: Quick ERXEnterpriseObject newly inserted Question -- (From: Anjo Krank <email@hidden>)
 >Re: Quick ERXEnterpriseObject newly inserted Question -- (From: David Holt <email@hidden>)
 >Re: Quick ERXEnterpriseObject newly inserted Question -- (From: "Ricardo J. Parada" <email@hidden>)
 >Re: Quick ERXEnterpriseObject newly inserted Question -- (From: David Holt <email@hidden>)
 >Re: Quick ERXEnterpriseObject newly inserted Question -- (From: "Ricardo J. Parada" <email@hidden>)
 >Re: Quick ERXEnterpriseObject newly inserted Question -- (From: David Holt <email@hidden>)
 >Re: Quick ERXEnterpriseObject newly inserted Question -- (From: "Ricardo J. Parada" <email@hidden>)
 >Re: Quick ERXEnterpriseObject newly inserted Question -- (From: "Ricardo J. Parada" <email@hidden>)
 >Re: Quick ERXEnterpriseObject newly inserted Question -- (From: Jesse Tayler <email@hidden>)
 >Re: Quick ERXEnterpriseObject newly inserted Question -- (From: David Holt <email@hidden>)
 >Re: Quick ERXEnterpriseObject newly inserted Question -- (From: Ramsey Gurley <email@hidden>)
 >Re: Quick ERXEnterpriseObject newly inserted Question -- (From: Jesse Tayler <email@hidden>)
 >Re: Quick ERXEnterpriseObject newly inserted Question -- (From: Ramsey Gurley <email@hidden>)

  • Prev by Date: Better key path creation
  • Next by Date: Re: Quick ERXEnterpriseObject newly inserted Question --
  • Previous by thread: Re: Quick ERXEnterpriseObject newly inserted Question --
  • Next by thread: Re: Quick ERXEnterpriseObject newly inserted Question --
  • Index(es):
    • Date
    • Thread