0

我想将我的独立 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

我能做些什么?

4

1 回答 1

0

请检查您是否还更新了 graylog 网站。

于 2015-10-02T11:37:33.797 回答