我想将我的独立graylog2实例从1.1.5升级到1.2.1。 我解压缩了新版本,复制了旧的graylog.conf文件和data /目录,在我启动新版本后,我遇到了一些错误。
例如,如果我转到索引页面,则graylog-webinterface日志会显示:
Caught Exception while deserializing JSON request:
com.fasterxml.jackson.databind.JsonMappingException: Instantiation of [simple type, class org.graylog2.rest.models.system.indexer.responses.IndexRangeSummary] value failed: Null indexName (through reference chain: org.graylog2.rest.models.system.indexer.responses.IndexRangesResponse["ranges"]->java.util.ArrayList[0])
.
.
.
Caused by: java.lang.NullPointerException: Null indexName
at org.graylog2.rest.models.system.indexer.responses.AutoValue_IndexRangeSummary.<init>(AutoValue_IndexRangeSummary.java:21) ~[org.graylog2.graylog2-rest-models-1.1.5.jar:na]
at org.graylog2.rest.models.system.indexer.responses.IndexRangeSummary.create(IndexRangeSummary.java:47) ~[org.graylog2.graylog2-rest-models-1.1.5.jar:na]
at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source) ~[na:na]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_51]
at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_51]
at com.fasterxml.jackson.databind.introspect.AnnotatedMethod.call(AnnotatedMethod.java:120) ~[com.fasterxml.jackson.core.jackson-databind-2.5.3.jar:2.5.3]
at com.fasterxml.jackson.databind.deser.std.StdValueInstantiator.createFromObjectWith(StdValueInstantiator.java:227) ~[com.fasterxml.jackson.core.jackson-databind-2.5.3.jar:2.5.3]
... 61 common frames omitted
我该怎么办?
答案 0 :(得分:0)
请检查您是否也更新了graylog网站。