Error "An error was encountered while communicating with the server" in Client when Database Lookup Returns NULL Value to Capture Date Field

(Doc ID 1676352.1)

Last updated on OCTOBER 04, 2016

Applies to:

Oracle WebCenter Enterprise Capture - Version 11.1.1.8.0 and later
Information in this document applies to any platform.

Symptoms

A Database Lookup configured to have the return field mapped to a Date field will return an error if the Date field returns a NULL value from the lookup in the Enterprise Capture Client. The details of the error in the client show:

Message:
  oracle.oddc.client.services.CaptureException: An error was encountered while communicating with the server.
Level:
  WARNING
Stack Trace:
An error was encountered while communicating with the server.
  oracle.oddc.client.services.ODDCClientSessionImpl.buildCaptureException(ODDCClientSessionImpl.java:178)
  oracle.oddc.client.services.ODDCClientSessionImpl.execDBSearch(ODDCClientSessionImpl.java:829)
  oracle.oddc.client.data.DBLookupProfile.execDBLookup(DBLookupProfile.java:37)
  oracle.oddc.client.data.DBLookupProfile.execDBLookup(DBLookupProfile.java:31)
  oracle.oddc.client.BatchEditForm.btnDBLookupActionPerformed(BatchEditForm.java:1734)
  oracle.oddc.client.BatchEditForm.access$1300(BatchEditForm.java:245)
  oracle.oddc.client.BatchEditForm$15.actionPerformed(BatchEditForm.java:729)
  javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
  javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
  javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
  javax.swing.DefaultButtonModel.setPressed(Unknown Source)
  javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
  java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
  java.awt.Component.processMouseEvent(Unknown Source)
  javax.swing.JComponent.processMouseEvent(Unknown Source)
  java.awt.Component.processEvent(Unknown Source)
  java.awt.Container.processEvent(Unknown Source)
  java.awt.Component.dispatchEventImpl(Unknown Source)
  java.awt.Container.dispatchEventImpl(Unknown Source)
  java.awt.Component.dispatchEvent(Unknown Source)
  java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
  java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
  java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
  java.awt.Container.dispatchEventImpl(Unknown Source)
  java.awt.Component.dispatchEvent(Unknown Source)
  java.awt.EventQueue.dispatchEventImpl(Unknown Source)
  java.awt.EventQueue.access$200(Unknown Source)
  java.awt.EventQueue$3.run(Unknown Source)
  java.awt.EventQueue$3.run(Unknown Source)
  java.security.AccessController.doPrivileged(Native Method)
  java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
  java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
  java.awt.EventQueue$4.run(Unknown Source)
  java.awt.EventQueue$4.run(Unknown Source)
  java.security.AccessController.doPrivileged(Native Method)
  java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
  java.awt.EventQueue.dispatchEvent(Unknown Source)
  java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
  java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
  java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
  java.awt.EventDispatchThread.pumpEvents(Unknown Source)
  java.awt.EventDispatchThread.pumpEvents(Unknown Source)
  java.awt.EventDispatchThread.run(Unknown Source)
GET http://localhost:16400/dc-client/jersey/oddcClient/execDBSearch?exactMatch=false&value&searchID=eab22958-2fa0-41fe-bdf4-08ca9410d5bc&maxResults=0&fieldID=69fd7b8a-a13f-45bc-8869-9ac032daf716 returned a response status of 404 Not Found
  com.sun.jersey.api.client.WebResource.handle(WebResource.java:676)
  com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
  com.sun.jersey.api.client.WebResource$Builder.get(WebResource.java:503)
  oracle.oddc.client.services.ODDCClientSessionImpl.execDBSearch(ODDCClientSessionImpl.java:827)
  oracle.oddc.client.data.DBLookupProfile.execDBLookup(DBLookupProfile.java:37)
  oracle.oddc.client.data.DBLookupProfile.execDBLookup(DBLookupProfile.java:31)
  oracle.oddc.client.BatchEditForm.btnDBLookupActionPerformed(BatchEditForm.java:1734)
  oracle.oddc.client.BatchEditForm.access$1300(BatchEditForm.java:245)
  oracle.oddc.client.BatchEditForm$15.actionPerformed(BatchEditForm.java:729)
  javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
  javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
  javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
  javax.swing.DefaultButtonModel.setPressed(Unknown Source)
  javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
  java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
  java.awt.Component.processMouseEvent(Unknown Source)
  javax.swing.JComponent.processMouseEvent(Unknown Source)
  java.awt.Component.processEvent(Unknown Source)
  java.awt.Container.processEvent(Unknown Source)
  java.awt.Component.dispatchEventImpl(Unknown Source)
  java.awt.Container.dispatchEventImpl(Unknown Source)
  java.awt.Component.dispatchEvent(Unknown Source)
  java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
  java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
  java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
  java.awt.Container.dispatchEventImpl(Unknown Source)
  java.awt.Component.dispatchEvent(Unknown Source)
  java.awt.EventQueue.dispatchEventImpl(Unknown Source)
  java.awt.EventQueue.access$200(Unknown Source)
  java.awt.EventQueue$3.run(Unknown Source)
  java.awt.EventQueue$3.run(Unknown Source)
  java.security.AccessController.doPrivileged(Native Method)
  java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
  java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
  java.awt.EventQueue$4.run(Unknown Source)
  java.awt.EventQueue$4.run(Unknown Source)
  java.security.AccessController.doPrivileged(Native Method)
  java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
  java.awt.EventQueue.dispatchEvent(Unknown Source)
  java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
  java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
  java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
  java.awt.EventDispatchThread.pumpEvents(Unknown Source)
  java.awt.EventDispatchThread.pumpEvents(Unknown Source)
  java.awt.EventDispatchThread.run(Unknown Source)use exception in dc-client page if the date value has a null Date value.

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms