We're updating the issue view to help you get more done. 

DefaultRichTextRenderer.getFontNames() throws ClassCastException under openjdk 10

Description

DefaultRichTextRenderer.getFontNames() throws ClassCastException when run using openjdk 10:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 java.lang.ClassCastException: java.base/[Ljava.lang.Object; cannot be cast to java.base/[[Ljava.lang.String; at org.openvpms.web.echo.text.DefaultRichTextRenderer.getFontNames(DefaultRichTextRenderer.java:285) at org.openvpms.web.echo.text.RichTextAreaPeer.renderHtml(RichTextAreaPeer.java:516) at echopointng.ui.syncpeer.AbstractEchoPointPeer.renderHtml(AbstractEchoPointPeer.java:309) at nextapp.echo2.webcontainer.syncpeer.ColumnPeer.renderAddChild(ColumnPeer.java:168) at nextapp.echo2.webcontainer.syncpeer.ColumnPeer.renderChild(ColumnPeer.java:265) at nextapp.echo2.webcontainer.syncpeer.ColumnPeer.renderHtml(ColumnPeer.java:303) at nextapp.echo2.webcontainer.syncpeer.ColumnPeer.renderAdd(ColumnPeer.java:153) at nextapp.echo2.webcontainer.syncpeer.SplitPanePeer.renderChild(SplitPanePeer.java:352) at nextapp.echo2.webcontainer.syncpeer.SplitPanePeer.renderAdd(SplitPanePeer.java:294) at nextapp.echo2.webcontainer.syncpeer.SplitPanePeer.renderChild(SplitPanePeer.java:352) at nextapp.echo2.webcontainer.syncpeer.SplitPanePeer.renderAdd(SplitPanePeer.java:294) at nextapp.echo2.webcontainer.syncpeer.ContentPanePeer.renderChild(ContentPanePeer.java:242) at nextapp.echo2.webcontainer.syncpeer.ContentPanePeer.renderHtml(ContentPanePeer.java:306) at nextapp.echo2.webcontainer.syncpeer.ContentPanePeer.renderAdd(ContentPanePeer.java:169) at nextapp.echo2.webcontainer.syncpeer.WindowPanePeer.renderAdd(WindowPanePeer.java:319) at echopointng.ui.syncpeer.ContainerExPeer.renderReplaceableChild(ContainerExPeer.java:182) at echopointng.ui.syncpeer.AbstractEchoPointPeer.renderUpdateAddChildren(AbstractEchoPointPeer.java:213) at echopointng.ui.syncpeer.AbstractEchoPointPeer.renderUpdateBaseImpl(AbstractEchoPointPeer.java:186) at echopointng.ui.syncpeer.AbstractEchoPointContainerPeer.renderUpdate(AbstractEchoPointContainerPeer.java:84) at nextapp.echo2.webcontainer.ContainerSynchronizeService.processServerUpdates(ContainerSynchronizeService.java:391)

Environment

None

Status

Assignee

Tim Anderson

Reporter

Paul Stadler

Labels

None

Components

Fix versions

Affects versions

2.0

Priority

Minor