My Oracle Support Banner

Error "Error creating batch" Occurs In The WebCenter Enterprise Capture Client When The Session Timeout Ends (Doc ID 2522761.1)

Last updated on JUNE 04, 2019

Applies to:

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

Symptoms

When the two minute session timeout warning occurs on the WebCenter Enterprise Capture Client, if the 'OK' button is clicked within two to four seconds of the actual session expiration, any interaction with the client results in error:

Message:
oracle.oddc.client.batchbuilder.BatchBuilderException: Error creating batch
Level:
WARNING
Stack Trace:
Error creating batch
oracle.oddc.client.batchbuilder.AbstractBatchBuilder.createCaptureBatchObject(AbstractBatchBuilder.java:172) oracle.oddc.client.batchbuilder.AbstractBatchBuilder.createBatch(AbstractBatchBuilder.java:153) oracle.oddc.client.BatchEditForm$63.run(BatchEditForm.java:5459)

org.glassfish.jersey.message.internal.MessageBodyProviderNotFoundException: MessageBodyReader not found for media type=text/html; charset=UTF-8, type=class oracle.oddc.session.BatchLockEntity, genericType=class oracle.oddc.session.BatchLockEntity.
oracle.oddc.client.services.ODDCClientSessionImpl.createBatch(ODDCClientSessionImpl.java:264) oracle.oddc.client.data.CaptureBatches.add(CaptureBatches.java:55) oracle.oddc.client.batchbuilder.AbstractBatchBuilder.createCaptureBatchObject(AbstractBatchBuilder.java:168) oracle.oddc.client.batchbuilder.AbstractBatchBuilder.createBatch(AbstractBatchBuilder.java:153) oracle.oddc.client.BatchEditForm$63.run(BatchEditForm.java:5459)

MessageBodyReader not found for media type=text/html; charset=UTF-8, type=class oracle.oddc.session.BatchLockEntity, genericType=class oracle.oddc.session.BatchLockEntity.
org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.aroundReadFrom(ReaderInterceptorExecutor.java:230) org.glassfish.jersey.message.internal.ReaderInterceptorExecutor.proceed(ReaderInterceptorExecutor.java:154) org.glassfish.jersey.message.internal.MessageBodyFactory.readFrom(MessageBodyFactory.java:1124) org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:851) org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:783) org.glassfish.jersey.client.ClientResponse.readEntity(ClientResponse.java:326) org.glassfish.jersey.client.JerseyInvocation.translate(JerseyInvocation.java:786) org.glassfish.jersey.client.JerseyInvocation.access$500(JerseyInvocation.java:91) org.glassfish.jersey.client.JerseyInvocation$2.call(JerseyInvocation.java:683) org.glassfish.jersey.internal.Errors.process(Errors.java:315) org.glassfish.jersey.internal.Errors.process(Errors.java:297) org.glassfish.jersey.internal.Errors.process(Errors.java:228) org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:443) org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:679) org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:435) org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:338) oracle.oddc.client.services.ODDCClientSessionImpl.createBatch(ODDCClientSessionImpl.java:255) oracle.oddc.client.data.CaptureBatches.add(CaptureBatches.java:55) oracle.oddc.client.batchbuilder.AbstractBatchBuilder.createCaptureBatchObject(AbstractBatchBuilder.java:168) oracle.oddc.client.batchbuilder.AbstractBatchBuilder.createBatch(AbstractBatchBuilder.java:153) oracle.oddc.client.BatchEditForm$63.run(BatchEditForm.java:5459)

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.