Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 6
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      FULL PRODUCT VERSION :
      java version "1.6.0-rc"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-rc-b67)
      Java HotSpot(TM) Client VM (build 1.6.0-rc-b67, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Slovenian version of Microsoft XP Home Edition:

      Microsoft Windows XP [različica 5.1.2600]

      A DESCRIPTION OF THE PROBLEM :
      JConsole throws java.lang.ArithmeticException in thread "AWT-EventQueue-0". There should be some control to prevent user to minimize graph beyond minimal value.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1.) open JConsole application
      2.) select any JVM, you may also select also JVM where JConsole runs
      3.) open MBeans tab
      4.) expand "java.lang" map
      5.) select "ClassLoading" JMX object
      6.) double click on "LoadedClassCount" attribute so that the graph is shown
      7.) gradualy resize column "Name" so that it occupies 95% percents of the table
      8.) verify exception in DOS window


      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      Exception in thread "AWT-EventQueue-0" java.lang.ArithmeticException: / by zero
              at sun.tools.jconsole.Plotter.calculateTickInterval(Plotter.java:546)
              at sun.tools.jconsole.Plotter.paintComponent(Plotter.java:357)
              at javax.swing.JComponent.paint(JComponent.java:967)
              at javax.swing.JComponent.paintChildren(JComponent.java:804)
              at javax.swing.JComponent.paint(JComponent.java:976)
              at javax.swing.CellRendererPane.paintComponent(CellRendererPane.java:134)
              at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2044)
              at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1945)
              at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1741)
              at javax.swing.plaf.ComponentUI.update(ComponentUI.java:143)
              at javax.swing.JComponent.paintComponent(JComponent.java:703)
              at javax.swing.JComponent.paint(JComponent.java:967)
              at javax.swing.JComponent.paintToOffscreen(JComponent.java:5072)
              at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:279)
              at javax.swing.RepaintManager.paint(RepaintManager.java:1105)
              at javax.swing.JComponent._paintImmediately(JComponent.java:5020)
              at javax.swing.JComponent.paintImmediately(JComponent.java:4838)
              at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)
              at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:670)
              at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:650)
              at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
              at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
              at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
              at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
              at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)


      REPRODUCIBILITY :
      This bug can be reproduced always.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                leifs Leif Samuelsson (Inactive)
                Reporter:
                ndcosta Nelson Dcosta (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: