• 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: attempt to assign value to unknown key
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: attempt to assign value to unknown key


  • Subject: Re: attempt to assign value to unknown key
  • From: Travis Britt <email@hidden>
  • Date: Sat, 26 Feb 2005 17:34:21 -0500

On Jul 31, 2004, at 8:09 AM, Amorya North wrote:
[<com.webobjects.appserver.WOComponent name: TabsForShows
subcomponents: null > takeValueForKey()]: attempt to assign value to
unknown key: 'showID'.

The thing is, TabsForShows (the subcomponent I'm trying to call) _does_
have a key called showID.

On Feb 16, 2005, at 11:50 PM, Nathan Hampton wrote:
This suddenly started happening to me, though in my case it's trying to get the value. I first confirmed that the instance variable is public (Note to Chuck: I re-typed it just to make sure).

Following up on this old thread...

I just had a similar issue: WO claiming a component didn't have an accessor method for a key when it certainly did. In my case the tell-tale clue was what WO yelled into the log, just before tossing up NSKeyValueCoding$UnknownKeyException:

"WARNING: Unable to find component class named <Component Name>. If this is not intended to be a classless component, check your framework settings and the contents of your classpath file..."

I don't know if this is the cause of your problem, but my install of Xcode 1.5 doesn't configure build phases correctly for Display Group Components added via the little wizard (this is a project created in xc1.5). There's a note about this problem pertaining to Direct To Web and Java Client WO project at the end of the Xcode 1.5 rel notes, but nothing about the DG component wizard. Anyway... Easily fixed by going to the Application Server target and dragging the .java file for the component from the Bundle Resources phase over to the Sources phase.

(This could be due to some unknown weirdness on my machine, I haven't tested the behavior on a fresh Xcode 1.5/WO 5.2.3 install.)

tb

_______________________________________________
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: 
 >Re: attempt to assign value to unknown key (From: Nathan Hampton <email@hidden>)
 >Re: attempt to assign value to unknown key (From: George Domurot <email@hidden>)
 >Re: attempt to assign value to unknown key (From: Chuck Hill <email@hidden>)
 >Re: attempt to assign value to unknown key (From: Nathan Hampton <email@hidden>)

  • Prev by Date: WAR Deployment -- getting closer...
  • Next by Date: Re: Re(2): images in databases
  • Previous by thread: Re: [SOLVED (Sort of)] attempt to assign value to unknown key
  • Next by thread: EOF and PostgreSQL Serial primary keys
  • Index(es):
    • Date
    • Thread