Error 'No more data to read from socket' occurs when java function called by custom user
we have a customization in place that updates delivery details serial number as well as some other details. For this purpose we use procedure WSH_DELIVERY_DETAILS_PUB.Update_Shipping_Attributes. Custom procedure is created in custom Schema (i.e. XXOC).
If we run the procedure within the APPS schema procedure completes successfuly.
Other way within custom schema: procedure doesn't complete -> the error "No more data to read from socket" occurs and the connection is terminated.
I have tried to debug this and found out that the process ends with error when calling INV_SERIAL_NUMBER_PUB.VALIDATE_SERIALS. This function is a java function.