Caught in the while-loop ------------------------ Key: VELOCITY-748 URL: https://issues.apache.org/jira/browse/VELOCITY-748 Project: Velocity Issue Type: Bug Components: Engine Affects Versions: 1.6.2 Reporter: Johann Weber Priority: Critical
Caught in the infinity loop due to concurrent access to the get and put methods of HashMap which are not synchronized. Stacktrace: java.lang.Thread.State: RUNNABLE at java.util.HashMap.get(Unknown Source) at org.apache.velocity.util.introspection.ClassMap$MethodCache.get(ClassMap.java:249) at org.apache.velocity.util.introspection.ClassMap.findMethod(ClassMap.java:102) at org.apache.velocity.util.introspection.IntrospectorBase.getMethod(IntrospectorBase.java:105) at org.apache.velocity.util.introspection.Introspector.getMethod(Introspector.java:94) at org.apache.velocity.runtime.parser.node.PropertyExecutor.discover(PropertyExecutor.java:99) at org.apache.velocity.runtime.parser.node.PropertyExecutor.<init>(PropertyExecutor.java:56) at org.apache.velocity.util.introspection.UberspectImpl.getPropertyGet(UberspectImpl.java:246) at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:148) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252) at org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReference.java:460) at org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:62) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:85) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.apache.velocity.runtime.directive.Parse.render(Parse.java:260) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.apache.velocity.runtime.directive.Parse.render(Parse.java:260) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.apache.velocity.Template.merge(Template.java:328) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org For additional commands, e-mail: dev-h...@velocity.apache.org