Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8201208

Stack Overflow in layout or CSS processing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 8u161
    • javafx
    • Java 8u161
      Microsoft Windows [Version 6.3.9600]

    • x86_64
    • windows_2012

      I have a system that started having this issue after updating from 8u72 to 8u161.

      It doesn't happen every time, or on all systems that we have tested with. But the same version of the software is used on systems with and without this problem. (Suggests a race condition of some sort to me.)

      When the UI has a less complex view, with the same basic layout but the document we are rendering results in much fewer nodes, possibly with a scene graph that doesn't go as deep, the issue does not happen.

      It seems that for a certain Labeled node in the Scene, layout or CSS processing results in a stack overflow exception.

      I have attached a log with the stack trace.

      After this happens an java.lang.ArrayIndexOutOfBoundsException: -1 is thrown approximately every frame.

      The first ArrayIndexOutOfBoundsException indicates that it may have been a call to getBoundsInLocal on a particular node that triggered the problem.

            Unassigned Unassigned
            swpalmer Scott Palmer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: