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

Exception in thread error "AWT-Motif" error occurs in 1.3.1_02 and upwards.

XMLWordPrintable

    • x86
    • linux_redhat_7.1

      ###@###.### 2002-02-06

      While testing the 1.3.1_03 plugin for redhat 7.1 the following error popped up Exception in thread error "AWT-Motif"
      I ran the test on 1.3.1_fcs, 1.3.1_01 and 1.3.1_02 also.
      The error doesn't occur on 1.3.1fcs and 1.3.1_01.
      It occurs for 1.3.1_02 and 1.3.1_03b1

      It appeared when using both KDE and Gnome.

      It occurs when running the BAT tests from the following page :
      http://sqesvr.sfbay.sun.com/deployment1/ws/doc/proc/JPI_bat.html
      I ran the test using the option1 (Tourist method)

      Below is an output from the java console :

      =============================================================
      Java(TM) Plug-in: Version 1.3.1_03
      Using JRE version 1.3.1_03-ea Java HotSpot(TM) Client VM
      User home directory = /root
      Proxy Configuration: Manual Configuration
           Proxy: http=webcache.eng:8080;ftp=129.156.85.11:8080;gopher=129.156.85.11:8080;wais=129.156.85.11:8080
           Proxy Overrides:

      ----------------------------------------------------
      c: clear console window
      f: finalize objects on finalization queue
      g: garbage collect
      h: display this help message
      l: dump classloader list
      m: print memory usage
      q: hide console
      s: dump system properties
      t: dump thread list
      x: clear classloader cache
      0-5: set trace level to <n>
      ----------------------------------------------------
      Tourist init
      forward
      forward
      java.lang.NullPointerException
              at sun.awt.SunToolkit.postEvent(SunToolkit.java:153)
              at sun.awt.motif.MComponentPeer.postEvent(MComponentPeer.java:439)
              at sun.awt.motif.MComponentPeer.handleExpose(MComponentPeer.java:448)
              at sun.awt.motif.MToolkit.run(Native Method)
              at java.lang.Thread.run(Thread.java:484)
      java.lang.NullPointerException
              at sun.awt.SunToolkit.postEvent(SunToolkit.java:153)
              at sun.awt.motif.MComponentPeer.postEvent(MComponentPeer.java:439)
              at sun.awt.motif.MFramePeer.handleIconify(MFramePeer.java:183)
              at sun.awt.motif.MToolkit.run(Native Method)
              at java.lang.Thread.run(Thread.java:484)
      forward

      Trace level set to 5: basic, net, security, ext, liveconnect ... completed.
      forward
      Doing a join...
      Sending events to applet. STOP
      Removed trace listener: sun.plugin.navig.motif.MotifAppletViewer[DigitalClock,0,0,170x150,invalid,layout=java.awt.BorderLayo
      ut]
      Sending events to applet. DESTROY
      Sending events to applet. DISPOSE
      Sending events to applet. QUIT
      Done with join ...
      Finding information...
      Releasing classloader: sun.plugin.ClassLoaderInfo@1dba45, refcount=0
      Caching classloader: sun.plugin.ClassLoaderInfo@1dba45
      Current classloader cache size: 3
      Done...
      java.lang.NullPointerException
              at sun.awt.SunToolkit.postEvent(SunToolkit.java:153)
              at sun.awt.motif.MComponentPeer.postEvent(MComponentPeer.java:439)
              at sun.awt.motif.MComponentPeer.handleExpose(MComponentPeer.java:448)
              at sun.awt.motif.MToolkit.run(Native Method)
              at java.lang.Thread.run(Thread.java:484)
      java.lang.NullPointerException
              at sun.awt.SunToolkit.postEvent(SunToolkit.java:153)
              at sun.awt.motif.MComponentPeer.postEvent(MComponentPeer.java:439)
              at sun.awt.motif.MFramePeer.handleIconify(MFramePeer.java:183)
              at sun.awt.motif.MToolkit.run(Native Method)
              at java.lang.Thread.run(Thread.java:484)
      Referencing classloader: sun.plugin.ClassLoaderInfo@1dba45, refcount=1
      Added trace listener: sun.plugin.navig.motif.MotifAppletViewer[DigitalClock,0,0,170x150,invalid,layout=java.awt.BorderLayout
      ]
      Sending events to applet. LOAD
      Sending events to applet. INIT
      Determine if the applet requests to install any JAR
      Jar cache option: null
      Jar archive(s): null
      Jar cache version(s): null
      Applet Installation finished.

      ==================================================



      ###@###.### 2002-09-12

      I have been executing JSObject plugin tests on linux 7.2 and also I am seeing the same exception for 1.3.1_05_b2.

      The java console shows a java.lang.NullPoinerException as printed above.
      The url to the tests I was executing is as follows:
      http://javaweb.sfbay.sun.com/~vmanda/jsobject/navigator/tourist/js/myScript-NS4.html
      I executed the test option for Netscape 4.0.x - Automated tests using Javascript.

      I ran the same tests with 1.3.1fcs and the AWT motif exception is not shown here.

            prssunw Prs Prs (Inactive)
            coffeys Sean Coffey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: