• 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
Internal Inconsistency in K2Sort
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Internal Inconsistency in K2Sort


  • Subject: Internal Inconsistency in K2Sort
  • From: email@hidden
  • Date: Tue, 29 Jan 2008 17:28:40 -0500


Has anyone ever received a strange WebObjects error when sorting related to an internal Apple "K2Sort" funky state?

Here's the error:

java.lang.IllegalStateException: Internal Inconsistency in K2Sort

Here's the stack trace:

_NSCollectionPrimitives.java        312        K2SortArray        com.webobjects.foundation
EOSortOrdering.java        202        _sortUsingKeyOrderArray        com.webobjects.eocontrol
EOSortOrdering.java        238        sortedArrayUsingKeyOrderArray        com.webobjects.eocontrol

From what I can tell, when our app starts up this error either never happens or it happens each time we try to perform a sort. Almost like playing the slots... at app launch time we don't know if things are going to sort correctly for the life of the app.

It's concievable that something else is going on, that some user hits a branch of code that leaves the K2 algorithm in a broken state... but we haven't identified a series of steps that causes this.

Anyone experience problems with the K2Sort?

-- Aaron
 _______________________________________________
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: Internal Inconsistency in K2Sort
      • From: James Cicenia <email@hidden>
    • Re: Internal Inconsistency in K2Sort
      • From: Alan Ward <email@hidden>
  • Prev by Date: Re: building Calculator_Client example
  • Next by Date: Re: Internal Inconsistency in K2Sort
  • Previous by thread: Re: Velocity generator template reference available
  • Next by thread: Re: Internal Inconsistency in K2Sort
  • Index(es):
    • Date
    • Thread