Article - CS332675
Client content upload fails with error 'java.io.EOFException: End of input stream prematurely encountered' in Windchill PDMLink
Modified: 03-Aug-2025
Applies To
- Windchill PDMLink 10.2 to 12.0
Description
- Client content uploading fails with error
java.io.EOFException: End of input stream prematurely encountered
- Not able to upload and download using Replica
- Missing files observed from the file server
- Method Server logs display below error:
date/time ERROR [ajp-nio-127.0.0.1-8010-exec-8] wt.fv.uploadtocache - (wt.fv.fvResource/65) wt.fv.FvFileCanNotBeStored: Cannot save because there was an error while reading the input stream during the save. Nested exception is: java.io.EOFException: End of input stream prematurely encountered. at wt.util.MPInputStream.fill_buf(MPInputStream.java:423) at wt.util.MPInputStream.read(MPInputStream.java:810) at wt.objectstorage.fv.FvFileWriter.storeUnKnownLengthStream(FvFileWriter.java:156) at wt.objectstorage.fv.FvFileWriter.storeStream(FvFileWriter.java:99) at wt.objectstorage.ContentFileWriter.storeStream(ContentFileWriter.java:97) at wt.fv.uploadtocache.DoUploadToCache_Server.storeContentInVaultOnMaster(DoUploadToCache_Server.java:631) at wt.fv.uploadtocache.DoUploadToCache_Server.storeSingleFile(DoUploadToCache_Server.java:1879) at wt.fv.uploadtocache.DoUploadToCache_Server.doMultiPartUploadToCache_Server(DoUploadToCache_Server.java:1709) at wt.fv.uploadtocache.DoUploadToCache_Server.doUploadToChache_Master(DoUploadToCache_Server.java:131) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at wt.httpgw.HTTPServer.processRequest(HTTPServer.java:346) at wt.httpgw.MethodRequestHandler.handleRequest(MethodRequestHandler.java:88) at wt.httpgw.HTTPGatewayServlet.serviceWithoutFilters(HTTPGatewayServlet.java:336) at wt.httpgw.FilterChainImpl.doFilter(FilterChainImpl.java:94) at wt.session.SessionContextDestroyer.doFilterInternal(SessionContextDestroyer.java:136) at wt.session.SessionContextDestroyer.doFilter(SessionContextDestroyer.java:184) at wt.httpgw.FilterChainImpl.doFilter(FilterChainImpl.java:81) at wt.httpgw.HTTPGatewayServlet.service(HTTPGatewayServlet.java:235)
This is a printer-friendly version of Article 332675 and may be out of date. For the latest version click CS332675