Adaptavist Plugin Bubble Forum Macro Issue

bobby November 12, 2013

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
Answer accepted
bobby November 18, 2013

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.

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 18, 2013

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
bobby November 15, 2013

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...

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 15, 2013

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.

0 votes
bobby November 14, 2013

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

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 14, 2013

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.

0 votes
bobby November 14, 2013

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

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 14, 2013

Did you use a copy of the data from production?

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 12, 2013

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.

bobby November 13, 2013

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
bobby November 13, 2013

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

bobby November 14, 2013

Dear Nic,

Please confirm if any luck here.

Thanks

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 14, 2013

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

bobby November 15, 2013

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...

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events