Reports 11gR2 and 12c on AIX Fail With REP-50125: An internal exception occurred: java.io.StreamCorruptedException: unexpected block data (Doc ID 2107158.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Reports Developer - Version 12.2.1.0.0 and later
IBM AIX on POWER Systems (64-bit)

Symptoms

A new install of Reports 12c on AIX fails with the following error trying to execute any web command (getserverinfo/showjobs, etc)

REP-50125: An internal exception occurred: java.io.StreamCorruptedException: unexpected block data.

Using rwclient.sh to run a report shows the following errors

rwclient.sh server=[reports server name] report=[report] destype=file desname=/tmp/test.pdf desformat=pdf authid=user/password
REP-0177: An error occurred while running in a remote server.
An internal exception occurred: java.io.StreamCorruptedException: unexpected block data.

Reports server is up and running and can be confirmed via "rwdiag.sh -findAll"

rwrun.sh and rwbuilder.sh work fine without issue.

 

Same behavior has been found when using jdk7u95-b13 for WLS in 11gR2 (11.1.2.2).

java version "1.7.0"
Java(TM) SE Runtime Environment (build pap6470_27sr3fp30-20160112_01(SR3 FP30))
IBM J9 VM (build 2.7, JRE 1.7.0 AIX ppc64-64 Compressed References
20151222_283006 (JIT enabled, AOT enabled)
J9VM - R27_Java727_SR3_20151222_1037_B283006
JIT - tr.r13.java.sr3.fp30_20151209_107107.01
GC - R27_Java727_SR3_20151222_1037_B283006_CMPRSS
J9CL - 20151222_283006)
JCL - 20160112_01 based on Oracle jdk7u95-b13

 

Changes

 New installation

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