Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1356462 - eclipse-findbugs not working
Summary: eclipse-findbugs not working
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: eclipse-findbugs
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard Fearn
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-14 07:57 UTC by evaristojosec
Modified: 2016-07-27 18:55 UTC (History)
1 user (show)

Fixed In Version: eclipse-findbugs-3.0.1-7.fc24
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-27 18:55:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description evaristojosec 2016-07-14 07:57:47 UTC
Description of problem:

eclipse-find bugs does not work on Fedora 24 after install with dnf

Version-Release number of selected component (if applicable):
3.0.1-5.fc24


How reproducible:

- System updated with latest packages: dnf update
- Install eclipse with dnf



Steps to Reproduce:
1. dnf install eclipse
2. dns install eclipse-findbugs


Actual results:
Findbugs does not appear in eclipse menus

Expected results:
Findbugs to be functional on eclipse

Additional info:

Comment 1 evaristojosec 2016-07-14 16:57:21 UTC
I have seen that all eclipse plugins in FC24 are installed in /usr/share/eclipse/droplets but eclipse-finbugs is installed under /usr/share/eclipse/dropins and I guess that could the root of the problem

Comment 2 Richard Fearn 2016-07-14 18:34:04 UTC
(In reply to evaristojosec from comment #1)
> I have seen that all eclipse plugins in FC24 are installed in
> /usr/share/eclipse/droplets but eclipse-finbugs is installed under
> /usr/share/eclipse/dropins and I guess that could the root of the problem

Thanks for the report. Indeed I think the use of droplets is the problem. If I start Eclipse with debugging turned on, I see:

!ENTRY org.eclipse.equinox.p2.director 2 0 2016-07-14 17:34:18.257
!MESSAGE Problems resolving provisioning plan.
!SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2016-07-14 17:34:18.257
!MESSAGE Unable to satisfy dependency from edu.umd.cs.findbugs.plugin.eclipse 3.0.1.20150306-5afe4d1 to bundle org.eclipse.jdt.core 0.0.0.
!SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2016-07-14 17:34:18.257
!MESSAGE Unable to satisfy dependency from edu.umd.cs.findbugs.plugin.eclipse 3.0.1.20150306-5afe4d1 to bundle org.eclipse.jdt.ui 0.0.0.
!SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2016-07-14 17:34:18.258
!MESSAGE Unable to satisfy dependency from edu.umd.cs.findbugs.plugin.eclipse 3.0.1.20150306-5afe4d1 to bundle org.eclipse.jdt.launching 0.0.0.
!SUBENTRY 1 org.eclipse.equinox.p2.director 2 0 2016-07-14 17:34:18.259
!MESSAGE Unable to satisfy dependency from edu.umd.cs.findbugs.plugin.eclipse 3.0.1.20150306-5afe4d1 to bundle org.eclipse.jdt 0.0.0.

The JDT plugins are in the droplets folder:

$ ls -1 /usr/share/eclipse/droplets/eclipse-jdt/eclipse/plugins/
org.eclipse.ant.launching_1.1.200.v20160511-1000.jar
org.eclipse.ant.ui_3.6.200.v20160511-1000.jar
org.eclipse.jdt_3.12.0.v20160511-1000.jar
org.eclipse.jdt.annotation_1.1.100.v20160511-1000.jar
org.eclipse.jdt.annotation_2.1.0.v20160511-1000.jar
org.eclipse.jdt.apt.core_3.4.100.v20160511-1000.jar
org.eclipse.jdt.apt.pluggable.core_1.1.100.v20160511-1000.jar
org.eclipse.jdt.apt.ui_3.4.100.v20160511-1000.jar
org.eclipse.jdt.compiler.apt_1.2.100.v20160511-1000.jar
org.eclipse.jdt.compiler.tool_1.1.100.v20160511-1000.jar
org.eclipse.jdt.core_3.12.0.v20160511-1000.jar
org.eclipse.jdt.core.manipulation_1.7.0.v20160511-1000.jar
org.eclipse.jdt.debug_3.10.0.v20160511-1000
org.eclipse.jdt.debug.ui_3.7.200.v20160511-1000.jar
org.eclipse.jdt.doc.user_3.12.0.v20160511-1000.jar
org.eclipse.jdt.junit_3.9.0.v20160511-1000.jar
org.eclipse.jdt.junit4.runtime_1.1.600.v20160511-1000.jar
org.eclipse.jdt.junit.core_3.8.0.v20160511-1000.jar
org.eclipse.jdt.junit.runtime_3.4.600.v20160511-1000.jar
org.eclipse.jdt.launching_3.8.100.v20160511-1000.jar
org.eclipse.jdt.ui_3.12.0.v20160511-1000.jar
org.hamcrest.core_1.3.0.v201303031735.jar
org.junit_4.12.0.jar

This page:

http://wiki.eclipse.org/Equinox/p2/P2_Fragments

says:

P2 director WILL NOT BE ABLE to install things that are in the fragments. This is a limiation of runnable repositories mechanism (so if you have a bunle named a_1.0.0.jar, installed via a fragment, you will not be able to install any a_1.0.0.jar using that installation director.

which I think is saying that plugins in the dropins folder (like FindBugs) can't depend on plugins in the droplets folder (like JDT plugins).

Comment 3 Alexander Kurtakov 2016-07-14 19:41:27 UTC
Yes, the fix would be to move findbugs to droplets.

Comment 4 Richard Fearn 2016-07-14 19:43:15 UTC
Building right now: http://koji.fedoraproject.org/koji/taskinfo?taskID=14898640

Comment 5 Richard Fearn 2016-07-14 19:49:21 UTC
The F24 build has finished (http://koji.fedoraproject.org/koji/taskinfo?taskID=14898640) so could install the new package from there. I also need to update eclipse-findbugs-contrib before submitting an update for F24.

Comment 6 Fedora Update System 2016-07-14 20:06:44 UTC
findbugs-contrib-6.6.1-2.fc24 eclipse-findbugs-3.0.1-7.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-43cd70e410

Comment 7 evaristojosec 2016-07-15 10:38:44 UTC
I downloaded the rpm and tested it and works fine. Thanks for the fast support

Comment 8 Richard Fearn 2016-07-15 11:08:11 UTC
You're welcome! Can I check one thing though - do some of the icons in the FindBugs views show up as red blocks for you?

Comment 9 Fedora Update System 2016-07-15 11:53:35 UTC
eclipse-findbugs-3.0.1-7.fc24, findbugs-contrib-6.6.1-2.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-43cd70e410

Comment 10 evaristojosec 2016-07-15 12:30:33 UTC
It is true what you mention that some of the icons in the findbugs are shown as red blocks instead of using the normal icons

Comment 11 Richard Fearn 2016-07-15 12:37:50 UTC
Thanks for confirming. I just wanted to check it's the same for you as it is for me. I don't think the functionality is affected by this though. I'll get the icons fixed in a subsequent update.

Comment 12 Fedora Update System 2016-07-27 18:55:51 UTC
eclipse-findbugs-3.0.1-7.fc24, findbugs-contrib-6.6.1-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.