bluecoder008 / javamelody

Automatically exported from code.google.com/p/javamelody
0 stars 0 forks source link

jira javamelody plugin breaks adaptavist community bubbles plugin. #269

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install the confluence javamelody plugin on e.g. confluence 4.3.3
2. Install the bubbles plugin: 
https://www.google.co.uk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&ved=0C
DkQFjAB&url=https%3A%2F%2Fmarketplace.atlassian.com%2Fplugins%2Fcom.adaptavist.c
onfluence.bubbles&ei=4rfFUNL7FMWChQea1YHQDg&usg=AFQjCNEfHIdmGf6b76EnsfsPgHSB_EtE
tQ

What is the expected output? What do you see instead?

Various Bubbles plugin modules fail, due to:

Javamelody, which is a plugins 1 plugin, ships a version of the xstream 
library. Various bubbles components fail due to missing method/field 
exceptions, because it seems to find the version of xstream shipped with 
javamelody, which is a much later version than that shipped with confluence.

The jira javamelody plugin seems to have the xstream library munged into the 
jar, rather than have it in the meta-inf/lib. Not sure if this is because it's 
plugins 1, or if it would actually make any difference.

cheers, jamie

Original issue reported on code.google.com by jamie.ec...@gmail.com on 10 Dec 2012 at 10:24

GoogleCodeExporter commented 9 years ago
I suspect that this problem will rear it's head with any atlassian plugin which 
uses xStream (ie: most of them)

Original comment by amo...@adaptavist.com on 10 Dec 2012 at 12:27

GoogleCodeExporter commented 9 years ago
First, xstream was upgraded in the plugin for Bamboo.
But in fact, JIRA and Confluence already include a version of the xstream 
library. So xstream in the plugin is not needed in most cases.

So, the xstream classes are now removed from the plugin for 
JIRA/Confluence/Bamboo.

I have made a new release of the plugin (1.42.1) without the xstream classes 
and you can download it here:
https://plugins.atlassian.com/plugins/net.bull.javamelody

Original comment by evernat@free.fr on 15 Dec 2012 at 11:57

GoogleCodeExporter commented 9 years ago
Thanks for the quick fix... works great.

Original comment by jamie.ec...@gmail.com on 15 Dec 2012 at 8:51