Adaptavist Plugin Bubble Forum Macro Issue

I Installed adaptavist-plugin-bubbles-1.7.5.jar in confluence 3.3 version while using Forum Macro getting below error please suggest.

Error formatting macro: forum: com.thoughtworks.xstream.converters.ConversionException: Invalid final field java.util.Collections$SynchronizedMap.m ---- Debugging information ---- message : Invalid final field java.util.Collections$SynchronizedMap.m line number : 4 path : /java.util.Collections-SynchronizedMap/java.util.Collections-SynchronizedMap/default/m cause-message : Invalid final field java.util.Collections$SynchronizedMap.m class : java.util.Collections$SynchronizedMap cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException required-type : java.util.Collections$SynchronizedMap -------------------------------

5 answers

1 accepted

0 votes
Accepted answer

Dear Nic,

I tested with data from production site on staging machine & I used Java 1.6 insted of JAVA 1.7 & Bubbles plugin was working fine, So I can conclude JAVA 1.7 is the issue.

Can you please confirm one thing to me if on production I'm downgrading the JAVA from 1.7 to 1.6t will it will affect anything

Thanks.

Well spotted, I was thinking that the environment might be the next thing to check.

Downgrading Java should be fine in this case. Your Confluence (and associated plugins) are old enough that they should have been written and compiled against Java 1.6. However, "should have" is a long way from "we have tested this carefully"

0 votes

Hmm, unusual question, but what other plugins do you have installed? I think this happens when another plugin imports a different library to the one Bubbles was compiled against. Xstream if I remember right, but I can't remember what plugin might be importing a different library.

Dear Nic,

Below are the user installed plugin.

User-installed Plugins

These plugins may be configured, enabled, disabled or uninstalled.

Arsenale Lockpoint

Provides document locking features for Confluence attachments. For support, contact support@arsenalesystems.com or see www.arsenalesystems.com.

Atlassian Universal Plugin Manager Plugin

This is the plugin that provides the Atlassian Universal Plugin Manager.

Balsamiq Mockups

Balsamiq Mockups For Confluence allows you to add UI mockups to your wiki pages.

Confluence HTML Macros

This library contains macros that allow users to include raw HTML code within a page. Enabling these macros will open your Confluence site to cross-site scripting attacks. Do not enable them unless you trust all your users!

Confluence PlantUML Plugin

This is the PlantUML plugin for Atlassian Confluence.

Content Action Menu Sections

This library includes the options that will appear in the page-level content Action drop-down menu.

Graphviz Plugin

Macros to display graphs based on Graph Visualization Software (Graphviz) and the DOT language.

Math (ASCIIMath) Macro

Allows ASCIIMath macro to be used, which renders on the client.

Plugin Licensing Manager Plugin

The Plugin Licensing Management (PLM) Plugin provides license management and licensing to plugins. If you experience licensing errors please see https://studio.atlassian.com/wiki/display/PLM/FAQ

Survey Macros

Survey and Vote Macros

Thanks

Also Nic When In Space when trying to use space watchers for community bubbles it;s throwing exception, Please help here.

Inline image 1

org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getCssheader' in class com.adaptavist.confluence.bubbles.userinterest.actions.SpaceWatchersAction threw exception com.thoughtworks.xstream.converters.ConversionException: Invalid final field java.util.Collections$SynchronizedMap.m ---- Debugging information ---- message : Invalid final field java.util.Collections$SynchronizedMap.m line number : 4 path : /java.util.Collections-SynchronizedMap/java.util.Collections-SynchronizedMap/default/m cause-message : Invalid final field java.util.Collections$SynchronizedMap.m class : java.util.Collections$SynchronizedMap cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException required-type : java.util.Collections$SynchronizedMap ------------------------------- at /templates/bubbles/userinterest/spacewatchers.vm[line 19, column 13]
at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337)

Thanks

Amber

Dear Nic,

Please confirm if any luck here.

Thanks

My instinct is for you to disable (and even uninstall) all the other plugins and retry it. Then re-enable each one in turn and re-test.

Or move to a newer version of Confluence and the Bubbles plugin

Dear Nic,

I've created the same satging environment with copy of production data, Can you assist what we need to check or what steps need to follow to check furtherthe issue. Thanks...

Dear Nic,

I created one staging environment yesterday & Installed all the user installed plugin one by one in staging machine In comapre to Production found no issue on staging bubble was working fine.

Can you please suggest anything else need to be checked. Many Thanks

Did you use a copy of the data from production?

Dear Nic,

No I don't use trhe data but i Created Same environment as prduction, Using Confluence 3.3 & Mysql 5.1 & Centos & Java 1.7.0_02 & used same bubble plugin 1.7.5 & also Installed same User Installed Plugins to staging Machine.

Thanks

Mmm, I didn't think so. The problem you are having happens when your data causes confluence to make calls to code within the plugins. You can't replicate the error because you are looking in a system that doesn't have data that provokes the error.

You need to work with a copy - at the very least of the space that falls over in live.

Dear Nic,

I've created the same satging environment with copy of production data, Can you assist what we need to check or what steps need to follow to check furtherthe issue. Thanks...

Replicate the error - with the page that fails in live, see what happens in test.

Once you can replicate it, then start disabling/uninstalling the other plugins, one at a time, until the error stops happening

If it doesn't happen in test at all, then you need to start comparing the two systesm to see what the differences are.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Friday in Off-topic

Friday Fun: Dry T-Shirt Competition - What's your BEST (Atlassian) T-Shirt!?

[Note: So it was my turn for Friday Fun and sadly I was sick thanks to rubbish sinus infection... so apologies to most of Europe and Asia for the delayed post. However, I finally got out of bed for t...

157 views 9 3
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you