search cancel

REST GET call failing to return the list of groups when using All Groups

book

Article ID: 254127

calendar_today

Updated On:

Products

DX NetOps CA Performance Management - Usage and Administration

Issue/Introduction

When using the instructions outlined in this KB: https://knowledge.broadcom.com/external/article?articleId=32066 to list groups and their parameters, this returns an "Unexpected Error" response:

In the PCService,log we see the following error at the same time (or similar)

ERROR | qtp1653303626-99         | 2022-11-07 18:39:19,043 | com.ca.im.portal.services.item.GroupAdminServiceRSImpl
      | Error while trying to list groups
com.ca.im.portal.api.services.interfaces.item.GroupRuleException:
Parent rule 'Interface' type is the same as the sub-rule 'Interface' type
        at com.ca.im.portal.api.services.item.GroupRuleBase.XmlIssue(GroupRuleBase.java:59) ~[portal-api-impl.services.impl-21.2.12-RELEASE-629.jar:?]
        at com.ca.im.portal.api.services.item.GroupRule.logAndThrowXmlIssue(GroupRule.java:815) ~[portal-api-impl.services.impl-21.2.12-RELEASE-629.jar:?]
        at com.ca.im.portal.api.services.item.GroupRule.setItemType(GroupRule.java:387) ~[portal-api-impl.services.impl-21.2.12-RELEASE-629.jar:?]
        at com.ca.im.portal.api.services.item.GroupRule.load(GroupRule.java:298) ~[portal-api-impl.services.impl-21.2.12-RELEASE-629.jar:?]
        at com.ca.im.portal.api.services.item.GroupRuleParent.loadSubRules(GroupRuleParent.java:43) ~[portal-api-impl.services.impl-21.2.12-RELEASE-629.jar:?]
        at com.ca.im.portal.api.services.item.GroupRule.load(GroupRule.java:300) ~[portal-api-impl.services.impl-21.2.12-RELEASE-629.jar:?]
        at com.ca.im.portal.api.services.item.GroupRuleParent.loadSubRules(GroupRuleParent.java:43) ~[portal-api-impl.services.impl-21.2.12-RELEASE-629.jar:?]
        at com.ca.im.portal.api.services.item.GroupRuleSet.load(GroupRuleSet.java:215) ~[portal-api-impl.services.impl-21.2.12-RELEASE-629.jar:?]
        at com.ca.im.portal.api.services.item.GroupAdmin.loadGroupRules(GroupAdmin.java:4523) ~[portal-api-impl.services.impl-21.2.12-RELEASE-629.jar:?]
        at com.ca.im.portal.services.item.GroupAdminServiceRSImpl.recurseGroups(GroupAdminServiceRSImpl.java:1699) ~[portal.console.services-21.2.12-RELEASE-629.jar:?]
        at com.ca.im.portal.services.item.GroupAdminServiceRSImpl.recurseGroups(GroupAdminServiceRSImpl.java:1714) ~[portal.console.services-21.2.12-RELEASE-629.jar:?]
        at com.ca.im.portal.services.item.GroupAdminServiceRSImpl.recurseGroups(GroupAdminServiceRSImpl.java:1714) ~[portal.console.services-21.2.12-RELEASE-629.jar:?]
        at com.ca.im.portal.services.item.GroupAdminServiceRSImpl.recurseGroups(GroupAdminServiceRSImpl.java:1714) ~[portal.console.services-21.2.12-RELEASE-629.jar:?]
        at com.ca.im.portal.services.item.GroupAdminServiceRSImpl.recurseGroups(GroupAdminServiceRSImpl.java:1714) ~[portal.console.services-21.2.12-RELEASE-629.jar:?]
        at com.ca.im.portal.services.item.GroupAdminServiceRSImpl.listGroupsInXml(GroupAdminServiceRSImpl.java:776) ~[portal.console.services-21.2.12-RELEASE-629.jar:?]
        at com.ca.im.portal.services.item.GroupAdminServiceRSImpl.listGroupsInXmlWithRetry(GroupAdminServiceRSImpl.java:709) ~[portal.console.services-21.2.12-RELEASE-629.jar:?]
        at com.ca.im.portal.services.item.GroupAdminServiceRSImpl.listGroups(GroupAdminServiceRSImpl.java:510) ~[portal.console.services-21.2.12-RELEASE-629.jar:?]
        at com.ca.im.portal.services.item.GroupAdminServiceRSImpl.listGroups(GroupAdminServiceRSImpl.java:420) ~[portal.console.services-21.2.12-RELEASE-629.jar:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
        at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:179) ~[cxf-core-3.5.0.jar:3.5.0]
        at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96) ~[cxf-core-3.5.0.jar:3.5.0]
        at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:201) ~[cxf-rt-frontend-jaxrs-3.5.0.jar:3.5.0]
        at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:104) ~[cxf-rt-frontend-jaxrs-3.5.0.jar:3.5.0]
        at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59) ~[cxf-core-3.5.0.jar:3.5.0]
        at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96) ~[cxf-core-3.5.0.jar:3.5.0]
        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307) ~[cxf-core-3.5.0.jar:3.5.0]
        at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121) ~[cxf-core-3.5.0.jar:3.5.0]
        at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:265) ~[cxf-rt-transports-http-3.5.0.jar:3.5.0]
        at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234) ~[cxf-rt-transports-http-3.5.0.jar:3.5.0]
        at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208) ~[cxf-rt-transports-http-3.5.0.jar:3.5.0]
        at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160) ~[cxf-rt-transports-http-3.5.0.jar:3.5.0]
        at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:225) ~[cxf-rt-transports-http-3.5.0.jar:3.5.0]
        at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:304) ~[cxf-rt-transports-http-3.5.0.jar:3.5.0]
        at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:222) ~[cxf-rt-tr

Environment

Release : 21.2

Cause

An invalid sub-rule has been created.

Resolution

Please contact support for additional assistance in resolving this issue.

When opening the issue, please provide a CA Remote Engineer from the DX Netsop Portal server:

https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/it-operations-management/performance-management/21-2/troubleshooting/unable-to-resolve-issue.html