Decision Manager checkout throws the error, "java.lang.IllegalArgumentException: No enum const class com.tibco.cep.security.authz.utils.ResourceType.ID".
book
Article ID: KB0087679
calendar_today
Updated On:
Products
Versions
TIBCO BusinessEvents Enterprise Edition
-
Not Applicable
-
Description
Resolution: Description: ========= Decision Manager checkout throws the error, "java.lang.IllegalArgumentException: No enum const class com.tibco.cep.security.authz.utils.ResourceType.ID".
Environment: ========== TIBCO Product name and version: TIBCO BusinessEvents (BE) 4.0.1 Operating System(s): All
Symptoms: ======== The error is accompanied by a trace: +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2000 Feb 29 16:36:03:899 GMT +5 localhost.localdomain Error [I/O_dispatcher_5] - [runtime.service] [inf] Got runtime exception while executing Rule be.gen.Approval.Rules.ArtifactsRuleSet.AMS_RU_RetrieveApprovedArtifactNamesRule(Approval.Rules.ArtifactsRuleSet.AMS_RU_RetrieveApprovedArtifactNamesRule) Action be.gen.Approval.Rules.ArtifactsRuleSet.AMS_RU_RetrieveApprovedArtifactNamesRule$AMS_RU_RetrieveApprovedArtifactNamesRule_a@19e6e00 Objects <be.gen.Approval.Events.ArtifactEvents.AMS_E_RetrieveArtifactNamesRequestEvent@id=13959>
java.lang.IllegalArgumentException: No enum const class com.tibco.cep.security.authz.utils.ResourceType.ID at java.lang.Enum.valueOf(Enum.java:196) at com.tibco.cep.security.authz.utils.ResourceType.valueOf(Unknown Source) at com.tibco.be.rms.functions.AuthorizationHelper.ensureAccess(AuthorizationHelper.java:504) at be.gen.Approval.Rules.ArtifactsRuleSet.AMS_RU_RetrieveApprovedArtifactNamesRule$AMS_RU_RetrieveApprovedArtifactNamesRule_a.execute(AMS_RU_RetrieveApprovedArtifactNamesRule.java:145) at com.tibco.cep.kernel.core.rete.ReteWM.resolveConflict(ReteWM.java:311) at com.tibco.cep.kernel.core.rete.ReteWM.executeRules(ReteWM.java:1366) at com.tibco.cep.runtime.session.impl.RuleSessionImpl.preprocessPassthru(RuleSessionImpl.java:960) at com.tibco.cep.runtime.scheduler.impl.DefaultTaskController.processEvent(DefaultTaskController.java:120) at com.tibco.cep.runtime.scheduler.impl.WorkerBasedController.processEvent(WorkerBasedController.java:250) at com.tibco.cep.runtime.channel.impl.AbstractDestination.onMessage(AbstractDestination.java:223) at com.tibco.cep.runtime.channel.impl.AbstractDestination.onMessage(AbstractDestination.java:200) at com.tibco.cep.driver.http.HttpDestination.processMessage(HttpDestination.java:169) at com.tibco.cep.driver.http.server.impl.httpcomponents.handlers.ASyncHttpComponentsDestinationProcessor.process(ASyncHttpComponentsDestinationProcessor.java:54) at com.tibco.cep.driver.http.server.impl.httpcomponents.handlers.AsyncHttpComponentsRequestHandler.handle(AsyncHttpComponentsRequestHandler.java:104) at org.apache.http.nio.protocol.AsyncNHttpServiceHandler.processRequest(AsyncNHttpServiceHandler.java:457) at org.apache.http.nio.protocol.AsyncNHttpServiceHandler.requestReceived(AsyncNHttpServiceHandler.java:229) at org.apache.http.impl.nio.DefaultNHttpServerConnection.consumeInput(DefaultNHttpServerConnection.java:167) at org.apache.http.impl.nio.DefaultServerIOEventDispatch.inputReady(DefaultServerIOEventDispatch.java:145) at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:153) at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:314) at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:294) at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:256) at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:96) at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:556) at java.lang.Thread.run(Thread.java:619) +++++++++++++++++++++++++++++++++++++++++++++++++++++++
Cause: ===== Artifacts other than Decision Tables (DTs) are not supported with Decision Manager.
Resolution: ======== As a workaround, Studio (instead of Decision Manager UI) should be used to checkout the project.
Issue/Introduction
Decision Manager checkout throws the error, "java.lang.IllegalArgumentException: No enum const class com.tibco.cep.security.authz.utils.ResourceType.ID".