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

Regression: javax/swing/JEditorPane/6917744/bug6917744.java fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 8
    • client-libs
    • JDK 8 b93
      Windows 7 32-bit

    • b93
    • 8
    • x86
    • generic

      Testsuite name; Regression
      Test name: javax/swing/JEditorPane/6917744/bug6917744.java
      JDK tested: JDK 8 b93
      OS tested: Windows 7, Windows vista 32-bit
      Regression introduced in jdk8b93. Test passes JDK 8 b92.

      Log:

      #section:main
      ----------messages:(3/110)----------
      command: main bug6917744
      reason: User specified action: run main bug6917744
      elapsed time (seconds): 3.789
      ----------System.out:(0/0)----------
      ----------System.err:(78/5096)----------
      java.lang.ArrayIndexOutOfBoundsException: 88
      at javax.swing.text.CompositeView.getView(CompositeView.java:160)
      at javax.swing.text.FlowView$FlowStrategy.createView(FlowView.java:662)
      at javax.swing.text.FlowView$FlowStrategy.layoutRow(FlowView.java:520)
      at javax.swing.text.FlowView$FlowStrategy.layout(FlowView.java:477)
      at javax.swing.text.FlowView.layout(FlowView.java:201)
      at javax.swing.text.BoxView.setSize(BoxView.java:397)
      at javax.swing.text.BoxView.updateChildSizes(BoxView.java:366)
      at javax.swing.text.BoxView.setSpanOnAxis(BoxView.java:348)
      at javax.swing.text.BoxView.layout(BoxView.java:708)
      at javax.swing.text.BoxView.setSize(BoxView.java:397)
      at javax.swing.text.BoxView.updateChildSizes(BoxView.java:361)
      at javax.swing.text.BoxView.setSpanOnAxis(BoxView.java:334)
      at javax.swing.text.BoxView.layout(BoxView.java:708)
      at javax.swing.text.BoxView.setSize(BoxView.java:397)
      at javax.swing.text.BoxView.updateChildSizes(BoxView.java:366)
      at javax.swing.text.BoxView.setSpanOnAxis(BoxView.java:348)
      at javax.swing.text.BoxView.layout(BoxView.java:708)
      at javax.swing.text.BoxView.setSize(BoxView.java:397)
      at javax.swing.text.BoxView.updateChildSizes(BoxView.java:366)
      at javax.swing.text.BoxView.setSpanOnAxis(BoxView.java:348)
      at javax.swing.text.BoxView.layout(BoxView.java:708)
      at javax.swing.text.BoxView.setSize(BoxView.java:397)
      at javax.swing.text.BoxView.updateChildSizes(BoxView.java:366)
      at javax.swing.text.BoxView.setSpanOnAxis(BoxView.java:348)
      at javax.swing.text.BoxView.layout(BoxView.java:708)
      at javax.swing.text.BoxView.setSize(BoxView.java:397)
      at javax.swing.plaf.basic.BasicTextUI$RootView.setSize(BasicTextUI.java:1714)
      at javax.swing.plaf.basic.BasicTextUI$RootView.paint(BasicTextUI.java:1433)
      at javax.swing.plaf.basic.BasicTextUI.paintSafely(BasicTextUI.java:737)
      at javax.swing.plaf.basic.BasicTextUI.paint(BasicTextUI.java:881)
      at javax.swing.plaf.basic.BasicTextUI.update(BasicTextUI.java:860)
      at javax.swing.JComponent.paintComponent(JComponent.java:778)
      at javax.swing.JComponent.paint(JComponent.java:1054)
      at javax.swing.JComponent.paintChildren(JComponent.java:887)
      at javax.swing.JComponent.paint(JComponent.java:1063)
      at javax.swing.JViewport.paint(JViewport.java:731)
      at javax.swing.JComponent.paintChildren(JComponent.java:887)
      at javax.swing.JComponent.paint(JComponent.java:1063)
      at javax.swing.JComponent.paintChildren(JComponent.java:887)
      at javax.swing.JComponent.paint(JComponent.java:1063)
      at javax.swing.JComponent.paintChildren(JComponent.java:887)
      at javax.swing.JComponent.paint(JComponent.java:1063)
      at javax.swing.JLayeredPane.paint(JLayeredPane.java:586)
      at javax.swing.JComponent.paintChildren(JComponent.java:887)
      at javax.swing.JComponent.paintToOffscreen(JComponent.java:5226)
      at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:290)
      at javax.swing.RepaintManager.paint(RepaintManager.java:1252)
      at javax.swing.JComponent.paint(JComponent.java:1040)
      at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:39)
      at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:79)
      at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:116)
      at java.awt.Container.paint(Container.java:1968)
      at java.awt.Window.paint(Window.java:3881)
      at javax.swing.RepaintManager$3.run(RepaintManager.java:822)
      at javax.swing.RepaintManager$3.run(RepaintManager.java:794)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
      at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:794)
      at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:769)
      at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:718)
      at javax.swing.RepaintManager.access$1100(RepaintManager.java:62)
      at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1684)
      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:726)
      at java.awt.EventQueue.access$200(EventQueue.java:103)
      at java.awt.EventQueue$3.run(EventQueue.java:687)
      at java.awt.EventQueue$3.run(EventQueue.java:685)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:696)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:220)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:135)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:123)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:119)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:111)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
      STATUS:Failed.`main' threw exception: java.lang.ArrayIndexOutOfBoundsException: 88
      result: Failed. Execution failed: `main' threw exception: java.lang.ArrayIndexOutOfBoundsException: 88


      test result: Failed. Execution failed: `main' threw exception: java.lang.ArrayIndexOutOfBoundsException: 88
      ========================================
      OR the test can fail with log:

      ----------System.out:(0/0)----------
      ----------System.err:(31/1899)----------
      java.lang.reflect.InvocationTargetException
      at java.awt.EventQueue.invokeAndWait(EventQueue.java:1258)
      at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1349)
      at bug6917744.main(bug6917744.java:82)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:96)
      at java.lang.Thread.run(Thread.java:722)
      Caused by: java.lang.RuntimeException: Invalid HTML position
      at bug6917744$2.run(bug6917744.java:87)
      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:721)
      at java.awt.EventQueue.access$200(EventQueue.java:103)
      at java.awt.EventQueue$3.run(EventQueue.java:682)
      at java.awt.EventQueue$3.run(EventQueue.java:680)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:691)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

      JavaTest Message: Test threw exception: java.lang.reflect.InvocationTargetException
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.reflect.InvocationTargetException
      result: Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException


      test result: Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException

            Unassigned Unassigned
            kshefov Konstantin Shefov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: