me0wster / javamelody

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

jira-web-item error in logs #210

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.IN JIRA Plugin I see the following errors in the atlassian-jira/log
2.2012-04-21 12:45:18,960 http-8090-9 ERROR xxx765x648x1 4tdswl 10.98.36.156 
/plugins/servlet/upm [jira.plugin.webfragment.DefaultSimpleLinkManager] 
RuntimeException converting item 
'net.bull.javamelody:net.bull.javamelody.jira-web-item' to Simple link. This 
link will be skipped. null

What version of the product are you using? On what application server, JDK,
operating system?
JIRA 445, Plugin version v. 1.36.0 for JIRA 4.0 - 5.0.2, Confluence 3.2 - 
4.1.9, Bamboo 2.5 - 4.0
JDK 1.6, Linux OS

Original issue reported on code.google.com by devu.h...@gmail.com on 21 Apr 2012 at 7:51

GoogleCodeExporter commented 9 years ago
I have reproduced the issue with JIRA5 and the "javamelody monitoring plugin" 
for JIRA.

This web-item comes from:
http://code.google.com/p/javamelody/source/browse/trunk/javamelody-core/src/main
/jira/atlassian-plugin.xml#55

It says:
    <web-item key="net.bull.javamelody.jira-web-item" name="Monitoring"
        section="system.admin/system" i18n-name-key="net.bull.javamelody.web-item"
        weight="10">
        <icon height="16" width="16">
            <link>/monitoring?resource=systemmonitor.png</link>
        </icon>
        <label key="net.bull.javamelody.label">Monitoring</label>
        <link linkId="net.bull.javamelody.link">/monitoring</link>
    </web-item>

Do you know what should be changed in this web-item to fix the issue?

Original comment by evernat@free.fr on 6 May 2012 at 12:44

GoogleCodeExporter commented 9 years ago
I have finally found that the icon element in jira-web-item of 
atlassian-plugin.xml is currently a problem for JIRA (tested on JIRA v5). 
Indeed there is an error log when some pages are displayed, such as the project 
config page.

So I have removed this icon element to fix the issue.
This is committed in trunk (revision 2797) and ready for the next release 
(1.38).

I have made a new build of the plugin and it is available at:
http://javamelody.googlecode.com/files/jira-javamelody-20120506.jar

Original comment by evernat@free.fr on 6 May 2012 at 3:18

GoogleCodeExporter commented 9 years ago
I have the same problem with jira-javamelody-1.52.0.jar and JIRA6.2.7.
My solution was to replace the web-item section in atlassian-plugin.xml
with:

section="admin_plugins_menu/monitoring_section"

Now the error is gone and the monitoring page is in the right panel-section!

Original comment by olaf.k...@gmail.com on 25 Aug 2014 at 6:13

GoogleCodeExporter commented 9 years ago
Yes, the error log has appeared again in "recent" JIRA versions, as said in 
issue 342 and https://jira.atlassian.com/browse/JRA-34147.
It's sad that Atlassian does not keep synonyms for previous locations and so 
backward compatibility for plugins targeting several JIRA versions.

Star issue 342 to be notified of changes.

Original comment by evernat@free.fr on 31 Aug 2014 at 1:51