Held Link Error - java.lang.NumberFormatException: For input string: "" (Doc ID 1484651.1)

Last updated on JANUARY 16, 2017

Applies to:

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

Symptoms

Below are two different scenarios for different versions and their symptoms.

1. The following scenario was seen in a 7.6.1 environment

In the publishing screen, after clicking on the "Held" link, these errors are thrown.

In the UI:
"This asset cannot be published until dependent assets have been approved." followed by "Error in evaluation;Error in configuration".

in the futuretense.txt log:

[fatwire.logging.cs.xcelerate] [pagename=OpenMarket/Xcelerate/Actions/ApprovePost] Error: com.openmarket.xcelerate.commands.ApprovedAssetsDispatcher: GetAssetStatus: com.openmarket.basic.interfaces.AssetException: Argument 'ID' is an invalid long: ''
[com.fatwire.logging.cs] Exception in asset.getlocales endTag() in tag com.openmarket.xcelerate.commands.AssetDimensionTags in page 'OpenMarket/Xcelerate/Actions/ApprovePost' in element 'OpenMarket/Xcelerate/Actions/AssetMgt/TileHeldAssets' errno: 0 errdetail1: [pagename=OpenMarket/Xcelerate/Actions/ApprovePost] Error: com.openmarket.xcelerate.commands.ApprovedAssetsDispatcher: GetAssetStatus: com.openmarket.basic.interfaces.AssetException: Argument 'ID' is an invalid long: '' errdetail: 0
java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Long.parseLong(Long.java:431)
at java.lang.Long.parseLong(Long.java:468)
at com.openmarket.basic.seed.BaseSeed.getOptionalLong(y:2131)
at com.openmarket.xcelerate.commands.AssetDimensionTags.getOptionalAssetId(y:31)
at com.openmarket.xcelerate.commands.AssetDimensionTags.worker(y:3267)
at com.openmarket.basic.seed.BaseSeed.endTag(y:3028)
at COM.FutureTense.XML.Template.bA.B(y:961)
at COM.FutureTense.XML.Template.H.A(y:3173)
at COM.FutureTense.XML.Template.H.A(y:3011)
at COM.FutureTense.XML.Template.H.A(y:3011)

2. The following scenario was seen in a 11.1.1.6.1 environment

Held Assets Blocking Assets Screen Improperly Formatted.  "Invalid asset ID" error when clicking Held Link

Steps taken:
a) Publish destination has a number of Held assets.
b) Clicked the "### assets are held for publish" link to list the held assets.
c) Clicked on the Held link next to one of the held assets, to display the blocking assets.
    - This is displaying an improperly formatted page that has a Held link but does not contain information about the assets that are blocking, nor does it contain an Approve button which is normally displayed.

d) When clicking the Held link in this blocking assets page, it displays the following error:
     "Invalid asset ID. Cannot load an asset of type Variables.description with ID of Variables.id.  Please supply a valid asset ID and then try again."

The following error is seen in the sites.log:

[ERROR] [.kernel.Default (self-tuning)'] [com.fatwire.logging.cs] Exception in asset.getlocales endTag() in tag com.openmarket.xcelerate.commands.AssetDimensionTags in page 'OpenMarket/Xcelerate/Actions/ShowBlockingAssetsFront' in element 'OpenMarket/Xcelerate/Actions/AssetMgt/TileHeldAssets' errno: 0 errdetail1: [pagename=OpenMarket/Xcelerate/Actions/ShowBlockingAssetsFront] Error: com.openmarket.xcelerate.commands.ApprovedAssetsDispatcher: GetAssetStatus: com.openmarket.basic.interfaces.AssetException: Argument 'ID' is an invalid long: ''Requested asset does not exist. errdetail: 0
java.lang.NumberFormatException: For input string: ""
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    at java.lang.Long.parseLong(Long.java:431)
    at java.lang.Long.parseLong(Long.java:468)
    at com.openmarket.basic.seed.BaseSeed.getOptionalLong(BaseSeed.java:621)
    at com.openmarket.xcelerate.commands.AssetDimensionTags.getOptionalAssetId(AssetDimensionTags.java:478)
    at com.openmarket.xcelerate.commands.AssetDimensionTags.worker(AssetDimensionTags.java:179)

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