Notifications

73 views

Description

When running the scheduled job "CMDB Health Dashboard - Relationship Compliance Processor" we get several errors in the system log as below:

Table name cannot be null: java.lang.IllegalStateException: Table name cannot be null: com.glide.db.TableDescriptor.<init>(TableDescriptor.java:81)
com.glide.db.TableDescriptor.get(TableDescriptor.java:86)
com.glide.db.conditions.InstanceOfCondition.shouldOptimizeWithClassPathQuery(InstanceOfCondition.java:83)
com.glide.db.conditions.InstanceOfCondition.setValue(InstanceOfCondition.java:54)
com.glide.db.conditions.QueryCondition.create(QueryCondition.java:278)
com.glide.db.conditions.QueryCondition.create(QueryCondition.java:263)
com.glide.db.conditions.QueryCondition.addCondition(QueryCondition.java:382)
com.snc.cmdb.health.relation.RelationRuleUtil.appendRuleQueryCondition(RelationRuleUtil.java:150)
com.snc.cmdb.health.relation.RelationRuleUtil.filterOutValidResults(RelationRuleUtil.java:43)
com.snc.cmdb.health.relation.RuleManager.processEntries(RuleManager.java:43)
com.snc.cmdb.health.relation.SimpleHealthProcessor.process(SimpleHealthProcessor.java:46)
com.snc.cmdb.health.relation.RelationRuleProcessor.process(RelationRuleProcessor.java:11)
com.snc.cmdb.health.MetricProcessorScript.jsStaticFunction_relationComplianceProcessor(MetricProcessorScript.java:89)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)
org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138)
org.mozilla.javascript.FunctionObject.doInvoke(FunctionObject.java:670)
org.mozilla.javascript.FunctionObject.call(FunctionObject.java:614)
org.mozilla.javascript.ScriptRuntime.doCall(ScriptRuntime.java:2582)
org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:85)
org.mozilla.javascript.gen._refname__24287._c_script_0(<refname>:1)
org.mozilla.javascript.gen._refname__24287.call(<refname>)
org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:563)
org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3429)
org.mozilla.javascript.gen._refname__24287.call(<refname>)
org.mozilla.javascript.gen._refname__24287.exec(<refname>)
com.glide.script.ScriptEvaluator.execute(ScriptEvaluator.java:279)
com.glide.script.ScriptEvaluator.evaluateString(ScriptEvaluator.java:118)
com.glide.script.ScriptEvaluator.evaluateString(ScriptEvaluator.java:82)
com.glide.script.ScriptEvaluator.evaluateString(ScriptEvaluator.java:73)
com.glide.script.Evaluator.evaluateString(Evaluator.java:96)
com.snc.automation.ScriptJob.execute(ScriptJob.java:43)
com.glide.schedule.JobExecutor.lambda$executeJob$0(JobExecutor.java:108)
com.glide.schedule.JobExecutor.executeJob(JobExecutor.java:111)
com.glide.schedule.JobExecutor.execute(JobExecutor.java:95)
com.glide.schedule_v2.SchedulerWorkerThread.executeJob(SchedulerWorkerThread.java:329)
com.glide.schedule_v2.SchedulerWorkerThread.lambda$process$0(SchedulerWorkerThread.java:192)
com.glide.worker.TransactionalWorkerThread.executeInTransaction(TransactionalWorkerThread.java:35)
com.glide.schedule_v2.SchedulerWorkerThread.process(SchedulerWorkerThread.java:192)
com.glide.schedule_v2.SchedulerWorkerThread.run(SchedulerWorkerThread.java:100)

Steps to Reproduce

On any New York instance:

  1. Activate and Run scheduled job "CMDB Health Dashboard - Relationship Compliance Processor"
  2. Wait a bit
  3. Open the error log --> several errors as below appear:
Table name cannot be null: java.lang.IllegalStateException: Table name cannot be null: com.glide.db.TableDescriptor.<init>(TableDescriptor.java:81)
com.glide.db.TableDescriptor.get(TableDescriptor.java:86)
...(see above)

Workaround

This problem has been identified as a symptom of a wider platform problem:
KB0852444 / PRB1382043 IllegalStateException caused when trying to evaluate condition of business rule with invalid value for INSTANCEOF condition
That is fixed in at least the Paris release. Follow that link for further details.

A workaround for the scheduled job "CMDB Health Dashboard - Relationship Compliance Processor" is unknown at this time.


Related Problem: PRB1413635

Seen In

SR - ITOM - Discovery and Service Mapping - 201908

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2020-07-30 07:12:19
Published:2020-07-30