gchq / stroom

Stroom is a highly scalable data storage, processing and analysis platform.
https://gchq.github.io/stroom-docs/
Apache License 2.0
436 stars 53 forks source link

NPE when creating a rule if default error feed is not set #4613

Open at055612 opened 1 week ago

at055612 commented 1 week ago

If the default error feed prop has not been set you get a nasty NPE when creating a rule

ConsoleLogger.java:55 Exception: java.lang.NullPointerException: supplier.get()
ConsoleLogger.java:33 TypeError: java.lang.NullPointerException: supplier.get()
    at a6e_g$.b6e_g$ [as createError_0_g$] (NullPointerException.java:40:1)
    at a6e_g$.jE_g$ [as initializeBackingError_0_g$] (Throwable.java:108:1)
    at a6e_g$.TD_g$ (Throwable.java:68:1)
    at a6e_g$.zE_g$ (Exception.java:29:1)
    at a6e_g$.HE_g$ (RuntimeException.java:29:1)
    at a6e_g$.WF_g$ (JsException.java:35:1)
    at new a6e_g$ (NullPointerException.java:31:1)
    at gJf_g$ (Objects.java:120:1)
    at Cqx_g$ (GwtNullSafe.java:1142:1)
    at Dbh_g$.Ibh_g$ [as lambda$3_9_g$] (AnalyticProcessingPresenter.java:103:1)
    at hch_g$.ich_g$ [as accept_7_g$] (AnalyticProcessingPresenter.java:101:1)
    at n_w_g$.r_w_g$ [as get_185_g$] (UiConfigCache.java:100:1)
    at Dbh_g$.Obh_g$ [as onRead_1_g$] (AnalyticProcessingPresenter.java:101:1)
    at Dbh_g$.Nbh_g$ [as onRead_0_g$] (AnalyticProcessingPresenter.java:100:1)
    at Dbh_g$.f8g_g$ [as read_3_g$] (DocumentEditPresenter.java:74:1)
    at Kwn_g$.Qwn_g$ [as read_3_g$] (DocumentEditTabProvider.java:35:1)