{"action":"created","issue":{"url":"https://api.github.com/repos/spring-projects/spring-webflow-samples/issues/31","labels_url":"https://api.github.com/repos/spring-projects/spring-webflow-samples/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-webflow-samples/issues/31/comments","events_url":"https://api.github.com/repos/spring-projects/spring-webflow-samples/issues/31/events","html_url":"https://github.com/spring-projects/spring-webflow-samples/issues/31","id":89233066,"number":31,"title":"booking-mvc (under stress) : hotel null in bookingsTable.html","user":{"login":"hasalex","id":131688,"avatar_url":"https://avatars.githubusercontent.com/u/131688?v=3","gravatar_id":"","url":"https://api.github.com/users/hasalex","html_url":"https://github.com/hasalex","followers_url":"https://api.github.com/users/hasalex/followers","following_url":"https://api.github.com/users/hasalex/following{/other_user}","gists_url":"https://api.github.com/users/hasalex/gists{/gist_id}","starred_url":"https://api.github.com/users/hasalex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasalex/subscriptions","organizations_url":"https://api.github.com/users/hasalex/orgs","repos_url":"https://api.github.com/users/hasalex/repos","events_url":"https://api.github.com/users/hasalex/events{/privacy}","received_events_url":"https://api.github.com/users/hasalex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-18T08:32:48Z","updated_at":"2015-06-18T09:48:59Z","closed_at":null,"body":"Hi,\r\n\r\nI've deployed the booking-mvc application on Tomcat and I launch stress tests with Gatling. I see randomly (once for 100-200 request) this errors :\r\n\r\n```\r\nERROR: org.thymeleaf.TemplateEngine - [THYMELEAF][http-nio-8082-exec-23] Exception processing template \"/hotels/bookingsTable.html\": Exception evaluating SpringEL expression: \"hotel.city\" (/hotels/bookingsTable.html:75)\r\nERROR: org.thymeleaf.TemplateEngine - [THYMELEAF][http-nio-8082-exec-23] Exception processing template \"hotels/search.html\": Exception evaluating SpringEL expression: \"hotel.city\" (/hotels/bookingsTable.html:75)\r\nERROR: org.thymeleaf.TemplateEngine - [THYMELEAF][http-nio-8082-exec-23] Exception processing template \"/layouts/standard.html\": Exception evaluating SpringEL expression: \"hotel.city\" (/hotels/bookingsTable.html:75)\r\n```\r\n\r\nIn the detailed logs, I have this stacktrace :\r\n\r\n`````\r\nGRAVE: Servlet.service() for servlet [dispatcher] in context with path [] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: \"hotel.city\" (/hotels/bookingsTable.html:75)] with root cause\r\njava.lang.NullPointerException\r\n\tat org.springframework.expression.spel.ast.PropertyOrFieldReference.getValueInternal(PropertyOrFieldReference.java:85)\r\n\tat org.springframework.expression.spel.ast.CompoundExpression.getValueRef(CompoundExpression.java:51)\r\n\tat org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:87)\r\n\tat org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:120)\r\n\tat org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:267)\r\n\tat org.thymeleaf.spring4.expression.SpelVariableExpressionEvaluator.evaluate(SpelVariableExpressionEvaluator.java:139)\r\n\tat org.thymeleaf.standard.expression.SelectionVariableExpression.executeSelectionVariable(SelectionVariableExpression.java:141)\r\n\tat org.thymeleaf.standard.expression.SimpleExpression.executeSimple(SimpleExpression.java:80)\r\n\tat org.thymeleaf.standard.expression.Expression.execute(Expression.java:103)\r\n\tat ...\r\n````\r\n\r\nData seem correct in database. I don't understand where it comes from."},"comment":{"url":"https://api.github.com/repos/spring-projects/spring-webflow-samples/issues/comments/113093806","html_url":"https://github.com/spring-projects/spring-webflow-samples/issues/31#issuecomment-113093806","issue_url":"https://api.github.com/repos/spring-projects/spring-webflow-samples/issues/31","id":113093806,"user":{"login":"hasalex","id":131688,"avatar_url":"https://avatars.githubusercontent.com/u/131688?v=3","gravatar_id":"","url":"https://api.github.com/users/hasalex","html_url":"https://github.com/hasalex","followers_url":"https://api.github.com/users/hasalex/followers","following_url":"https://api.github.com/users/hasalex/following{/other_user}","gists_url":"https://api.github.com/users/hasalex/gists{/gist_id}","starred_url":"https://api.github.com/users/hasalex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasalex/subscriptions","organizations_url":"https://api.github.com/users/hasalex/orgs","repos_url":"https://api.github.com/users/hasalex/repos","events_url":"https://api.github.com/users/hasalex/events{/privacy}","received_events_url":"https://api.github.com/users/hasalex/received_events","type":"User","site_admin":false},"created_at":"2015-06-18T09:48:59Z","updated_at":"2015-06-18T09:48:59Z","body":"Thanks Daniel. I've tried with 4.2.0.RC1. The issue is fixed."}}