• 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
NullPointerException Errors?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NullPointerException Errors?


  • Subject: NullPointerException Errors?
  • From: <email@hidden>
  • Date: Mon, 23 Dec 2002 15:06:06 +0000 (GMT)

I am getting this error when clicking on a sort order
button and also when trying to create a new record
(Object) for a particular entity that has both a Many
and To One relationships set up.

I assume it is something wrong with the configuration
of my EOModel.

Does anyone have some quick tips/guidelines on
configuring EOModels (i.e make sure the lock icon is
off/on, make sure the relationships have/don't have
the diamond icon enabled, etc...). Or if you know of
common issues causing these NullPointer errors.

Thanks in advance

Toby


The beginning of the error that is generated by the
sort button reads as follows:
-----------------------------------------------------
Application: 	artcollection
Error: 	java.lang.NullPointerException
Reason:
Stack trace:
File	Line#	Method	Package
------------------------------------------------------------------------

WOSortOrder.java	147	_removeSortOrderingWithKey
com.webobjects.woextensions
WOSortOrder.java	200	toggleClicked
com.webobjects.woextensions
Method.java	NA	invoke	java.lang.reflect
NSKeyValueCoding.java	648	methodValue
com.webobjects.foundation
NSKeyValueCoding.java	1122	valueInObject
com.webobjects.foundation
NSKeyValueCoding.java	1223	valueForKey
com.webobjects.foundation



The beginning of the error that is generated by the
problem entity reads as follows:
-----------------------------------------------------
Application: 	artcollection
Error: 	java.lang.NullPointerException
Reason:
Stack trace:
File	Line#	Method	Package
------------------------------------------------------------------------

WOToOneRelationship.java	266
entityWithEntityAndKeyPath	com.webobjects.woextensions
WOToOneRelationship.java	284	_localDataSource
com.webobjects.woextensions
WOToOneRelationship.java	406	theList
com.webobjects.woextensions
Method.java	NA	invoke	java.lang.reflect
NSKeyValueCoding.java	648	methodValue
com.webobjects.foundation
NSKeyValueCoding.java	1122	valueInObject	com.webobjects.foundation
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: RE: Win IE and Multipart Form Problems
  • Next by Date: WO5.2 and and linking table with three attributes
  • Previous by thread: Re: Open OS X project on Windows2K
  • Next by thread: WO5.2 and and linking table with three attributes
  • Index(es):
    • Date
    • Thread