#1 Error Launching 389-console on RHEL 7.4
Closed: Invalid 6 years ago Opened 6 years ago by mgalmard.

Hi

We installed the 389-console throught the EPEL repository on a RHEL 7.4 and until a few weeks ago it worked just fine.

After a yum update we hit the following error while launching the 389-console :

$389-console
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
        at sun.font.CompositeStrike.getStrikeForSlot(CompositeStrike.java:75)
        at sun.font.CompositeStrike.getFontMetrics(CompositeStrike.java:93)
        at sun.font.FontDesignMetrics.initMatrixAndMetrics(FontDesignMetrics.java:359)
        at sun.font.FontDesignMetrics.<init>(FontDesignMetrics.java:350)
        at sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:302)
        at sun.swing.SwingUtilities2.getFontMetrics(SwingUtilities2.java:1113)
        at javax.swing.JComponent.getFontMetrics(JComponent.java:1626)
        at javax.swing.plaf.basic.BasicLabelUI.getPreferredSize(BasicLabelUI.java:227)
        at javax.swing.JComponent.getPreferredSize(JComponent.java:1662)
        at java.awt.GridBagLayout.GetLayoutInfo(GridBagLayout.java:1115)
        at java.awt.GridBagLayout.getLayoutInfo(GridBagLayout.java:916)
...

Unfortunately we are unable to determine what dependencies brokes the console...

How to reproduce :

  • Install a brand new RHEL 7.4 or yum update an existing one.
  • Install 389-* through EPEL7
  • Launche the 389-console.

Hi,

could you please post the output of

java -version

and

rpm -qa | grep fonts

Thanks!

Metadata Update from @vashirov:
- Custom field Origin adjusted to None
- Custom field Review Status adjusted to None

6 years ago

Hi

Thanks for your quick answer.

$java -version
openjdk version "1.8.0_141"
OpenJDK Runtime Environment (build 1.8.0_141-b16)
OpenJDK 64-Bit Server VM (build 25.141-b16, mixed mode)
....
[ldap@dlldapdevd51065 ~]$ rpm -qa | grep fonts
xorg-x11-fonts-Type1-7.5-9.el7.noarch
stix-fonts-1.1.0-5.el7.noarch

We already try to downgrade the java to a state it was working (i.e. 131) but with no effects.
And we have other machine with java 141 which works fine.

On the other side all the non working machine seems to have the stix-fonts-1.1.0-5.el7.noarch.

We didn t try to remove it cause it has a dependencies with the idm-console-framework package if i remember well (i cannot be sure i don't have enough to check this at the moment).

Regards.

Thank you, I can reproduce the problem. Indeed, stix-fonts causes the issue. If you're not able to uninstall this font, could you please try to install another one? I'm able to start the console if I have liberation-sans-fonts installed.

Hi Viktor

We ll try to install the new font and let you know.

Regards.

Hi again

We installed the liberation-sans font and it does the trick. Thanks again for your quick help.

Hi Marc,

thank you for confirming.

I filed bugs against openjdk that has the problem with stix-fonts:
https://bugzilla.redhat.com/show_bug.cgi?id=1484079

and fontconfig which uncovered the issue:
https://bugzilla.redhat.com/show_bug.cgi?id=1484094

I'm going to close this issue as invalid, since the root cause is in a different component.

Thanks!

Metadata Update from @vashirov:
- Issue close_status updated to: Invalid
- Issue status updated to: Closed (was: Open)

6 years ago

Login to comment on this ticket.

Metadata