• 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: WebObjects throwing inappropriate exceptions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WebObjects throwing inappropriate exceptions


  • Subject: Re: WebObjects throwing inappropriate exceptions
  • From: Florijan Stamenkovic <email@hidden>
  • Date: Sun, 17 Apr 2005 13:48:19 +0200

XCode 1.5 has an issue with D2W that results in the application crashing just after login page (Main page). Check release notes for it, it is easy to fix.

However I don't think that it is a key-value exception that gets thrown in that case (I think it is a missing class exception). Such an exception (key-value) normally occurs when you have a mistyped key in your code. For example:

takeValueForKey( value, "keGy" );		//where it should be only "key"

But that shouldn't be the case in a D2W scenario because I don't suppose you made much code yourself there.

I think it could also be a problem with your back-end database. Just check that it is running and has all the tables and attributes it should have.

In the end it could be that your D2W crashes because of XCode 1.5 mistake, and your custom apps because of a faulty DB (or a DB mismatching the EO model).

If you still can not find it, send the thrown exception to the list.

Cheers
Florijan


On Apr 17, 2005, at 10:11, Daniel DeCovnick wrote:

Hi. I'm fairly new to WebObjects, just downloaded the free version from ADC. I'm starting to get the hang of it, following the tutorials, then expanding on them to do something useful.

The problem is that in the two projects I've made, plus the Direct To Web tutorial, once I leave the Main component for any other component, an exception is thrown about a lookup of an unknown key in a valueForKey() call. In the first two cases, I figured it was probably something I was doing wrong in my code (I'm new to Java) or in working with EOModeler. But I can't explain the failure of the Direct To Web tutorial to work beyond the login screen.

Is there some known issue with that tutorial maybe? Or do I have a faulty installation or something along those lines?
Don't think that there is anything wrong with the tutorials.

Thanks,


Daniel DeCovnick danhd123 at mac dot com Softyards Software http://www.softyards.com

_______________________________________________
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

_______________________________________________ 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: 
 >WebObjects throwing inappropriate exceptions (From: Daniel DeCovnick <email@hidden>)

  • Prev by Date: 10.3.9 break java on some macos x server
  • Next by Date: Re: Why: Don't upgrade to 10.3.9!
  • Previous by thread: WebObjects throwing inappropriate exceptions
  • Next by thread: 10.3.9 break java on some macos x server
  • Index(es):
    • Date
    • Thread