My Oracle Support Banner

Getting "DROOLS content cannot be compiled" Error on Deploying UIM Cartridges Upgraded from UIM 7.2.5 to UIM 7.4 (Doc ID 2450005.1)

Last updated on MAY 23, 2024

Applies to:

Oracle Communications Unified Inventory Management - Version 7.4.0.0.0 and later
Information in this document applies to any platform.

Symptoms

UIM 7.4

Error Deploying cartridges.


<Sep 21, 2018 7:18:35,586 AM CEST> <Error> <org.drools.compiler.kie.builder.impl.AbstractKieModule> <BEA-000000> <Unable to build KieBaseModel:defaultKieBase
[2,14]: [ERR 101] Line 2:14 no viable alternative at input ''
[1,1]: [ERR 107] Line 1:1 mismatched input '#' expecting one of the following tokens: '[package, import, global, declare, function, rule, query]'.
[0,0]: Parser returned a null Package
>
oracle.communications.inventory.api.exception.ImportExportException: The ruleset :"DESIGN_FIBER_CONNECTIVITY_RFS " DROOLS content cannot be compiled because of this error        ERROR: Message [id=1, kieBase=defaultKieBase, level=ERROR, path=DESIGN_FIBER_CONNECTIVITY_RFS.drl, line=2, column=0
   text=[ERR 101] Line 2:14 no viable alternative at input '']
ERROR: Message [id=2, kieBase=defaultKieBase, level=ERROR, path=DESIGN_FIBER_CONNECTIVITY_RFS.drl, line=1, column=0
   text=[ERR 107] Line 1:1 mismatched input '#' expecting one of the following tokens: '[package, import, global, declare, function, rule, query]'.]
ERROR: Message [id=3, kieBase=defaultKieBase, level=ERROR, path=DESIGN_FIBER_CONNECTIVITY_RFS.drl, line=0, column=0
   text=Parser returned a null Package]
The ruleset :"COMPLETE_FIBER_CONNECTIVITY_RFS " DROOLS content cannot be compiled because of this error        ERROR: Message [id=1, kieBase=defaultKieBase, level=ERROR, path=COMPLETE_FIBER_CONNECTIVITY_RFS.drl, line=2, column=0
   text=[ERR 101] Line 2:13 no viable alternative at input '']
ERROR: Message [id=2, kieBase=defaultKieBase, level=ERROR, path=COMPLETE_FIBER_CONNECTIVITY_RFS.drl, line=1, column=0
   text=[ERR 107] Line 1:0 mismatched input '#' expecting one of the following tokens: '[package, import, global, declare, function, rule, query]'.]
ERROR: Message [id=3, kieBase=defaultKieBase, level=ERROR, path=COMPLETE_FIBER_CONNECTIVITY_RFS.drl, line=0, column=0
   text=Parser returned a null Package]
The ruleset :"CANCEL_FIBER_CONNECTIVITY_RFS " DROOLS content cannot be compiled because of this error        ERROR: Message [id=1, kieBase=defaultKieBase, level=ERROR, path=CANCEL_FIBER_CONNECTIVITY_RFS.drl, line=2, column=0
   text=[ERR 101] Line 2:14 no viable alternative at input '']
ERROR: Message [id=2, kieBase=defaultKieBase, level=ERROR, path=CANCEL_FIBER_CONNECTIVITY_RFS.drl, line=1, column=0
   text=[ERR 107] Line 1:1 mismatched input '#' expecting one of the following tokens: '[package, import, global, declare, function, rule, query]'.]
ERROR: Message [id=3, kieBase=defaultKieBase, level=ERROR, path=CANCEL_FIBER_CONNECTIVITY_RFS.drl, line=0, column=0
   text=Parser returned a null Package]
The ruleset :"ISSUE_FIBER_CONNECTIVITY_RFS " DROOLS content cannot be compiled because of this error        ERROR: Message [id=1, kieBase=defaultKieBase, level=ERROR, path=ISSUE_FIBER_CONNECTIVITY_RFS.drl, line=2, column=0
   text=[ERR 101] Line 2:14 no viable alternative at input '']
ERROR: Message [id=2, kieBase=defaultKieBase, level=ERROR, path=ISSUE_FIBER_CONNECTIVITY_RFS.drl, line=1, column=0
   text=[ERR 107] Line 1:1 mismatched input '#' expecting one of the following tokens: '[package, import, global, declare, function, rule, query]'.]
