Saving Asset with Very Wide Image Fails with: "Error -13050 encountered while saving. {path to temp directory}/fwcs-temp/temp2/1230987654321.png (The system cannot find the file specified)" (Doc ID 1945453.1)

Last updated on JULY 07, 2017

Applies to:

Oracle WebCenter Sites - Version 7.6.2 and later
Information in this document applies to any platform.

Symptoms

Assets with images that are much wider than they are high, or much higher than they are wide, are failing to save.

The UI shows an error:

This attempt to save the {asset type} has failed.
Error -13050 encountered while saving. {path to temp directory}/fwcs-temp/temp2/1230987654321.png (The system cannot find the file specified)


The futuretense.txt/sites.log contains exceptions:
[2014-11-17 12:20:52,150] [logging.cs.firstsite.filter] Thumbnail failed
java.lang.IllegalArgumentException: Width (100) and height (0) cannot be <= 0
 at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:999)
 at java.awt.image.BufferedImage.<init>(BufferedImage.java:312)
 at com.fatwire.firstsite.filter.Thumbnail.createThumb(Thumbnail.java:66)
 at com.fatwire.firstsite.filter.Thumbnail.<init>(Thumbnail.java:26)
 at com.fatwire.firstsite.filter.Imaging.filterAsset(Imaging.java:123)
 at com.openmarket.gator.flexfilters.FlexFilterInstance.filterAsset(y:3336)
...
[2014-11-17 12:20:54,150] [logging.cs.xcelerate.asset] Error in ComplexAsset: D:\fatwire\cs-tomcat\temp\fwcs-tmp\temp2\1283952989751.png (The system cannot find the file specified)
com.openmarket.basic.interfaces.AssetException: D:\fatwire\cs-tomcat\temp\fwcs-tmp\temp2\1283952989751.png (The system cannot find the file specified)
 at com.openmarket.gator.blobservice.BlobService.hashIt(y:1090)
 at com.openmarket.gator.blobservice.BlobService.saveBinaryData(y:3304)
 at com.openmarket.gator.common.AttributeValue.setImmediateAttributes(y:2575)
 at com.openmarket.gator.common.AttributeIndex.setImmediateAttributes(y:3216)
 at com.openmarket.gator.flexassets.FlexAssetManager.incrementalSave(y:2488)
 at com.openmarket.gator.flexassets.FlexAssetManager.writeLocalData(y:2330)
 at com.openmarket.assetframework.common.BulkTransactionalAssetManager.writeLocalData(y:288)

Changes

The asset type makes use of the FirstSiteII Thumbnail filter.

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