WebCenter Content: Imaging Server Fails with Error "Query failed to prepare" and "503 - Server Unavailable".
Last updated on OCTOBER 04, 2016
Applies to:Oracle WebCenter Content: Imaging - Version 18.104.22.168.0 and later
Information in this document applies to any platform.
The Imaging server has to be restarted multiple times a day. Users are reporting "503 - Server Unavailable errors". The Imaging Server logs show the following error:
javax.el.ELException: Exception [EclipseLink-6168] (Eclipse Persistence Services - 2.3.1.v20111018-r10243): org.eclipse.persistence.exceptions.QueryException
Exception Description: Query failed to prepare, unexpected error occurred: [java.lang.NullPointerException].
Internal Exception: java.lang.NullPointerException
Query: ReadAllQuery(referenceClass=Connection jpql="SELECT d FROM Connection d WHERE d.id = :id and d.version = (SELECT MAX(d2.version) from Connection d2 where d2.id = :id)")
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms