My Oracle Support Banner

Creating A New Basic Asset With UnnamedAssociations Fails with Error BuildUnnamedAssociations errno: -4 (Doc ID 2678978.1)

Last updated on JULY 07, 2020

Applies to:

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

Symptoms

Creating a new Basic asset with UNNAMEDASSOCIATIONS="YES" in the tag, fails with the following error:


Exception in doEndTag() in tag com.openmarket.xcelerate.jsp.asset.Children in page 'fatwire/ui/controller/controller' in element 'OpenMarket/AssetMaker/BuildUnnamedAssociations' errno: -4 errdetail: 0[[
java.lang.NumberFormatException: null
at java.lang.Long.parseLong(Long.java:552)
at java.lang.Long.parseLong(Long.java:631)
at com.openmarket.xcelerate.jsp.asset.Children.getAssociationsFromRevision(Children.java:216)
at com.openmarket.xcelerate.jsp.asset.Children.doEndTag(Children.java:164)
at com.openmarket.framework.jsp.Base.doEndTag(Base.java:145)
org.apache.jsp.jsp.cs_005fdeployed.OpenMarket.AssetMaker.BuildUnnamedAssociations_jsp._jspx_meth_asset_005fchildren_005f0(BuildUnnamedAssociations_jsp.java:1370)
at org.apache.jsp.jsp.cs_005fdeployed.OpenMarket.AssetMaker.BuildUnnamedAssociations_jsp._jspService(BuildUnnamedAssociations_jsp.java:627)

Use Case:

n the Admin UI:
1.  Uploadied the Asset Descriptor File to WebCenter Sites - FB_Form

<ASSET NAME="FB_Form" DESCRIPTION="FB_Form" MARKERTEXT="*" PROCESSOR="6.0" UNNAMEDASSOCIATIONS="YES" DEFDIR="$(CS.Property.cs.jskpath)\fatwire\Shared\Storage\FB_Form\">
<PROPERTIES>
<PROPERTY NAME="formtitle" DESCRIPTION="Form Title">
<STORAGE TYPE="VARCHAR" LENGTH="100" />
<INPUTFORM TYPE="TEXT" WIDTH="60" MAXLENGTH="100" REQUIRED="YES" />
</PROPERTY>
<PROPERTY NAME="formname" DESCRIPTION="Form Name">
<STORAGE TYPE="VARCHAR" LENGTH="50" />
<INPUTFORM TYPE="TEXT" WIDTH="60" MAXLENGTH="50" REQUIRED="YES" INSTRUCTION="Form name in the HTML code" />
</PROPERTY>
</PROPERTIES>
</ASSET>

2.  Create the Asset Table
3.  Register Asset Elements

Output in UI showed the following, never a true confirmation:

Updated ElementCatalog.

Created element: OpenMarket/Xcelerate/AssetType/FB_Form/AppendSelectDetails
Created element: OpenMarket/Xcelerate/AssetType/FB_Form/AppendSelectDetailsSE
Created element: OpenMarket/Xcelerate/AssetType/FB_Form/ContentDetails
Created element: OpenMarket/Xcelerate/AssetType/FB_Form/ContentForm
Created element: OpenMarket/Xcelerate/AssetType/FB_Form/IndexAdd
Created element: OpenMarket/Xcelerate/AssetType/FB_Form/IndexCreateVerity
Created element: OpenMarket/Xcelerate/AssetType/FB_Form/IndexReplace
Created element: OpenMarket/Xcelerate/AssetType/FB_Form/PostUpdate
Created element: OpenMarket/Xcelerate/AssetType/FB_Form/PreUpdate
Created element: OpenMarket/Xcelerate/AssetType/FB_Form/SearchForm
Created element: OpenMarket/Xcelerate/AssetType/FB_Form/SimpleSearch
Created element: OpenMarket/Xcelerate/AssetType/FB_Form/Tile
Created element: OpenMarket/Xcelerate/AssetType/FB_Form/LoadTree
Created element: OpenMarket/Xcelerate/AssetType/FB_Form/LoadSiteTree


Updated SystemSQL.

Created query: OpenMarket/Xcelerate/AssetType/FB_Form/SelectSummaryivery) This allows your administrator to complete the final steps in creating the asset type, including setting up workflow and creating start menu items.

4. Edit Asset Type Form to ensure Child Asset = True; Dimension = true

5. Enabe the Asset Type for Avisports

In Contributor UI:
1.  Attempt to create a new asset with FB_Form.
2.  UI error with: Content Server error

Sites.log shows:
[wcsites_server1] [ERROR] Exception in doEndTag() in tag com.openmarket.xcelerate.jsp.asset.Children in page 'fatwire/ui/controller/controller' in element 'OpenMarket/AssetMaker/BuildUnnamedAssociations' errno: -4 errdetail: 0[[
java.lang.NumberFormatException: null
       at java.lang.Long.parseLong(Long.java:552)
       at java.lang.Long.parseLong(Long.java:631)
       at com.openmarket.xcelerate.jsp.asset.Children.getAssociationsFromRevision(Children.java:216)
       at com.openmarket.xcelerate.jsp.asset.Children.doEndTag(Children.java:164)
       at com.openmarket.framework.jsp.Base.doEndTag(Base.java:145)
       at jsp_servlet._jsp._cs_deployed._openmarket._assetmaker.__buildunnamedassociations._jsp__tag28(__buildunnamedassociations.java:1990)
       at jsp_servlet._jsp._cs_deployed._openmarket._assetmaker.__buildunnamedassociations._jspService(__buildunnamedassociations.java:871)
       at weblogic.servlet.jsp.JspBase.service(JspBase.java:35)
       at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:295)
       at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
       at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
       at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:353)
       at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:492)
       at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:379)
       at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
       at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
       at org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:64)
       at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
       at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:637)
       at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:508)
       at COM.FutureTense.Servlet.ServletRequest.include(ServletRequest.java:1450)
       at COM.FutureTense.Servlet.FRequestObj.include(FRequestObj.java:1449)
       at COM.FutureTense.Servlet.JSPServices.runJSP(JSPServices.java:111)
       at COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager.runJSP(FILESYSTEMJSPManager.java:451)
       at COM.FutureTense.Servlet.JSPServices.runJSPObject(JSPServices.java:50)
       at COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager$JSPDataFile.run(FILESYSTEMJSPManager.java:196)

...

[wcsites_server1] [ERROR] [] [oracle.wcsites.request] Exception including resource /jsp/cs_deployed/OpenMarket/AssetMaker/BuildUnnamedAssociations.jsp[[
java.lang.NumberFormatException: null
       at java.lang.Long.parseLong(Long.java:552)
       at java.lang.Long.parseLong(Long.java:631)
       at com.openmarket.xcelerate.jsp.asset.Children.getAssociationsFromRevision(Children.java:216)
       at com.openmarket.xcelerate.jsp.asset.Children.doEndTag(Children.java:164)
       at com.openmarket.framework.jsp.Base.doEndTag(Base.java:145)
       at jsp_servlet._jsp._cs_deployed._openmarket._assetmaker.__buildunnamedassociations._jsp__tag28(__buildunnamedassociations.java:1990)
       at jsp_servlet._jsp._cs_deployed._openmarket._assetmaker.__buildunnamedassociations._jspService(__buildunnamedassociations.java:871)
       at weblogic.servlet.jsp.JspBase.service(JspBase.java:35)

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.