Notifications

22 views

Description

Ecc_queue input error:

Stack:
com.snc.sw.resulthandlers.HorizontalDiscoveryPatternErrorHandler.getAllErrorNodes(HorizontalDiscoveryPatternErrorHandler.java:108)
com.snc.sw.resulthandlers.HorizontalDiscoveryPatternErrorHandler.handlePatternError(HorizontalDiscoveryPatternErrorHandler.java:71)
com.snc.sw.resulthandlers.HorizontalDiscoveryResultHandler.logDiscoveryMessage(HorizontalDiscoveryResultHandler.java:1114)
com.snc.sw.resulthandlers.HorizontalDiscoveryResultHandler.jsFunction_logDiscoveryMessage(HorizontalDiscoveryResultHandler.java:1104)
sun.reflect.GeneratedMethodAccessor2893.invoke(Unknown Source)
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.discovery_sensor_2f32f7899f230200fe2ab0aec32e706a_3588._c_anonymous_2(discovery_sensor.2f32f7899f230200fe2ab0aec32e706a:266)

Steps to Reproduce

1. Discover a CI where the discovery log returned is larger than 4096000 bytes.

Workaround

This is expected behavior. The default size of column sa_discovery_log is 4096000. This value could be increased in order to avoid this error. However, it is best to keep this value OOB. This error does not stop the insertion of the CI present in the payload. Increasing the size of this field could cause the UI to hand when trying to load such pattern logs. The linked PRB fix will better handle this scenario instead of throwing error.


Related Problem: PRB1365575

Seen In

There is no data to report.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2020-02-05 12:05:35
Published:2020-01-23