Re: Prototypes and Inheritance
Re: Prototypes and Inheritance
- Subject: Re: Prototypes and Inheritance
- From: Chuck Hill <email@hidden>
- Date: Thu, 25 Aug 2005 16:51:13 -0700
On Aug 25, 2005, at 4:47 PM, Dev WO wrote:
The application starts with a loggin panel, I enter an email and
a password which are in the database (from when the application
was working) and got:
----
[2005-08-26 01:02:55 CEST] <WorkerThread1>
java.lang.NullPointerException
at
com.webobjects.eoaccess.EOAttribute.adaptorValueByConvertingAttribut
eValue(EOAttribute.java:2020)
I'm pretty sure I saw that on one of these list just last week.
I'm also pretty certain that something is missing from the model.
Check that the column names, value types, value class, entity
name, table name etc. are all still there. Adding prototypes
after an entity has been created will erase some of the information.
I have try to set a fetch of all the user without arguments and
print it to the log and I got a class cast exception...
Sounds like some model is not getting loaded at run time.
That make me think about something:
When I setup the prototypes framework, do I have to tell EOModeler
that it's JDBC?? Because I selected "nothing" as of now.
No, that should be fine. It looks for EOJDBCPrototypes to find the
prototypes for JDBC.
--
Practical WebObjects - a book for intermediate WebObjects developers
who want to increase their overall knowledge of WebObjects, or those
who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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