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 | 9 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    Can type parameter be made dynamic?

    GitHub | 9 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
    samebug tip
    You can only access stepExecutionContext within a bean defined in the scope = "step", add "scope = "step"" to your bean declaration.
  3. 0
    samebug tip
    Flow files only know how to work with Spring Beans, annotate ManagedBean with @Component('serviceProviderSubscriptionBB') or declare the managed bean directly on flow with <var name="serviceProviderSubscriptionBB" class="the full name of your class"/>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    If you're not using an embedded servlet container, try do disable the white label in your application.properties, with "server.error.whitelabel.enabled = false" otherwise check this answer on stackoverflow: https://goo.gl/rG0vKE
  6. 0

    Error logging issues

    GitHub | 2 years 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
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