Thomas Fromm created ISPN-1829:
----------------------------------
Summary: NPE when key 2 string transformer for lucene missing
Key: ISPN-1829
URL:
https://issues.jboss.org/browse/ISPN-1829
Project: Infinispan
Issue Type: Enhancement
Components: Lucene Directory
Affects Versions: 5.1.0.FINAL
Reporter: Thomas Fromm
Assignee: Sanne Grinovero
A speaking error message, maybe including the class name, for which a transformer is
missing would be better.
java.lang.NullPointerException
at
org.infinispan.query.backend.KeyTransformationHandler.getTransformerClassFromAnnotation(KeyTransformationHandler.java:204)
at
org.infinispan.query.backend.KeyTransformationHandler.getTransformerClass(KeyTransformationHandler.java:196)
at
org.infinispan.query.backend.KeyTransformationHandler.getTransformer(KeyTransformationHandler.java:189)
at
org.infinispan.query.backend.KeyTransformationHandler.keyToString(KeyTransformationHandler.java:154)
at
org.infinispan.query.backend.QueryInterceptor.keyToString(QueryInterceptor.java:310)
at
org.infinispan.query.backend.QueryInterceptor.addToIndexes(QueryInterceptor.java:220)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira