Service Mapping Failure to launch with error: "java.lang.NullPointerException"Issue <!-- div.margin{ padding: 10px 40px 40px 30px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internaltable { white-space:nowrap; text-align:left; border-width: 1px; border-collapse: collapse; font-size:14px; width: 85%; } table.internaltable th { border-width: 1px; padding: 5px; border-style: solid; border-color: rgb(245, 245, 245); background-color: rgb(245, 245, 245); } table.internaltable td { border-width: 1px; padding: 5px; border-style: solid; border-color: #E0E0E0; color: #000000; } .title { color: #D1232B; font-weight:normal; font-size:28px; } h1{ color: #D1232B; font-weight:normal; font-size:21px; margin-bottom:-5px } h2{ color: #646464; font-weight:bold; font-size:18px; } h3{ color: #000000; font-weight:BOLD; font-size:16px; text-decoration:underline; } h4{ color: #646464; font-weight:BOLD; font-size:15px; text-decoration:; } h5{ color: #000000; font-weight:BOLD; font-size:13px; text-decoration:; } h6{ color: #000000; font-weight:BOLD; font-size:14px; text-decoration:; } ul{ list-style: disc outside none; margin-left: 0; } li { padding-left: 1em; } --> Symptoms Service mapping view map Just throws a nullpointer exception after entering the entry point "java.lang.NullPointerException" Release All releases Cause Out of the box, Service mapping depends on the following relationship types, if any of these relationships types are modified or removed we will be throwing a nullpointer exception Not all of them are mandatory for service mapping to succeed. But some are critical. list of mandatory relation typed that should not be modified or removed Runs On::RunsHosted on::HostsApplicative Flow To::Applicative Flow FromImplement End Point To::Implement End Point FromUse End Point To::Use End Point FromCluster of::ClusterContains::Contained byMembers::Member ofDepends on::Used by We also query for these relationship types based on the sys_id as part of the script include "MetadataRulesProvider", If you modify or recreate the relationship types, make sure you update the sys_id of the rel_type in the script include. ******Code****** var HOSTED_ON = "14cdeec3138bda001c5b38b2f244b068";//original was "5f985e0ec0a8010e00a9714f2a172815";var CONTAINS = "d0756272245578001a9d3579d366084a";//original was "55c95bf6c0a8010e0118ec7056ebc54d"; Resolution -If any of the above rel_types are missing, re-import or re-create these relationship types. -If the rel_type has a different sys_id than what we are querying for in "MetadataRulesProvider", please update it with proper sys_id.