java.lang.RuntimeException

java.lang.reflect.InvocationTargetException

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1963

  • java.lang.reflect.InvocationTargetException
  • java.lang.reflect.InvocationTargetException
  • via GitHub by TMEFRT
    , 1 year ago
    java.lang.reflect.InvocationTargetException
  • Stack trace

    • java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.apache.cassandra.index.SecondaryIndexManager.createInstance(SecondaryIndexManager.java:424)[apache-cassandra-3.7.0.jar:3.7.0] at org.apache.cassandra.index.SecondaryIndexManager.createIndex(SecondaryIndexManager.java:159)[apache-cassandra-3.7.0.jar:3.7.0] at org.apache.cassandra.index.SecondaryIndexManager.addIndex(SecondaryIndexManager.java:185)[apache-cassandra-3.7.0.jar:3.7.0] at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:429)[apache-cassandra-3.7.0.jar:3.7.0] at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:377)[apache-cassandra-3.7.0.jar:3.7.0] at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:592)[apache-cassandra-3.7.0.jar:3.7.0] at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:569)[apache-cassandra-3.7.0.jar:3.7.0] at org.apache.cassandra.db.Keyspace.initCf(Keyspace.java:383)[apache-cassandra-3.7.0.jar:3.7.0] at org.apache.cassandra.db.Keyspace.<init>(Keyspace.java:320)[apache-cassandra-3.7.0.jar:3.7.0] at org.apache.cassandra.db.Keyspace.open(Keyspace.java:130)[apache-cassandra-3.7.0.jar:3.7.0] at org.apache.cassandra.db.Keyspace.open(Keyspace.java:107)[apache-cassandra-3.7.0.jar:3.7.0] at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:281)[apache-cassandra-3.7.0.jar:3.7.0] at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:585)[apache-cassandra-3.7.0.jar:3.7.0] at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:714)[apache-cassandra-3.7.0.jar:3.7.0] Caused by: java.lang.reflect.InvocationTargetException: null at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[na:1.8.0_101] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)[na:1.8.0_101] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[na:1.8.0_101] at java.lang.reflect.Constructor.newInstance(Constructor.java:423)[na:1.8.0_101] at org.apache.cassandra.index.SecondaryIndexManager.createInstance(SecondaryIndexManager.java:420)[apache-cassandra-3.7.0.jar:3.7.0] ... 13 more Caused by: com.stratio.cassandra.lucene.IndexException: com.stratio.cassandra.lucene.IndexException: 'schema' is invalid : Unparseable JSON schema: Unrecognized field "indexed" (Class com.stratio.cassandra.lucene.schema.mapping.builder.IntegerMapperBuilder), not marked as ignorable at [Source: java.io.StringReader@48c52839; line: 8, column: 58] (through reference chain: com.stratio.cassandra.lucene.schema.mapping.builder.IntegerMapperBuilder["indexed"]): { fields : { name : {type : "string"}, gender : {type : "string", validated : true}, animal : {type : "string"}, age : {type : "integer"}, food : {type : "string"}, number : {type : "integer", indexed : false, sorted : true}, bool : {type : "boolean"}, date : {type : "date", sorted : true, validated : true, pattern : "yyyy/MM/dd"}, duration : {type : "date_range", from : "start_date", to : "stop_date", pattern : "yyyy/MM/dd"}, place : {type : "geo_point", latitude : "latitude", longitude : "longitude", sorted : true}, mapz : {type : "string", sorted : true}, setz : {type : "string"}, listz : {type : "string"} } } at com.stratio.cassandra.lucene.Index.<init>(Index.java:90)[cassandra-lucene-index-plugin-3.7.2.jar:na] ... 18 more Caused by: com.stratio.cassandra.lucene.IndexException: 'schema' is invalid : Unparseable JSON schema: Unrecognized field "indexed" (Class com.stratio.cassandra.lucene.schema.mapping.builder.IntegerMapperBuilder), not marked as ignorable at [Source: java.io.StringReader@48c52839; line: 8, column: 58] (through reference chain: com.stratio.cassandra.lucene.schema.mapping.builder.IntegerMapperBuilder["indexed"]): { fields : { name : {type : "string"}, gender : {type : "string", validated : true}, animal : {type : "string"}, age : {type : "integer"}, food : {type : "string"}, number : {type : "integer", indexed : false, sorted : true}, bool : {type : "boolean"}, date : {type : "date", sorted : true, validated : true, pattern : "yyyy/MM/dd"}, duration : {type : "date_range", from : "start_date", to : "stop_date", pattern : "yyyy/MM/dd"}, place : {type : "geo_point", latitude : "latitude", longitude : "longitude", sorted : true}, mapz : {type : "string", sorted : true}, setz : {type : "string"}, listz : {type : "string"} } } at com.stratio.cassandra.lucene.IndexOptions.parseSchema(IndexOptions.java:270)[cassandra-lucene-index-plugin-3.7.2.jar:na] at com.stratio.cassandra.lucene.IndexOptions.<init>(IndexOptions.java:111)[cassandra-lucene-index-plugin-3.7.2.jar:na] at com.stratio.cassandra.lucene.IndexService.<init>(IndexService.java:111)[cassandra-lucene-index-plugin-3.7.2.jar:na] at com.stratio.cassandra.lucene.IndexServiceWide.<init>(IndexServiceWide.java:60)[cassandra-lucene-index-plugin-3.7.2.jar:na] at com.stratio.cassandra.lucene.IndexService.build(IndexService.java:182)[cassandra-lucene-index-plugin-3.7.2.jar:na] at com.stratio.cassandra.lucene.Index.<init>(Index.java:88)[cassandra-lucene-index-plugin-3.7.2.jar:na] ... 18 more Caused by: com.stratio.cassandra.lucene.IndexException: Unparseable JSON schema: Unrecognized field "indexed" (Class com.stratio.cassandra.lucene.schema.mapping.builder.IntegerMapperBuilder), not marked as ignorable at [Source: java.io.StringReader@48c52839; line: 8, column: 58] (through reference chain: com.stratio.cassandra.lucene.schema.mapping.builder.IntegerMapperBuilder["indexed"]): { fields : { name : {type : "string"}, gender : {type : "string", validated : true}, animal : {type : "string"}, age : {type : "integer"}, food : {type : "string"}, number : {type : "integer", indexed : false, sorted : true}, bool : {type : "boolean"}, date : {type : "date", sorted : true, validated : true, pattern : "yyyy/MM/dd"}, duration : {type : "date_range", from : "start_date", to : "stop_date", pattern : "yyyy/MM/dd"}, place : {type : "geo_point", latitude : "latitude", longitude : "longitude", sorted : true}, mapz : {type : "string", sorted : true}, setz : {type : "string"}, listz : {type : "string"} } } at com.stratio.cassandra.lucene.schema.SchemaBuilder.fromJson(SchemaBuilder.java:158)[cassandra-lucene-index-plugin-3.7.2.jar:na] at com.stratio.cassandra.lucene.IndexOptions.parseSchema(IndexOptions.java:262)[cassandra-lucene-index-plugin-3.7.2.jar:na] ... 23 more Caused by: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "indexed" (Class com.stratio.cassandra.lucene.schema.mapping.builder.IntegerMapperBuilder), not marked as ignorable at [Source: java.io.StringReader@48c52839; line: 8, column: 58] (through reference chain: com.stratio.cassandra.lucene.schema.mapping.builder.IntegerMapperBuilder["indexed"]) at org.codehaus.jackson.map.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:53)[jackson-mapper-asl-1.9.2.jar:1.9.2] at org.codehaus.jackson.map.deser.StdDeserializationContext.unknownFieldException(StdDeserializationContext.java:267)[jackson-mapper-asl-1.9.2.jar:1.9.2] at org.codehaus.jackson.map.deser.std.StdDeserializer.reportUnknownProperty(StdDeserializer.java:649)[jackson-mapper-asl-1.9.2.jar:1.9.2] at org.codehaus.jackson.map.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:635)[jackson-mapper-asl-1.9.2.jar:1.9.2] at org.codehaus.jackson.map.deser.BeanDeserializer.handleUnknownProperty(BeanDeserializer.java:1355)[jackson-mapper-asl-1.9.2.jar:1.9.2] at org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:717)[jackson-mapper-asl-1.9.2.jar:1.9.2] at org.codehaus.jackson.map.deser.BeanDeserializer.deserialize(BeanDeserializer.java:600)[jackson-mapper-asl-1.9.2.jar:1.9.2] at org.codehaus.jackson.map.jsontype.impl.AsPropertyTypeDeserializer.deserializeTypedFromObject(AsPropertyTypeDeserializer.java:84)[jackson-mapper-asl-1.9.2.jar:1.9.2] at org.codehaus.jackson.map.deser.AbstractDeserializer.deserializeWithType(AbstractDeserializer.java:89)[jackson-mapper-asl-1.9.2.jar:1.9.2] at org.codehaus.jackson.map.deser.std.MapDeserializer._readAndBind(MapDeserializer.java:321)[jackson-mapper-asl-1.9.2.jar:1.9.2] at org.codehaus.jackson.map.deser.std.MapDeserializer.deserialize(MapDeserializer.java:249)[jackson-mapper-asl-1.9.2.jar:1.9.2] at org.codehaus.jackson.map.deser.std.MapDeserializer.deserialize(MapDeserializer.java:33)[jackson-mapper-asl-1.9.2.jar:1.9.2] at org.codehaus.jackson.map.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:299)[jackson-mapper-asl-1.9.2.jar:1.9.2] at org.codehaus.jackson.map.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:899)[jackson-mapper-asl-1.9.2.jar:1.9.2] at org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObjectUsingNonDefault(BeanDeserializer.java:733)[jackson-mapper-asl-1.9.2.jar:1.9.2] at org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:683)[jackson-mapper-asl-1.9.2.jar:1.9.2] at org.codehaus.jackson.map.deser.BeanDeserializer.deserialize(BeanDeserializer.java:580)[jackson-mapper-asl-1.9.2.jar:1.9.2] at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2723)[jackson-mapper-asl-1.9.2.jar:1.9.2] at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1854)[jackson-mapper-asl-1.9.2.jar:1.9.2] at com.stratio.cassandra.lucene.util.JsonSerializer.fromString(JsonSerializer.java:70)[cassandra-lucene-index-plugin-3.7.2.jar:na] at com.stratio.cassandra.lucene.schema.SchemaBuilder.fromJson(SchemaBuilder.java:156)[cassandra-lucene-index-plugin-3.7.2.jar:na] ... 24 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    4 times, 1 month ago
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    4 times, 1 year ago
    6 more bugmates