It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Legacy Calendar plugin issue -- errors & sluggish performance

Jim Bethancourt Apr 16, 2013

We're using the legacy Calendar plugin (migrated slightly to work with Confluence 5), and one of our calendar navigation and loading is a bit sluggish and throws errors fairly frequently. It has a fair amount of data in it, but the same calendar works fine in our sandbox environment without any of the same issues.

The confluence log reports the following stacktrace:

org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getEvents' in class com.atlassian.confluence.extra.calendar.display.Day threw exception java.util.ConcurrentModificationException at /templates/extra/calendar/month.vm[line 38, column 38]

at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(

at org.apache.velocity.runtime.parser.node.ASTReference.execute(

at org.apache.velocity.runtime.parser.node.ASTReference.value(

at org.apache.velocity.runtime.parser.node.ASTExpression.value(

Has anyone else run into this issue before?

Note: This is not the Team Calendars product that Atlassian offers, but the Calendar Plugin that was offered before it was commercialized.



1 answer

1 accepted

2 votes
Answer accepted
Ryan Goodwin Apr 16, 2013

Hi Jim,

Have you compared the system information from both prod and staging? If the application is the same for both staging and prod, but the behavior is different, then there must be something environmentally different.

I would look to ensure the same jdk version is installed, same version of tomcat etc. Possibly run a diff on all the files under the confluence/ deployment folders.

Jim Bethancourt Jul 28, 2013

Hi Ryan,

Turns out the solution was to upgrade the Java code to use ConcurrentHashMaps instead of HashSets. This fixed the ConcurrentModificationExceptions. There was a little bit of touching up of the javascript that needed to happen as well, but it was pretty minor.



Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

2,327 views 11 27
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you