Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Discovery Horizontal Pattern Sensor Error

Joshua Comeau
Kilo Sage

The error logs show case:

JoshuaComeau_0-1713982827936.png

 

then the error indicates:

Script error in sensor: java.lang.IndexOutOfBoundsException: Index 142 out of bounds for length 142


Sensor error when processing horizontal pattern -----------------------------Stack:java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)java.base/java.util.Objects.checkIndex(Objects.java:374)java.base/java.util.ArrayList.get(ArrayList.java:459)com.snc.sw.resulthandlers.HorizontalReferenceHandler.handleReferences(HorizontalReferenceHandler.java:137)com.snc.sw.resulthandlers.HorizontalDiscoveryResultHandler.jsFunction_handleReferences(HorizontalDiscoveryResultHandler.java:636)java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

 

 

 

1 REPLY 1

Tony Branton
ServiceNow Employee

Hi Joshua,

 

Although Discovery can be used to populate the CMDB, the application is part of the ITOM portfolio.  This question can reach a more appropriate audience if it's posted in the ITOM forum rather than this forum which focuses on the CMDB.