Gino,

I can be completely wrong, but it looks like two problem logs interspersed, 
which stinks by a threading issue, along with the fact it happens 
intermittently.

If possible, I'd check race conditions and try to synchronize (or lock) where 
needed.

Quite possibly someone other would give a much better advice, just a quick-look 
idea.

All the best,
OC

> On 4 Feb 2020, at 22:00, Gino Pacitti via Webobjects-dev 
> <webobjects-dev@lists.apple.com> wrote:
> 
> Hi 
> Has anyone encountered this sort of error before?
> 
> It does not happen all the time but just on occasion.
> 
> mysql  Ver 14.14 Distrib 5.7.28, for Linux (x86_64) using  EditLine wrapper
> 
> Java 8
> 
> mysql-connector-java-8.0.19.jar
> 
> This is my connection URL
> jdbc:mysql://127.0.0.1/<DATABASE>_UTF_8?capitalizeTypeNames=true&useUnicode=true&characterEncoding=UTF-8&characterSetResults=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&sendFractionalSeconds=false&autoReconnect=true&useServerPrepStmts=false&rewriteBatchedStatements=true&useCompression=true
>  
> <mysql://127.0.0.1/%3CDATABASE%3E_UTF_8?capitalizeTypeNames=true&useUnicode=true&characterEncoding=UTF-8&characterSetResults=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&sendFractionalSeconds=false&autoReconnect=true&useServerPrepStmts=false&rewriteBatchedStatements=true&useCompression=true>
> 
> And here is the error
> Unexpected exception encountered during 
> query.java.lang.NullPointerExceptionat 
> com.mysql.jdbc.SQLError.createSQLException(SQLError.java:965)com.mysql.jdbc.SQLError.createSQLException(SQLError.java:965)
> at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898)
> at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887)
> at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861)
> at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2532)
> at 
> com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1903)
> at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1242)
> at 
> com.webobjects.jdbcadaptor.JDBCChannel._bindInputVariablesWithBindingsAndExecute(JDBCChannel.java:265)
> at 
> com.webobjects.jdbcadaptor.JDBCChannel._evaluateExpression(JDBCChannel.java:337)
> at 
> com.webobjects.jdbcadaptor.JDBCChannel.evaluateExpression(JDBCChannel.java:296)
> at 
> er.extensions.jdbc.ERXJDBCAdaptor$Channel.evaluateExpression(ERXJDBCAdaptor.java:283)
> at 
> com.webobjects.jdbcadaptor.JDBCChannel.selectAttributes(JDBCChannel.java:220)
> at 
> er.extensions.jdbc.ERXJDBCAdaptor$Channel.selectAttributes(ERXJDBCAdaptor.java:200)
> at 
> com.webobjects.eoaccess.EODatabaseChannel._selectWithFetchSpecificationEditingContext(EODatabaseChannel.java:897)
> at 
> com.webobjects.eoaccess.EODatabaseChannel.selectObjectsWithFetchSpecification(EODatabaseChannel.java:234)
> at 
> com.webobjects.eoaccess.EODatabaseContext._objectsWithFetchSpecificationEditingContext(EODatabaseContext.java:3055)
> at 
> com.webobjects.eoaccess.EODatabaseContext.objectsWithFetchSpecification(EODatabaseContext.java:3195)
> at 
> com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpecification(EOObjectStoreCoordinator.java:488)
> at 
> com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4069)
> at er.extensions.eof.ERXEC.objectsWithFetchSpecification(ERXEC.java:1307)
> at 
> com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4444)
> at 
> er.extensions.eof.ERXFetchSpecification.fetchObjects(ERXFetchSpecification.java:155)
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/ocs%40ocs.cz
> 
> This email sent to o...@ocs.cz

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to