Bug 1634466

Summary: Mars missing dependency
Product: [Fedora] Fedora Reporter: Samuel Warfield <warfield>
Component: MarsAssignee: W. Michael Petullo <redhat>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 28CC: redhat, scottt.tw
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Mars-4.5-7.fc28 Mars-4.5-8.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-18 04:31:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Samuel Warfield 2018-10-01 02:02:46 UTC
Description of problem:
When the Mars MIPS is installed it requires the 'java-1.8.0-openjdk' to run properly. Otherwise it'll throw a headless exception. This can be fixed by updating the package requirements

Version-Release number of selected component (if applicable): Fedora 28 & 29


How reproducible:
Very, you just need to not have 'java-1.8.0-openjdk' installed

Steps to Reproduce:
1. sudo dnf remove java-1.8.0-openjdk # Only if it was installed already
2. sudo dnf install Mars
3. Mars

Actual results:
Exception in thread "main" java.awt.HeadlessException
        at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:204)
        at java.awt.Window.<init>(Window.java:536)
        at java.awt.Frame.<init>(Frame.java:420)
        at java.awt.Frame.<init>(Frame.java:385)
        at javax.swing.SwingUtilities$SharedOwnerFrame.<init>(SwingUtilities.java:1763)
        at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1838)
        at javax.swing.JWindow.<init>(JWindow.java:187)
        at javax.swing.JWindow.<init>(JWindow.java:139)
        at mars.MarsSplashScreen.<init>(MarsSplashScreen.java:42)
        at mars.MarsLaunch.launchIDE(MarsLaunch.java:240)
        at mars.MarsLaunch.<init>(MarsLaunch.java:133)
        at Mars.main(Mars.java:39)


Expected results:
Launch a swing interface

Additional info:
Tried on both Fedora 28 &29

Comment 1 Fedora Update System 2018-10-05 21:57:27 UTC
Mars-4.5-8.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-540492c403

Comment 2 Fedora Update System 2018-10-05 22:04:47 UTC
Mars-4.5-7.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-e48e18047f

Comment 3 Fedora Update System 2018-10-07 23:36:31 UTC
Mars-4.5-8.fc29 has been pushed to the Fedora 29 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-2018-540492c403

Comment 4 Fedora Update System 2018-10-08 00:09:09 UTC
Mars-4.5-7.fc28 has been pushed to the Fedora 28 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-2018-e48e18047f

Comment 5 Fedora Update System 2018-10-18 04:31:11 UTC
Mars-4.5-7.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2018-10-30 17:21:03 UTC
Mars-4.5-8.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.