The WCC Rules UI is Not Usable to Create a Connector Rules (Doc ID 2004010.1)

Last updated on NOVEMBER 14, 2016

Applies to:

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

Symptoms

Assuming the WCC Connector Admin was configured correctly, the WCC Rules UI should display the UI with the ability to add New Rules and/or see a list of any existing rules that may be modified in some way.  If any assets are missing from the Sites instance (for example, missing definitions), then the Rules UI may not display correctly and render unusable. For example, when a customer reported definitions were missing, the WCC Rules UI did not display the list of Connector Rules, nor any functional buttons.  Instead the UI only displayed the Name, Description and Enable text with no form fields are available to build the rules.  Instead the values that should be in a form field are listed as plain text:

matchescontainsstarts withends withis great thanis laess thanis beforeis afteris equal tois great thanis greater than or equal tois less thanis less than or equal to

Other observation:  All other WCC Connector UI screens are working and displaying correctly:  Console, History, Orphaned Content and Configuration

The following related errors were seen in the sites.log file indicating there was a problem with building the UI page built by the MainHtml.jsp

ERROR STACK:
...
Caused by: com.fatwire.assetapi.common.AssetAccessException: asset type SomeContent_PD can not be found in Content Server
        at com.fatwire.assetapi.util.AssetUtil.isComplexAsset(AssetUtil.java:134)
        at com.fatwire.assetapi.util.AssetUtil.isFlexAsset(AssetUtil.java:308)
        at com.fatwire.assetapi.data.AssetDataManagerImpl.read(AssetDataManagerImpl.java:80)
        at jsp_servlet._jsp._cs_deployed._wcc._rule.__retrievefielddefpercdinstance._jspService(__retrievefielddefpercdinstance.java:304)
        ... 145 more
[2015-03-20 20:45:33,560 UTC] [ERROR] [.kernel.Default (self-tuning)'] [fatwire.logging.cs.jsp] Failure executing JSPWCC/Rule/RetrieveFieldDefPerCDinstance Exception calling include:  page:/jsp/cs_deployed/WCC/Rule/RetrieveFieldDefPerCDinstance.jsp
javax.servlet.ServletException tossed:com.fatwire.assetapi.common.AssetAccessException: asset type SomeContent_PD can not be found in Content Server
[2015-03-20 20:45:33,560 UTC] [ERROR] [.kernel.Default (self-tuning)'] [com.fatwire.logging.cs] Unable to evaluate element WCC/Rule/RetrieveFieldDefPerCDinstance
[2015-03-20 20:45:33,590 UTC] [ERROR] [.kernel.Default (self-tuning)'] [logging.cs.xcelerate.asset] Error: error invoking method Inspect in Asset.callInspect()null
java.lang.NullPointerException
        at com.openmarket.gator.flexgroups.FlexGroupManager.getAttributeInfo(FlexGroupManager.java:1777)
        at com.openmarket.gator.common.BaseFlexManager.inspect(BaseFlexManager.java:1512)
        at com.openmarket.assetframework.complexasset.ComplexAsset.Inspect(ComplexAsset.java:302)
        at sun.reflect.GeneratedMethodAccessor406.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at com.openmarket.xcelerate.asset.Asset.callInspect(Asset.java:8763)
        at com.openmarket.xcelerate.asset.Asset.buildSearch(Asset.java:9221)
        at com.openmarket.assetframework.complexasset.ComplexAsset.superBuildSearch(ComplexAsset.java:269)
        at com.openmarket.assetframework.complexasset.AssetManager.buildSearch(AssetManager.java:1268)
        at com.openmarket.gator.common.BaseFlexManager.buildSearch(BaseFlexManager.java:1396)
        at com.openmarket.assetframework.complexasset.ComplexAsset.buildSearch(ComplexAsset.java:252)
        at sun.reflect.GeneratedMethodAccessor405.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at com.openmarket.xcelerate.asset.Asset.callBuildSearch(Asset.java:9156)
        at com.openmarket.xcelerate.asset.Asset.Search(Asset.java:9119)
        at com.fatwire.assetapi.data.BasicAssetDataReadStrategy.performQuery(BasicAssetDataReadStrategy.java:828)
        at com.fatwire.assetapi.data.BasicAssetDataReadStrategy._getBasicAssets(BasicAssetDataReadStrategy.java:895)
        at com.fatwire.assetapi.data.BasicAssetDataReadStrategy.read(BasicAssetDataReadStrategy.java:110)
        at com.fatwire.assetapi.data.FlexAssetDataReadStrategy.read(FlexAssetDataReadStrategy.java:82)
        at com.fatwire.assetapi.data.AssetDataManagerImpl.read(AssetDataManagerImpl.java:81)
        at jsp_servlet._jsp._cs_deployed._wcc._rule.__retrievefielddefpercdinstance._jspService(__retrievefielddefpercdinstance.java:296)
        at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184)
        at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)
        at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:447)
        at COM.FutureTense.Servlet.ServletRequest.include(ServletRequest.java:1414)
        at COM.FutureTense.Servlet.FRequestObj.include(FRequestObj.java:1422)
        at COM.FutureTense.Servlet.JSPServices.runJSP(JSPServices.java:111)
        at COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager.runJSP(FILESYSTEMJSPManager.java:463)
        at COM.FutureTense.Servlet.JSPServices.runJSPObject(JSPServices.java:50)
        at COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager$JSPDataFile.run(FILESYSTEMJSPManager.java:190)
        at COM.FutureTense.Common.ContentServer.jspExecute(ContentServer.java:3027)
        at COM.FutureTense.Common.ContentServer.evalTemplate(ContentServer.java:2621)
        at COM.FutureTense.Common.ContentServer.processElement(ContentServer.java:1999)
        at COM.FutureTense.Common.CS.CallElement(CS.java:1603)
        at jsp_servlet._jsp._cs_deployed._wcc._rule.__retrieveassetfamily._jspService(__retrieveassetfamily.java:320)
        at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184)
        at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)
        at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:447)
        at COM.FutureTense.Servlet.ServletRequest.include(ServletRequest.java:1414)
        at COM.FutureTense.Servlet.FRequestObj.include(FRequestObj.java:1422)
        at COM.FutureTense.Servlet.JSPServices.runJSP(JSPServices.java:111)
        at COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager.runJSP(FILESYSTEMJSPManager.java:463)
        at COM.FutureTense.Servlet.JSPServices.runJSPObject(JSPServices.java:50)
        at COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager$JSPDataFile.run(FILESYSTEMJSPManager.java:190)
        at COM.FutureTense.Common.ContentServer.jspExecute(ContentServer.java:3027)
        at COM.FutureTense.Common.ContentServer.evalTemplate(ContentServer.java:2621)
        at COM.FutureTense.Common.ContentServer.processElement(ContentServer.java:1999)
        at COM.FutureTense.Common.CS.CallElement(CS.java:1603)
        at jsp_servlet._jsp._cs_deployed._wcc._rule._ui.__mainjavascript._jspService(__mainjavascript.java:224)
        at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184)
        at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)
        at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:447)
        at COM.FutureTense.Servlet.ServletRequest.include(ServletRequest.java:1414)
        at COM.FutureTense.Servlet.FRequestObj.include(FRequestObj.java:1422)
        at COM.FutureTense.Servlet.JSPServices.runJSP(JSPServices.java:111)
        at COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager.runJSP(FILESYSTEMJSPManager.java:463)
        at COM.FutureTense.Servlet.JSPServices.runJSPObject(JSPServices.java:50)
        at COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager$JSPDataFile.run(FILESYSTEMJSPManager.java:190)
        at COM.FutureTense.Common.ContentServer.jspExecute(ContentServer.java:3027)
        at COM.FutureTense.Common.ContentServer.evalTemplate(ContentServer.java:2621)
        at COM.FutureTense.Common.ContentServer.processElement(ContentServer.java:1999)
        at COM.FutureTense.Common.CS.CallElement(CS.java:1603)
        at com.divine.ics.jsp.CallElement.doEndTag(CallElement.java:84)
        at com.openmarket.framework.jsp.Base.doEndTag(Base.java:143)
        at jsp_servlet._jsp._cs_deployed._openmarket._xcelerate._actions._wcc.__ruledetail._jsp__tag8(__ruledetail.java:419)
        at jsp_servlet._jsp._cs_deployed._openmarket._xcelerate._actions._wcc.__ruledetail._jspService(__ruledetail.java:125)
        ...

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