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

closed/javax/swing/text/html/HTMLEditorKit/4242228/bug4242228.java failed since 1.8.0b36

    Details

    • Subcomponent:
    • Introduced In Build:
      b36
    • Introduced In Version:
      8
    • Resolved In Build:
      b40
    • CPU:
      x86
    • OS:
      solaris_10
    • Verification:
      Verified

      Description

      closed/javax/swing/text/html/HTMLEditorKit/4242228/bug4242228.java failed since 1.8.0b36 on solaris and linux.

      The test passed with jdk 7u6b07.

      Stack trace is different for solaris x86, solaris sparc and linux x86

      solaris x86 log:
      java.lang.ArrayIndexOutOfBoundsException: 1
              at javax.swing.text.BoxView.layoutMinorAxis(BoxView.java:846)
              at javax.swing.text.BoxView.setSpanOnAxis(BoxView.java:344)
              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.JComponent.paintToOffscreen(JComponent.java:5225)
              at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:290)
              at javax.swing.RepaintManager.paint(RepaintManager.java:1210)
              at javax.swing.JComponent._paintImmediately(JComponent.java:5173)
              at javax.swing.JComponent.paintImmediately(JComponent.java:4984)
              at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:774)
              at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:728)
              at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:677)
              at javax.swing.RepaintManager.access$700(RepaintManager.java:59)
              at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1625)
              at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
              at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:701)
              at java.awt.EventQueue.access$000(EventQueue.java:102)
              at java.awt.EventQueue$3.run(EventQueue.java:662)
              at java.awt.EventQueue$3.run(EventQueue.java:660)
              at java.security.AccessController.doPrivileged(Native Method)
              at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:671)
              at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
              at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
              at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
      STATUS:Failed.Applet thread threw exception: java.lang.ArrayIndexOutOfBoundsException: 1
      result: Failed. Execution failed: Applet thread threw exception: java.lang.ArrayIndexOutOfBoundsException: 1

      solaris sparc and linux log:
      java.lang.NullPointerException
              at javax.swing.text.FlowView.calculateMinorAxisRequirements(FlowView.java:233)
              at javax.swing.text.ParagraphView.calculateMinorAxisRequirements(ParagraphView.java:724)
              at javax.swing.text.BoxView.checkRequests(BoxView.java:935)
              at javax.swing.text.BoxView.getMinimumSpan(BoxView.java:568)
              at javax.swing.text.BoxView.calculateMinorAxisRequirements(BoxView.java:903)
              at javax.swing.text.BoxView.checkRequests(BoxView.java:935)
              at javax.swing.text.BoxView.setSpanOnAxis(BoxView.java:343)
              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.getPreferredSize(BasicTextUI.java:912)
              at javax.swing.JComponent.getPreferredSize(JComponent.java:1660)
              at javax.swing.JEditorPane.getPreferredSize(JEditorPane.java:1332)
              at javax.swing.ScrollPaneLayout.layoutContainer(ScrollPaneLayout.java:791)
              at java.awt.Container.layout(Container.java:1503)
              at java.awt.Container.doLayout(Container.java:1492)
              at java.awt.Container.validateTree(Container.java:1688)
              at java.awt.Container.validate(Container.java:1623)
              at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:653)
              at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1624)
              at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
              at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:701)
              at java.awt.EventQueue.access$000(EventQueue.java:102)
              at java.awt.EventQueue$3.run(EventQueue.java:662)
              at java.awt.EventQueue$3.run(EventQueue.java:660)
              at java.security.AccessController.doPrivileged(Native Method)
              at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:671)
              at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
              at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
              at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
      STATUS:Failed.Applet thread threw exception: java.lang.NullPointerException
      result: Failed. Execution failed: Applet thread threw exception: java.lang.NullPointerException

      see comments for more details

        Attachments

          Activity

            People

            • Assignee:
              rupashka Pavel Porvatov (Inactive)
              Reporter:
              vakulova Vera Akulova (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: