freemarker.template.TemplateModelException: Underlying collection is not a list, it's com.google.common.collect.Collections2$FilteredCollection

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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Atlassian JIRA by Anatoli Kazatchkov [Atlassian], 1 year ago
via Atlassian JIRA by Anatoli Kazatchkov [Atlassian], 1 year ago
freemarker.template.TemplateModelException: Underlying collection is not a list, it's com.google.common.collect.Collections2$FilteredCollection
at freemarker.ext.beans.CollectionModel.get(CollectionModel.java:126)
at freemarker.core.SequenceBuiltins$chunkBI$ChunkedSequence$1.get(SequenceBuiltins.java:749)
at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:176)
at freemarker.core.Environment.visit(Environment.java:417)
at freemarker.core.IteratorBlock.accept(IteratorBlock.java:102)
at freemarker.core.Environment.visit(Environment.java:210)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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