ERROR: Message [id=3, kieBase=defaultKieBase, level=ERROR, path=ISSUE_FIBER_CONNECTIVITY_RFS.drl, line=0, column=0
   text=Parser returned a null Package]

        at oracle.communications.inventory.api.common.impl.XmlIngestorImpl.compileRules(XmlIngestorImpl.java:535)
        at oracle.communications.inventory.api.common.impl.XmlIngestorImpl.preProcessStageObjects(XmlIngestorImpl.java:364)
        at oracle.communications.inventory.api.common.impl.XmlIngestorImpl.ingestMaterials(XmlIngestorImpl.java:303)
        at oracle.communications.inventory.api.common.impl.XmlIngestorImpl.performImport(XmlIngestorImpl.java:179)
        at oracle.communications.inventory.cartridge.deploy.IngestPersistentBundleTaskHandler.handleTasks(IngestPersistentBundleTaskHandler.java:43)
        at oracle.communications.inventory.cartridge.deploy.Util.executeTasks(Util.java:160)
        at oracle.communications.inventory.cartridge.deploy.Util.executeTasks(Util.java:146)
        at oracle.communications.inventory.cartridge.deploy.Util.processTasks(Util.java:122)
        at oracle.communications.inventory.cartridge.deploy.Util.runTasks(Util.java:79)
        at oracle.communications.inventory.cartridgemanagement.ies.impl.IesRunTasksEJB.runIesTasks(IesRunTasksEJB.java:48)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
        at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
        at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
        at com.oracle.pitchfork.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:101)
        at oracle.communications.inventory.cartridgemanagement.ies.impl.MDSInterceptor.labelInterceptor(MDSInterceptor.java:87)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.oracle.pitchfork.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:94)
        at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
        at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
        at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
        at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
        at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
        at com.sun.proxy.$Proxy448.runIesTasks(Unknown Source)
        at oracle.communications.inventory.cartridgemanagement.ies.impl.IesRunTasksEJB_k8jona_IesRunTasksRemoteImpl.__WL_invoke(Unknown Source)
        at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invokeInternal(SessionRemoteMethodInvoker.java:54)
        at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:21)
        at oracle.communications.inventory.cartridgemanagement.ies.impl.IesRunTasksEJB_k8jona_IesRunTasksRemoteImpl.runIesTasks(Unknown Source)
        at oracle.communications.inventory.cartridgemanagement.ies.impl.IesRunTasksEJB_k8jona_IesRunTasksRemoteImpl_WLSkel.invoke(Unknown Source)
        at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:252)
        at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:552)
        at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:313)
        at oracle.communications.inventory.cartridgemanagement.ies.impl.IesRunTasksEJB_k8jona_IesRunTasksRemoteImpl_12213_WLStub.runIesTasks(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:86)
        at com.sun.proxy.$Proxy447.runIesTasks(Unknown Source)
        at oracle.communications.inventory.cartridgemanagement.deploy.CartridgeHelper.runTasks(CartridgeHelper.java:985)
        at oracle.communications.inventory.cartridgemanagement.adapter.UimAdapterImpl.postDeployment(UimAdapterImpl.java:542)
        at oracle.communications.platform.cartridgemanagement.framework.BaseAdapter._postDeployment(BaseAdapter.java:1375)
        at oracle.communications.platform.cartridgemanagement.framework.BaseAdapter.processDefaultOrCustomDeployment(BaseAdapter.java:1310)
        at oracle.communications.platform.cartridgemanagement.framework.BaseAdapter.processCartridgeDeployment(BaseAdapter.java:1029)
        at oracle.communications.platform.cartridgemanagement.framework.BaseAdapter.access$300(BaseAdapter.java:103)
        at oracle.communications.platform.cartridgemanagement.framework.BaseAdapter$ExecutePrivilegedAction$1.run(BaseAdapter.java:1794)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:368)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:163)
        at weblogic.security.Security.runAs(Security.java:62)
        at oracle.communications.platform.cartridgemanagement.framework.BaseAdapter$ExecutePrivilegedAction.run(BaseAdapter.java:1791)
        at oracle.communications.platform.cartridgemanagement.framework.BaseAdapter.onMessage(BaseAdapter.java:1727)
        at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:438)
        at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:361)
        at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:297)
        at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:5107)
        at weblogic.jms.client.JMSSession.execute(JMSSession.java:4775)
        at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:4170)
        at weblogic.jms.client.JMSSession.access$000(JMSSession.java:127)
        at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5627)
        at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:678)
        at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)
        at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)
        at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)
        at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
        at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:652)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:420)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:360)
Error installing cartridges: {<Cartridge UIM_FiberConnectivity 1.0.0.0.0_b0>=java.io.IOException: The model data can not be imported. - The ruleset :"DESIGN_FIBER_CONNECTIVITY_RFS " DROOLS content cannot be compiled because of this error        ERROR: Message [id=1, kieBase=defaultKieBase, level=ERROR, path=DESIGN_FIBER_CONNECTIVITY_RFS.drl, line=2, column=0
   text=[ERR 101] Line 2:14 no viable alternative at input '']




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
Cause
Solution


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