Re: JDBCAdaptor.isValidQualifierType NullPointer
Re: JDBCAdaptor.isValidQualifierType NullPointer
- Subject: Re: JDBCAdaptor.isValidQualifierType NullPointer
- From: Peter Vandoros <email@hidden>
- Date: Tue, 10 Jul 2007 12:35:10 +1000
Hi Lachlan,
I've seen this issue and it has come down to your eomodel being
inconsistent or the JDBC plug-in not finding the details for a column in
the JDBC typeInfo.
Things to check:
1. Make sure that the JDBC TypeInfo (jdbc2Info) defines all the
attributes column types in your entity.
2. Make sure you have "capitalizeTypeNames=true" in your jdbc connection
url for MySQL.
3. If you are using prototypes, make sure that they have been
initialised and your entity is actually using them. Also make sure that
you aren't using the prototype definitions of a different DBMS. eg.
using PostgrSQL prototype definitions with MySQL.
Hope this helps.
Regards
Peter
Lachlan Deck wrote:
Hi there,
has anyone seen this before? (See stack trace below). This occurred
when attempting to replace the values in a certain record.
(The entity contains, among other things, a non-locking column of type
LONGBLOB [MySQL] but other than that a few ints and datetimes).
Thanks.
with regards,
--
Lachlan Deck
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:3226)
at
ish.willowservices.soap.controllers.SOAPController.updateRecordsForEntity(SOAPController.java:361)
at
au.com.ish.oncourseservices.v2.services.AngelReplicator.replicateRecords(AngelReplicator.java:133)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:402)
at
org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:309)
at
org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:333)
at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
at
org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:481)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:323)
at
com.webobjects.appserver._private.WOWebService.performActionNamed(WOWebService.java:375)
at
com.webobjects.appserver._private.WOActionRequestHandler._handleRequest(WOActionRequestHandler.java:240)
at
com.webobjects.appserver._private.WOActionRequestHandler.handleRequest(WOActionRequestHandler.java:142)
at
com.webobjects.appserver._private.WOWebServiceRequestHandler.handleRequest(WOWebServiceRequestHandler.java:95)
at
ish.willowservices.appserver.ISHWebServiceRequestHandler.handleRequest(ISHWebServiceRequestHandler.java:88)
at
com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1306)
at
com.ish.webobjects.appserver.ISHApplication.dispatchRequest(ISHApplication.java:934)
at
ish.willowservices.appserver.Application.dispatchRequest(Application.java:95)
at
com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:173)
at
com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:254)
at java.lang.Thread.run(Thread.java:613)
_______________________________________________
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
--
Peter Vandoros
Software Engineer
Etech Group Pty Ltd
Level 3/21 Victoria St
Melbourne VIC 3000
Australia
Ph: +61 3 9639 9677
Fax: +61 3 9639 9577
----------------------------------
IMPORTANT: This e-mail message and any attachments are confidential and
may be privileged. If received in error, please reply to this message
and destroy all copies and any attachments. You should check this
message and any attachments for viruses or defects. Our liability is
limited to resupplying any affected message or attachments. For more
information about Etech Group, please visit us at
http://www.etechgroup.com.au.
_______________________________________________
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