Skip to Content
0
Former Member
Jul 11, 2005 at 03:54 PM

PAR Upload Exception

18 Views

I'm getting the following error while uploading a PAR from the Archive Uploader.

Caused by: com.sapportals.portal.pcd.pl.PlRuntimeException: unexpected SQLException

Cannot assign a java.io.ByteArrayInputStream object of length 0 to host variable 18.

at com.sapportals.portal.pcd.pl.PlFactory.handleUnexpectedSQLError(PlFactory.java:2506)

at com.sapportals.portal.pcd.pl.PlObject.save(PlObject.java:439)

at com.sapportals.portal.pcd.gl.xfs.XfsObject.modifyAttributesDL(XfsObject.java:597)

at com.sapportals.portal.pcd.gl.xfs.XfsObject.modifyAttributes(XfsObject.java:527)

at com.sapportals.portal.pcd.gl.xfs.BasicObject.modifyAttributes(BasicObject.java:361)

at com.sapportals.portal.pcd.gl.PcdPersObject.modifyAttributes(PcdPersObject.java:159)

at com.sapportals.portal.pcd.gl.PcdGlObject.modifyAttributes(PcdGlObject.java:201)

at com.sapportals.portal.pcd.gl.PcdProxyContext.modifyAttributes(PcdProxyContext.java:350)

at com.sapportals.portal.pcd.gl.PcdGlContext.modifyAttributes(PcdGlContext.java:1297)

at com.sapportals.portal.pcd.gl.PcdProxyContext.modifyAttributes(PcdProxyContext.java:337)

at com.sapportals.portal.pcd.gl.PcdGlContext.modifyAttributes(PcdGlContext.java:1277)

at com.sapportals.portal.pcd.gl.PcdProxyContext.modifyAttributes(PcdProxyContext.java:342)

at com.sapportals.portal.prt.jndisupport.util.AbstractDirContextWrapper.modifyAttributes(AbstractDirContextWrapper.java:60)

at com.sapportals.portal.application.applicationrepository.ParSemanticObject.update(ParSemanticObject.java:165)

at com.sapportals.portal.application.applicationrepository.ApplicationRepositoryService.updateObject(ApplicationRepositoryService.java:712)

at com.sapportals.portal.application.applicationrepository.ApplicationRepositoryService.storeApplication(ApplicationRepositoryService.java:389)

at com.sapportals.portal.application.applicationrepository.ApplicationRepositoryService.putArchive(ApplicationRepositoryService.java:306)

... 34 more

Caused by: com.sap.sql.log.OpenSQLException: Cannot assign a java.io.ByteArrayInputStream object of length 0 to host variable 18.

at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:85)

at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:124)

....

Recently the WAS was (no pun intended) upgraded to a newer version and also the NWS to 2.0.11.

Any clue why this is happening?

Thanx.

Mahesh