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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

You can only access stepExecutionContext within a bean defined in the scope = "step", add "scope = "step"" to your bean declaration.

,
Expert 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

Solutions on the web

via GitHub by foobargeez
, 1 year ago
EL1004E:(pos 0): Method call: Method getType() cannot be found on com.graphaware.module.es.mapping.json.RelationshipExpression type
via GitHub by phamann
, 2 years ago
EL1004E:(pos 0): Method call: Method isType(java.lang.String,java.lang.String) cannot be found on com.graphaware.common.policy.spel.RelationshipExpressions type
via Stack Overflow by Stefan Falk
, 1 year ago
EL1004E:(pos 0): Method call: Method hasPermission(java.lang.String) cannot be found on org.springframework.security.access.expression.method.MethodSecurityExpressionRoot type
via Stack Overflow by uksz
, 1 year ago
EL1004E:(pos 0): Method call: Method hasIpAddress(java.lang.String) cannot be found on org.springframework.security.access.expression.method.MethodSecurityExpressionRoot type
via Stack Overflow by Ulhas N
, 9 months ago
EL1004E:(pos 88): Method call: Method toGregorianCalendar() cannot be found on java.util.Date type
via Stack Overflow by Rizki Mardian
, 10 months ago
EL1004E:(pos 4): Method call: Method getPlasmid(null) cannot be found on org.cidarlab.main.thomoclotho.PlasmidList type
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(MethodReference.java:211)
at org.springframework.expression.spel.ast.MethodReference.getValueInternal(MethodReference.java:125)
at org.springframework.expression.spel.ast.MethodReference.getValueInternal(MethodReference.java:85)
at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:120)
at com.graphaware.module.es.mapping.json.GraphDocumentMapper.getType(GraphDocumentMapper.java:130)
at com.graphaware.module.es.mapping.json.GraphDocumentMapper.getDocumentRepresentation(GraphDocumentMapper.java:184)
at com.graphaware.module.es.mapping.json.GraphDocumentMapper.getDocumentRepresentation(GraphDocumentMapper.java:159)
at com.graphaware.module.es.mapping.json.DocumentMappingRepresentation.createOrUpdateRelationship(DocumentMappingRepresentation.java:79)
at com.graphaware.module.es.mapping.JsonFileMapping.createRelationship(JsonFileMapping.java:96)
at com.graphaware.module.es.mapping.JsonFileMapping.getActions(JsonFileMapping.java:76)
at com.graphaware.module.es.ElasticSearchWriter.processOperations(ElasticSearchWriter.java:108)
at com.graphaware.writer.thirdparty.BaseThirdPartyWriter.runOneIteration(BaseThirdPartyWriter.java:63)
at com.google.common.util.concurrent.AbstractScheduledService$1$1.run(AbstractScheduledService.java:174)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

9 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
6 times, 6 months ago
2 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.