Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: How do I debug this jdbc error?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I debug this jdbc error?




On Jan 14, 2009, at 4:45 PM, James Cicenia wrote:

OK -

I still haven't figured this error out. I can write a new record. But when I try to edit the record I get the error?!

It is calling the same submit method, etc.

Model looks fine. A new field column was added to the Sybase db. Basically, it seems as though the new
field/attribute is causing the grief


Any other thoughts?

An external type is wrong or missing, a prototype is wrong or missing, the model contains invalid or out of date jdbc2info.


Chuck



On Jan 13, 2009, at 9:28 AM, Mike Schrag wrote:

wo version?
wonder/version?
did you diff your model? what changed? do any of your changes look suspicious?


On Jan 13, 2009, at 7:22 AM, James Cicenia wrote:

OK -

The old app does write without the exception. It uses the same model, adaptor, etc.

The new app crashes upon:
	currentObject.editingContext().saveChanges();

Thoughts?
Thanks
James



On Jan 13, 2009, at 8:29 AM, Ken Anderson wrote:

James,

What are you doing when this occurs?

Do other operations work?

Ken

On Jan 13, 2009, at 9:21 AM, James Cicenia wrote:

How do I debug this error. I have never seen it before. I am working with SYBASE as the database. Is this the jdbc adaptor issue?

thanks
James Cicenia

[2009-01-13 08:15:51 CST] <WorkerThread7> <com.webobjects.appserver._private.WOComponentRequestHandler>: Exception occurred while handling request:
java.lang.NullPointerException
[2009-01-13 08:15:51 CST] <WorkerThread7> java.lang.NullPointerException
at com .webobjects .jdbcadaptor.JDBCAdaptor.isValidQualifierType(JDBCAdaptor.java: 659)
at com .webobjects .eoaccess .EODatabaseContext .isValidQualifierTypeForAttribute(EODatabaseContext.java:5174)
at com .webobjects .eoaccess .EODatabaseContext .lockingNonQualifiableAttributes(EODatabaseContext.java:5188)
at com .webobjects .eoaccess .EODatabaseContext .createAdaptorOperationsForDatabaseOperationAttributes (EODatabaseContext.java:5374)
at com .webobjects .eoaccess .EODatabaseContext .createAdaptorOperationsForDatabaseOperation (EODatabaseContext.java:5548)
at com .webobjects .eoaccess .EODatabaseContext.performChanges(EODatabaseContext.java:6365)
at com .webobjects .eocontrol .EOObjectStoreCoordinator .saveChangesInEditingContext(EOObjectStoreCoordinator.java:415)
at com .webobjects .eocontrol.EOEditingContext.saveChanges(EOEditingContext.java: 3223)
at EditPerson.tryToSaveChanges(EditPerson.java:192)
at EditPerson.saveAction(EditPerson.java:512)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nat
_______________________________________________
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

_______________________________________________ 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

-- Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific 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
References: 
 >How do I debug this jdbc error? (From: James Cicenia <email@hidden>)
 >Re: How do I debug this jdbc error? (From: Ken Anderson <email@hidden>)
 >Re: How do I debug this jdbc error? (From: James Cicenia <email@hidden>)
 >Re: How do I debug this jdbc error? (From: Mike Schrag <email@hidden>)
 >Re: How do I debug this jdbc error? (From: James Cicenia <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.