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

REG:exception thows from jconsole when run any GUI which works fine with jdk1.4.

XMLWordPrintable

    • 2d
    • 06
    • sparc
    • solaris


        ###@###.### 2004-06-07

        J2SE Version (please include all output from java -version flag):
          java version "1.5.0-beta2"
          Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta2-b50)
          Java HotSpot(TM) Server VM (build 1.5.0-beta2-b50, mixed mode)

        Does this problem occur on J2SE 1.3.x or 1.4.x? Yes / No (pick one)
          No


        Operating System Configuration Information (be specific):
          SunOS devenv3 5.8 Generic_108528-27 sun4us sparc FJSV,GPUZC-L


        Hardware Configuration Information (be specific):
          Mem: 65gb
          CPU: 16

        psrinfo -v:
        Status of processor 0 as of: 06/07/04 07:28:00
          Processor has been on-line since 06/05/04 11:19:42.
          The sparcv9 processor operates at 1349 MHz,
                and has a sparcv9 floating point processor.
        Status of processor 1 as of: 06/07/04 07:28:00
          Processor has been on-line since 06/05/04 11:19:42.
          The sparcv9 processor operates at 1349 MHz,
                and has a sparcv9 floating point processor.
        Status of processor 2 as of: 06/07/04 07:28:00
          Processor has been on-line since 06/05/04 11:19:43.
          The sparcv9 processor operates at 1349 MHz,
                and has a sparcv9 floating point processor.
        Status of processor 3 as of: 06/07/04 07:28:00
          Processor has been on-line since 06/05/04 11:19:43.
          The sparcv9 processor operates at 1349 MHz,
                and has a sparcv9 floating point processor.
        Status of processor 4 as of: 06/07/04 07:28:00
          Processor has been on-line since 06/05/04 11:19:43.
          The sparcv9 processor operates at 1349 MHz,
                and has a sparcv9 floating point processor.
        Status of processor 5 as of: 06/07/04 07:28:00
          Processor has been on-line since 06/05/04 11:19:43.
          The sparcv9 processor operates at 1349 MHz,
                and has a sparcv9 floating point processor.
        Status of processor 6 as of: 06/07/04 07:28:00
          Processor has been on-line since 06/05/04 11:19:43.
          The sparcv9 processor operates at 1349 MHz,
                and has a sparcv9 floating point processor.
        Status of processor 7 as of: 06/07/04 07:28:00
          Processor has been on-line since 06/05/04 11:19:43.
          The sparcv9 processor operates at 1349 MHz,
                and has a sparcv9 floating point processor.
        Status of processor 8 as of: 06/07/04 07:28:00
          Processor has been on-line since 06/05/04 11:19:43.
          The sparcv9 processor operates at 1349 MHz,
                and has a sparcv9 floating point processor.
        Status of processor 9 as of: 06/07/04 07:28:00
          Processor has been on-line since 06/05/04 11:19:43.
          The sparcv9 processor operates at 1349 MHz,
                and has a sparcv9 floating point processor.
        Status of processor 10 as of: 06/07/04 07:28:00
          Processor has been on-line since 06/05/04 11:19:43.
          The sparcv9 processor operates at 1349 MHz,
                and has a sparcv9 floating point processor.
        Status of processor 11 as of: 06/07/04 07:28:00
          Processor has been on-line since 06/05/04 11:19:43.
          The sparcv9 processor operates at 1349 MHz,
                and has a sparcv9 floating point processor.
        Status of processor 12 as of: 06/07/04 07:28:00
          Processor has been on-line since 06/05/04 11:19:43.
          The sparcv9 processor operates at 1349 MHz,
                and has a sparcv9 floating point processor.
        Status of processor 13 as of: 06/07/04 07:28:00
          Processor has been on-line since 06/05/04 11:19:43.
          The sparcv9 processor operates at 1349 MHz,
                and has a sparcv9 floating point processor.
        Status of processor 14 as of: 06/07/04 07:28:00
          Processor has been on-line since 06/05/04 11:19:43.
          The sparcv9 processor operates at 1349 MHz,
                and has a sparcv9 floating point processor.
        Status of processor 15 as of: 06/07/04 07:28:00
          Processor has been on-line since 06/05/04 11:19:43.
          The sparcv9 processor operates at 1349 MHz,
                and has a sparcv9 floating point processor.


        Bug Description:
          When running a GUI on Solaris, an exception throws from jconsole is
          printed out like the following:

        Exception in thread "main" java.lang.InternalError: Can't find supported visual
                at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
                at sun.awt.X11GraphicsEnvironment.access$000(X11GraphicsEnvironment.java:53)
                at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:142)
                at java.security.AccessController.doPrivileged(Native Method)
                at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:131)
                at java.lang.Class.forName0(Native Method)
                at java.lang.Class.forName(Class.java:159)
                at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68)
                at sun.awt.motif.MToolkit.<clinit>(MToolkit.java:93)
                at java.lang.Class.forName0(Native Method)
                at java.lang.Class.forName(Class.java:159)
                at java.awt.Toolkit$2.run(Toolkit.java:818)
                at java.security.AccessController.doPrivileged(Native Method)
                at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:801)
                at java.awt.Toolkit.getEventQueue(Toolkit.java:1589)
                at java.awt.EventQueue.invokeLater(EventQueue.java:808)
                at javax.swing.SwingUtilities.invokeLater(SwingUtilities.java:1199)
                at sun.tools.jconsole.JConsole.mainInit(JConsole.java:522)
                at sun.tools.jconsole.JConsole.main(JConsole.java:635)


        Steps to Reproduce (be specific):
        Run any GUI. The above stack trace is from running "jconsole".
        GUI works fine under JDK1.4.x










              tdv Dmitri Trembovetski (Inactive)
              tyao Ting-Yun Ingrid Yao (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: