Graylog-plugin-collector - mvn package failed #62

i use mvn package to build graylog-plugin-collector.
this is the error message:

-------------------------------------------------------------------------------
Test set: org.graylog.plugins.collector.collectors.CollectorServiceImplTest
-------------------------------------------------------------------------------
Tests run: 10, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 6.299 sec <<< FAILURE! - in org.graylog.plugins.collector.collectors.CollectorServiceImplTest
testFindByNodeId(org.graylog.plugins.collector.collectors.CollectorServiceImplTest)  Time elapsed: 0.564 sec  <<< ERROR!
org.mongojack.MongoJsonMappingException: Error mapping BSON to POJOs
	at org.graylog.plugins.collector.collectors.CollectorServiceImplTest.testFindByNodeId(CollectorServiceImplTest.java:140)
Caused by: com.fasterxml.jackson.databind.JsonMappingException:
Can not construct instance of org.graylog.plugins.collector.collectors.CollectorNodeDetails, problem: Unresolved compilation problem:
	AutoValue_CollectorNodeDetails cannot be resolved to a type

 at [Source: N/A; line: -1, column: -1] (through reference chain: org.graylog.plugins.collector.collectors.CollectorImpl["node_details"])
	at org.graylog.plugins.collector.collectors.CollectorServiceImplTest.testFindByNodeId(CollectorServiceImplTest.java:140)
Caused by: java.lang.Error:
Unresolved compilation problem:
	AutoValue_CollectorNodeDetails cannot be resolved to a type

	at org.graylog.plugins.collector.collectors.CollectorServiceImplTest.testFindByNodeId(CollectorServiceImplTest.java:140)

testAll(org.graylog.plugins.collector.collectors.CollectorServiceImplTest)  Time elapsed: 0.044 sec  <<< ERROR!
org.mongojack.MongoJsonMappingException: Error mapping BSON to POJOs
	at org.graylog.plugins.collector.collectors.CollectorServiceImplTest.testAll(CollectorServiceImplTest.java:99)
Caused by: com.fasterxml.jackson.databind.JsonMappingException:
Can not construct instance of org.graylog.plugins.collector.collectors.CollectorNodeDetails, problem: Unresolved compilation problem:
	AutoValue_CollectorNodeDetails cannot be resolved to a type

 at [Source: N/A; line: -1, column: -1] (through reference chain: org.graylog.plugins.collector.collectors.CollectorImpl["node_details"])
	at org.graylog.plugins.collector.collectors.CollectorServiceImplTest.testAll(CollectorServiceImplTest.java:99)
Caused by: java.lang.Error:
Unresolved compilation problem:
	AutoValue_CollectorNodeDetails cannot be resolved to a type

	at org.graylog.plugins.collector.collectors.CollectorServiceImplTest.testAll(CollectorServiceImplTest.java:99)

testFindById(org.graylog.plugins.collector.collectors.CollectorServiceImplTest)  Time elapsed: 0.025 sec  <<< ERROR!
org.mongojack.MongoJsonMappingException: Error mapping BSON to POJOs
	at org.graylog.plugins.collector.collectors.CollectorServiceImplTest.testFindById(CollectorServiceImplTest.java:119)
Caused by: com.fasterxml.jackson.databind.JsonMappingException:
Can not construct instance of org.graylog.plugins.collector.collectors.CollectorNodeDetails, problem: Unresolved compilation problem:
	AutoValue_CollectorNodeDetails cannot be resolved to a type

 at [Source: N/A; line: -1, column: -1] (through reference chain: org.graylog.plugins.collector.collectors.CollectorImpl["node_details"])
	at org.graylog.plugins.collector.collectors.CollectorServiceImplTest.testFindById(CollectorServiceImplTest.java:119)
Caused by: java.lang.Error:
Unresolved compilation problem:
	AutoValue_CollectorNodeDetails cannot be resolved to a type

	at org.graylog.plugins.collector.collectors.CollectorServiceImplTest.testFindById(CollectorServiceImplTest.java:119)

testSaveFirstRecord(org.graylog.plugins.collector.collectors.CollectorServiceImplTest)  Time elapsed: 0.024 sec  <<< ERROR!
java.lang.Error:
Unresolved compilation problem:

........

Have you checked the hints I gave you in the original GitHub issue?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.