UCMDB and UD Practitioners Forum (Previously CMS)
cancel

ucmdb error while invoking the discovery pattern

Highlighted
Vijayk
Occasional Advisor

ucmdb error while invoking the discovery pattern

Hi
I have developed a discovery pattern to discover our service elements. But its not working when i checked the logs i can see the following exception.

I am not sure why the error is thrown. Can anyone help on this ?

The exception is
jvm 1 | java.lang.IllegalArgumentException: The toStringData can't be null or
empty
jvm 1 | at com.mercury.topaz.cmdb.shared.model.object.id.impl.ExternalCm
dbObjectIdImpl.restore(ExternalCmdbObjectIdImpl.java:32)
jvm 1 | at com.mercury.topaz.cmdb.shared.model.object.id.impl.ExternalOb
jectIdFactory.restoreExternalObjectId(ExternalObjectIdFactory.java:46)
jvm 1 | at com.mercury.topaz.cmdb.shared.model.object.id.CmdbObjectID$Fa
ctory.restoreObjectID(CmdbObjectID.java:131)
jvm 1 | at appilog.collectors.agents.common.tasks.DestinationData.getIdA
sOID(DestinationData.java:199)
jvm 1 | at appilog.collectors.agents.probemgr.discoveryscheduler.ResultS
enderImpl.processResults(ResultSenderImpl.java:84)
jvm 1 | at appilog.collectors.agents.probemgr.discoveryscheduler.ResultS
enderImpl.processResults(ResultSenderImpl.java:67)
jvm 1 | at appilog.collectors.services.dynamic.core.DynamicService.disco
ver(DynamicService.java:67)
jvm 1 | at appilog.collectors.agents.probemgr.taskexecuter.JobExecuter.l
aunchTask(JobExecuter.java:604)
jvm 1 | at appilog.collectors.agents.probemgr.taskexecuter.JobExecuter.a
ccess$100(JobExecuter.java:40)
jvm 1 | at appilog.collectors.agents.probemgr.taskexecuter.JobExecuter$J
obExecuterWorker.executeTask(JobExecuter.java:518)
jvm 1 | at appilog.collectors.agents.probemgr.taskexecuter.JobExecuter$J
obExecuterWorker.run(JobExecuter.java:467)

 

 

P.S. This thread has been movedfrom Application Perf Mgmt (BAC / BSM) Support and News Forum to CMS and Discovery Support and News Forum . - Hp Forum Moderator

3 REPLIES
Tomer Eckhous
Frequent Visitor

Re: ucmdb error while invoking the discovery pattern

what sort of pattern you trying to run?

At a glance it seems that it trying to cast something into a string and it contain null.
JamesII
Member

Re: ucmdb error while invoking the discovery pattern

Can you post your script? Without it we can't tell you how to fix it.
Sergey Stefurak
Honored Contributor

Re: ucmdb error while invoking the discovery pattern

probably CMDB id is null for your discovered CI's
//Add this to "OnDomLoad" event