java.lang.IllegalArgumentException

Unsupported Element: org.springframework.data.mongodb.core.spel.ExpressionNode@76c423f9 Type: class org.springframework.data.mongodb.core.spel.ExpressionNode You probably have a syntax error in your SpEL expression!

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web9

  • via Unknown by Rob Worsnop,
  • via Unknown by Rob Worsnop,
  • Stack trace

    • java.lang.IllegalArgumentException: Unsupported Element: org.springframework.data.mongodb.core.spel.ExpressionNode@76c423f9 Type: class org.springframework.data.mongodb.core.spel.ExpressionNode You probably have a syntax error in your SpEL expression! at org.springframework.data.mongodb.core.aggregation.SpelExpressionTransformer.lookupConversionFor(SpelExpressionTransformer.java:124)[spring-data-mongodb-1.6.0.RELEASE.jar:na] at org.springframework.data.mongodb.core.aggregation.SpelExpressionTransformer.transform(SpelExpressionTransformer.java:105)[spring-data-mongodb-1.6.0.RELEASE.jar:na] at org.springframework.data.mongodb.core.aggregation.SpelExpressionTransformer.transform(SpelExpressionTransformer.java:97)[spring-data-mongodb-1.6.0.RELEASE.jar:na] at org.springframework.data.mongodb.core.aggregation.ProjectionOperation$ExpressionProjectionOperationBuilder$ExpressionProjection.toMongoExpression(ProjectionOperation.java:336)[spring-data-mongodb-1.6.0.RELEASE.jar:na] at org.springframework.data.mongodb.core.aggregation.ProjectionOperation$ExpressionProjectionOperationBuilder$ExpressionProjection.toDBObject(ProjectionOperation.java:332)[spring-data-mongodb-1.6.0.RELEASE.jar:na] at org.springframework.data.mongodb.core.aggregation.ProjectionOperation.toDBObject(ProjectionOperation.java:187)[spring-data-mongodb-1.6.0.RELEASE.jar:na] at org.springframework.data.mongodb.core.aggregation.Aggregation.toDbObject(Aggregation.java:317)[spring-data-mongodb-1.6.0.RELEASE.jar:na] at org.springframework.data.mongodb.core.MongoTemplate.aggregate(MongoTemplate.java:1412)[spring-data-mongodb-1.6.0.RELEASE.jar:na] at org.springframework.data.mongodb.core.MongoTemplate.aggregate(MongoTemplate.java:1347)[spring-data-mongodb-1.6.0.RELEASE.jar:na]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.