My Oracle Support Banner

'java.net.ProtocolException' Error When Launching Report (Doc ID 2214150.1)

Last updated on MAY 14, 2018

Applies to:

Oracle Transportation Management - Version 6.4.1 to 6.4.3 [Release 6.4]
Information in this document applies to any platform.

Symptoms

When attempting to run a custom report that has a special character in the report name without any value in parameters, the following error occurs.

ERROR
-----------------------

[000164] cause.BIPHostError (host=xxx)

java.net.ProtocolException: Did not meet stated content length of OutputStream: you wrote 0 bytes and I was expecting you to write exactly 7527 bytes!!!
at weblogic.net.http.ContentLengthOutputStream.close(ContentLengthOutputStream.java:52)
at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:616)
at weblogic.net.http.SOAPHttpURLConnection.getInputStream(SOAPHttpURLConnection.java:37)
at weblogic.net.http.HttpURLConnection.getResponseCode(HttpURLConnection.java:1444)
at glog.util.report.BIPSystemExternalBIP.parseContent(BIPSystemExternalBIP.java:133)
at glog.util.report.BIPSystemExternalBIP.callBIP(BIPSystemExternalBIP.java:66)
at glog.util.report.BIPSystemExternalBIP.retrieveData(BIPSystemExternalBIP.java:29)
at glog.util.report.BIPSystemExternal.transformData(BIPSystemExternal.java:15)
at glog.util.report.BIPLocalReportGenerator.generateReport(BIPLocalReportGenerator.java:120)
at glog.util.report.BIPLocalReportGenerator.report(BIPLocalReportGenerator.java:23)
at glog.util.report.BIPSessionBean.report(BIPSessionBean.java:21)
at glog.util.report.BIPSessionServerSideEJBWrapper.report(BIPSessionServerSideEJBWrapper.java:40)
at glog.util.report.BIPSessionHome_9wq2lz_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:34)
at glog.util.report.BIPSessionHome_9wq2lz_EOImpl.report(Unknown Source)
at glog.util.report.gen.BIPSessionSkel.report(BIPSessionSkel.java:117)
at glog.util.report.gen.BIPSessionSkel.exec(BIPSessionSkel.java:30)
at glog.webserver.wrapper.SkelImpl.execDispatch(SkelImpl.java:16)
at glog.server.wrapper.WrapperSessionBean.execDispatch(WrapperSessionBean.java:83)
at glog.server.wrapper.WrapperSessionServerSideEJBWrapper.execDispatch(WrapperSessionServerSideEJBWrapper.java:50)
at glog.server.wrapper.WrapperSessionHome_a06097_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:34)
at glog.server.wrapper.WrapperSessionHome_a06097_EOImpl.execDispatch(Unknown Source)
at glog.server.wrapper.WrapperSessionHome_a06097_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:701)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:231)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:527)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:523)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

 

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
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.