-
Bug
-
Resolution: Fixed
-
Minor
-
None
I upgraded Jenkins to current latest 2.222.3 and all plugins including logstash.
The working version of logstash is 2.3.1.
Upgraded to 2.3.2. it is possible to have version 2.3.2 but as soon as we configure it with elasticsearch, it gives null pointer exception.
java.lang.NullPointerException
at jenkins.plugins.logstash.configuration.ElasticSearch.equals(ElasticSearch.java:135)
at java.util.Objects.equals(Objects.java:59)
at jenkins.plugins.logstash.LogstashConfiguration.configure(LogstashConfiguration.java:273)
at jenkins.model.Jenkins.configureDescriptor(Jenkins.java:3818)
at jenkins.model.Jenkins.doConfigSubmit(Jenkins.java:3782)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:396)
at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:408)
at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:212)
at org.kohsuke.stapler.SelectionInterceptedFunction$Adapter.invoke(SelectionInterceptedFunction.java:36)
at org.kohsuke.stapler.verb.HttpVerbInterceptor.invoke(HttpVerbInterceptor.java:48)
at org.kohsuke.stapler.SelectionInterceptedFunction.bindAndInvoke(SelectionInterceptedFunction.java:26)
at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:145)
at org.kohsuke.stapler.MetaClass$11.doDispatch(MetaClass.java:535)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747)
Caused: javax.servlet.ServletException