Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-1829

NPE when key 2 string transformer for lucene missing

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 5.1.1.FINAL
    • 5.1.0.FINAL
    • Embedded Querying
    • None

      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)

              sgrinove Sanne Grinovero (Inactive)
              tfromm_jira Thomas Fromm (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: