Uploaded image for project: 'VPMS Web Application'
  1. OVPMS-2071

DefaultRichTextRenderer.getFontNames() throws ClassCastException under openjdk 10

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0.2
    • Component/s: User Interface
    • Labels:
      None
    • Sprint:

      Description

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

      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)
      

        Attachments

          Activity

            People

            • Assignee:
              tanderson Tim Anderson
              Reporter:
              pstadler Paul Stadler
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h

                  Who's Looking?