org.springframework.expression.spel.SpelEvaluationException: EL1004E:(pos 0): Method call: Method getType() cannot be found on com.graphaware.module.es.mapping.json.RelationshipExpression type

GitHub | foobargeez | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Can type parameter be made dynamic?

    GitHub | 7 months ago | foobargeez
    org.springframework.expression.spel.SpelEvaluationException: EL1004E:(pos 0): Method call: Method getType() cannot be found on com.graphaware.module.es.mapping.json.RelationshipExpression type
  2. 0

    Error logging issues

    GitHub | 1 year ago | phamann
    org.springframework.expression.spel.SpelEvaluationException: EL1004E:(pos 0): Method call: Method isType(java.lang.String,java.lang.String) cannot be found on com.graphaware.common.policy.spel.RelationshipExpressions type
  3. 0

    Reversed if condition

    GitHub | 1 year ago | evelan
    org.springframework.expression.spel.SpelEvaluationException: EL1007E:(pos 0): Property or field 'username' cannot be found on null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I am trying to use a result of method call to a spring bean as a part of the cache key, but that doesn't seem to work. @Inject private KeyCreatorBean keyCreatorBean; @Cacheable(value = "cacheName", key = "{@keyCreatorBean.createKey, #p0}") @Override public List<Examples> getExamples(ExampleId exampleId) { Results in this kind of stack trace: org.springframework.expression.spel.SpelEvaluationException: EL1008E:(pos 1): Field or property 'keyCreatorBean' cannot be found on object of type 'org.springframework.cache.interceptor.CacheExpressionRootObject' at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:208) at org.springframework.expression.spel.ast.PropertyOrFieldReference.getValueInternal(PropertyOrFieldReference.java:72) at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:52) at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:93) at org.springframework.expression.spel.ast.InlineList.getValueInternal(InlineList.java:86) at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:93) at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:88) at org.springframework.cache.interceptor.ExpressionEvaluator.key(ExpressionEvaluator.java:80) at org.springframework.cache.interceptor.CacheAspectSupport$CacheOperationContext.generateKey(CacheAspectSupport.java:464)

    Spring JIRA | 5 years ago | Juha Syrjälä
    org.springframework.expression.spel.SpelEvaluationException: EL1008E:(pos 1): Field or property 'keyCreatorBean' cannot be found on object of type 'org.springframework.cache.interceptor.CacheExpressionRootObject'
  6. 0

    Pass parameter to Spring soap interceptor

    Stack Overflow | 6 months ago | ViratKohli
    org.springframework.expression.spel.SpelEvaluationException: EL1008E:(pos 0): Property or field 'headers' cannot be found on object of type 'org.spri ngframework.beans.factory.config.BeanExpressionContext' - maybe not public?
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.springframework.expression.spel.SpelEvaluationException

    EL1004E:(pos 0): Method call: Method getType() cannot be found on com.graphaware.module.es.mapping.json.RelationshipExpression type

    at org.springframework.expression.spel.ast.MethodReference.findAccessorForMethod()
  2. Spring Expression Language (SpEL)
    SpelExpression.getValue
    1. org.springframework.expression.spel.ast.MethodReference.findAccessorForMethod(MethodReference.java:211)
    2. org.springframework.expression.spel.ast.MethodReference.getValueInternal(MethodReference.java:125)
    3. org.springframework.expression.spel.ast.MethodReference.getValueInternal(MethodReference.java:85)
    4. org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:120)
    5. org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:153)
    5 frames
  3. com.graphaware.module
    ElasticSearchWriter.processOperations
    1. com.graphaware.module.es.mapping.json.GraphDocumentMapper.getType(GraphDocumentMapper.java:130)
    2. com.graphaware.module.es.mapping.json.GraphDocumentMapper.getDocumentRepresentation(GraphDocumentMapper.java:184)
    3. com.graphaware.module.es.mapping.json.GraphDocumentMapper.getDocumentRepresentation(GraphDocumentMapper.java:159)
    4. com.graphaware.module.es.mapping.json.DocumentMappingRepresentation.createOrUpdateRelationship(DocumentMappingRepresentation.java:79)
    5. com.graphaware.module.es.mapping.JsonFileMapping.createRelationship(JsonFileMapping.java:96)
    6. com.graphaware.module.es.mapping.JsonFileMapping.getActions(JsonFileMapping.java:76)
    7. com.graphaware.module.es.ElasticSearchWriter.processOperations(ElasticSearchWriter.java:108)
    7 frames
  4. com.graphaware.writer
    BaseThirdPartyWriter.runOneIteration
    1. com.graphaware.writer.thirdparty.BaseThirdPartyWriter.runOneIteration(BaseThirdPartyWriter.java:63)
    1 frame
  5. Guava
    Callables$3.run
    1. com.google.common.util.concurrent.AbstractScheduledService$1$1.run(AbstractScheduledService.java:174)
    2. com.google.common.util.concurrent.Callables$3.run(Callables.java:95)
    2 frames
  6. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    2. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
    3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
    4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
    5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    7. java.lang.Thread.run(Thread.java:745)
    7 frames