Service Manager / Service Center Practitioners Forum
Showing results for 
Search instead for 
Do you mean 

CI visualization error

Highlighted
Advisor

CI visualization error

Hello Everyone

 

I am getting following error when i search for a CI in SM 9.33.0035 (on both Windows client and web)

 

Process panel process.option in RAD display encountered error in line 1 (display,process.option)
Cannot evaluate expression (display,process.option)
Cannot evaluate expression (display,process.option)
Cannot evaluate expression (display,process.option)
Bad arg(2) oper = (display,process.option)
Cannot evaluate expression (display,process.option)
Cannot evaluate expression (display,process.option)
Cannot evaluate expression (display,process.option)
Bad arg(2) oper = (display,process.option)
Cannot evaluate expression (display,process.option)
Script 'ciVisualizationGraph'  line 1003: ERROR TypeError: relationship has no properties at char 1

 

i check script "ciVisualizationGraph" at line 1003 and it is

 

 var line = VisualLine.lookup(relationship.get("line.name"));

 

which is getting line name from

 

var repositories =   [ { "repository" : Node,                "file" : "device",                      "keys" : ["logical.name"] },
    // XXX Relation doesn't exists in database, here just what to use repository method (put/forEach/filter...)
    { "repository" : Relation,            "file" : "_relation_",                  "keys" : [] },
    { "repository" : Relationship,        "file" : "cirelationship",              "keys" : ["logical.name", "relationship.name"] },
    // XXX Though the unique key of SYSATTACHMENTS is not only these two fields, but they are enough for visualization
    { "repository" : VisualIcon,          "file" : "SYSATTACHMENTS",              "keys" : ["application", "topic"] },
    { "repository" : VisualLine,          "file" : "civisualizationline",         "keys" : ["line.name"] },
    { "repository" : VisualAdmin,         "file" : "civisualizationadmin",        "keys" : ["id"] },
    { "repository" : VisualLabel,         "file" : "civisualizationlabel",        "keys" : ["label.name"] },
    { "repository" : VisualDevice,        "file" : "civisualizationdevice",       "keys" : ["uniqueID"] },
    { "repository" : VisualDecorator,     "file" : "civisualizationdecorator",    "keys" : ["name"] },
    { "repository" : VisualRelationship,  "file" : "civisualizationrelationship", "keys" : ["relationship.type", "relationship.subtype"]}
  ];

 

 

i have check civisualizationline table and it has data, which seem correctly populated.

This has happened on upgrade from 9.32, we have tested on brand new 9.33 install and the graph was working.

 

Push from UCMDB was also successful.

2 REPLIES
Honored Contributor Honored Contributor

Re: CI visualization error

Honored Contributor

Re: CI visualization error

Hi,

 

 

 This is caused becuas the relationship.subtype always has to contaiin a value. However relationship.type can be null - empty. But when both fields are empty this error message may appaer.

So please use relationship.subtype to match types coming from Ucmdb.
 
 

 

HP Support
If you find that this or any post resolved your issue, please be sure
to mark it as an accepted solution.
Please also give kudo if you find it interesting :)