java.lang.IllegalArgumentException: Illegal Capacity: -1

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 Coderanch by Tan Kok Lim, 1 year ago
via Stack Overflow by user3687261
, 2 years ago
via Coderanch by Tan Kok Lim, 10 months ago
java.lang.IllegalArgumentException: Illegal Capacity: -1
at java.util.ArrayList.(Unknown Source)
at org.springframework.data.solr.core.ResultHelper.convertFacetQueryResponseToFacetPageMap(ResultHelper.java:125)
at org.springframework.data.solr.core.SolrTemplate.queryForFacetPage(SolrTemplate.java:418)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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