Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error AchillesBeanMappingException when running in prod mod #25

Open
p-narola opened this issue Apr 28, 2017 · 2 comments
Open

Error AchillesBeanMappingException when running in prod mod #25

p-narola opened this issue Apr 28, 2017 · 2 comments

Comments

@p-narola
Copy link

p-narola commented Apr 28, 2017

Hi,

When I am running killrchat from branch "AchilllesDemo" because I am using DSE 5.1, I am running into following issue. Do you know what could be the issue? Appreciate your help.

Caused by: info.archinnov.achilles.exception.AchillesBeanMappingException: Data type 'set<frozen<killrchat.user_authority>>' for column 'authorities' of entity 'class com.datastax.demo.killrchat.entity.PersistentTokenEntity' does not match type in live schema 'set'
at info.archinnov.achilles.validation.Validator.validateBeanMappingTrue(Validator.java:125)
at info.archinnov.achilles.internals.schema.SchemaValidator.validateColumns(SchemaValidator.java:124)
at info.archinnov.achilles.internals.metamodel.AbstractEntityProperty.validateSchema(AbstractEntityProperty.java:348)
at info.archinnov.achilles.internals.runtime.AbstractManagerFactory.lambda$validateSchema$465(AbstractManagerFactory.java:186)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
at info.archinnov.achilles.internals.runtime.AbstractManagerFactory.validateSchema(AbstractManagerFactory.java:186)
at info.archinnov.achilles.internals.runtime.AbstractManagerFactory.bootstrap(AbstractManagerFactory.java:121)
at info.archinnov.achilles.generated.ManagerFactory.(ManagerFactory.java:56)
at info.archinnov.achilles.generated.ManagerFactoryBuilder.build(ManagerFactoryBuilder.java:38)
at com.datastax.demo.killrchat.configuration.CassandraConfiguration.cassandraNativeClusterProduction(CassandraConfiguration.java:68)
at com.datastax.demo.killrchat.configuration.CassandraConfiguration$$EnhancerBySpringCGLIB$$3bc3981b.CGLIB$cassandraNativeClusterProduction$0()
at com.datastax.demo.killrchat.configuration.CassandraConfiguration$$EnhancerBySpringCGLIB$$3bc3981b$$FastClassBySpringCGLIB$$5b859374.invoke()
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:309)
at com.datastax.demo.killrchat.configuration.CassandraConfiguration$$EnhancerBySpringCGLIB$$3bc3981b.cassandraNativeClusterProduction()
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)

@doanduyhai
Copy link
Owner

Humm it's an old issue, I will upgrade Achilles for KillrChat

@p-narola
Copy link
Author

p-narola commented Apr 29, 2017

I was trying this in AchillesDemo branch only which has dependency on Achilles Version 5.1.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants