• 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: Classcastexception _EOCheapMutableArray Solved
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Classcastexception _EOCheapMutableArray Solved


  • Subject: Re: Classcastexception _EOCheapMutableArray Solved
  • From: Don Lindsay <email@hidden>
  • Date: Sun, 9 Dec 2007 22:19:03 -0500

But then if I de-selected everything from a wotomany it would result in an error? I am not able to duplicate that with the other wotomany. I can deselect all items and not experience the error.

Don
On Dec 9, 2007, at 10:13 PM, Lachlan Deck wrote:

On 10/12/2007, at 1:28 PM, Don Lindsay wrote:

Hello Lachlan;

I know there is no data in the TrainingOrgAssoc table for the user. Does a row have to exist in a relationship entity before using a WOToManyRelationship?

I believe so - otherwise it won't be of much use to a user. You can wrap it in a conditional if need be... and even show them in another condition an option to create one.


On Dec 9, 2007, at 7:23 PM, Lachlan Deck wrote:

On 10/12/2007, at 11:07 AM, Don Lindsay wrote:

I have this one working. But now I have implemented another wotomanyrealationship. The structure is exactly the same ag the mgtOfc except it is for training. when I try to load the page with that wotomany on it I get the follow error trace.

dwtm
Error: java.lang.NullPointerException
Reason:
Stack trace:
File Line# Method Package
EOSortOrdering.java 605 _genericCompareTo com.webobjects.eocontrol
EOSortOrdering.java 644 compareAscending com.webobjects.eocontrol
EOSortOrdering.java 522 compareValues com.webobjects.eocontrol
EOSortOrdering.java 363 compare com.webobjects.eocontrol
_NSCollectionPrimitives.java 306 K2SortArray com.webobjects.foundation
EOSortOrdering.java 202 _sortUsingKeyOrderArray com.webobjects.eocontrol
EOSortOrdering.java 254 sortArrayUsingKeyOrderArray com.webobjects.eocontrol
_WOJExtensionsUtil.java 94 _sortEOsUsingSingleKey com.webobjects.woextensions
WOToManyRelationship.java 456 theList com.webobjects.woextensions
NativeMethodAccessorImpl.java NA invoke0 sun.reflect
NativeMethodAccessorImpl.java 39 invoke sun.reflect
DelegatingMethodAccessorImpl.java 25 invoke sun.reflect
Method.java 585 invoke java.lang.reflect
NSKeyValueCoding.java 684 methodValue com.webobjects.foundation
NSKeyValueCoding.java 1160 valueInObject com.webobjects.foundation
NSKeyValueCoding.java 1268 valueForKey com.webobjects.foundation
WOComponent.java 1539 valueForKey com.webobjects.appserver
NSKeyValueCoding.java 498 valueForKey com.webobjects.foundation
NSKeyValueCodingAdditions.java


What would cause EOSortOrdering to fail like this?

I'd need more info... but EOSortOrdering will not deal (gracefully) with missing data. So I'm guessing that you're attempting to use a display key (or something) where the data is actually null.


with regards,
--

Lachlan Deck



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com


This email sent to email@hidden


with regards, --

Lachlan Deck



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com


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
  • Follow-Ups:
    • Re: Classcastexception _EOCheapMutableArray Solved
      • From: Lachlan Deck <email@hidden>
References: 
 >Classcastexception _EOCheapMutableArray (From: Don Lindsay <email@hidden>)
 >Re: Classcastexception _EOCheapMutableArray (From: Chuck Hill <email@hidden>)
 >Re: Classcastexception _EOCheapMutableArray (From: Don Lindsay <email@hidden>)
 >Re: Classcastexception _EOCheapMutableArray (From: Don Lindsay <email@hidden>)
 >Re: Classcastexception _EOCheapMutableArray (From: Don Lindsay <email@hidden>)
 >Re: Classcastexception _EOCheapMutableArray (From: Lachlan Deck <email@hidden>)
 >Re: Classcastexception _EOCheapMutableArray (From: Don Lindsay <email@hidden>)
 >Re: Classcastexception _EOCheapMutableArray (From: Lachlan Deck <email@hidden>)
 >Re: Classcastexception _EOCheapMutableArray (From: Don Lindsay <email@hidden>)
 >Re: Classcastexception _EOCheapMutableArray Solved (From: Don Lindsay <email@hidden>)
 >Re: Classcastexception _EOCheapMutableArray Solved (From: Lachlan Deck <email@hidden>)
 >Re: Classcastexception _EOCheapMutableArray Solved (From: Don Lindsay <email@hidden>)
 >Re: Classcastexception _EOCheapMutableArray Solved (From: Lachlan Deck <email@hidden>)
 >Re: Classcastexception _EOCheapMutableArray Solved (From: Don Lindsay <email@hidden>)
 >Re: Classcastexception _EOCheapMutableArray Solved (From: Lachlan Deck <email@hidden>)

  • Prev by Date: Re: Classcastexception _EOCheapMutableArray Solved
  • Next by Date: Re: Classcastexception _EOCheapMutableArray Solved
  • Previous by thread: Re: Classcastexception _EOCheapMutableArray Solved
  • Next by thread: Re: Classcastexception _EOCheapMutableArray Solved
  • Index(es):
    • Date
    • Thread