JDK-4935793 : JDK1.5.0-b22, hierarchy.java fails with "An unexpected error has been detected b
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 5.0
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2003-10-10
  • Updated: 2005-04-26
  • Resolved: 2003-10-10
Related Reports
Duplicate :  
Description
                    "Panel Number Two", "Panel Number Two","Panel Number Two", 
                    "Panel Number Three", "Panel Number Three", "Panel Number Three",
                    "Panel Number Four","Panel Number Four","Panel Number Four",
                    "Panel Number Five","Panel Number Five","Panel Number Five", 
                    "Panel Number Six","Panel Number Six","Panel Number Six"
                  }; 


   hierarchy()
   {  

      cPanel = new JPanel();
      mainPanel = new JPanel();
      scrollPane = new JScrollPane(cPanel); 

      scrollPane.setPreferredSize(new Dimension(700, 600)); 

      bevel = new BevelBorder(BevelBorder.RAISED, Color.blue, Color.blue);

      for (i = 0; i < str.length; i++)
      {
          l[i]= new JLabel(str[i]);
          l[i].setFont(new Font("Lucida Sans Regular", Font.PLAIN, 10));
          l[i].setPreferredSize(new Dimension(140, 10));
          l[i].setMaximumSize(getPreferredSize());
      }

      for (i = 0; i<6; i++)
      {
          panel[i] = new JPanel();
          panel[i].setBorder(bevel);;
          panel[i].setComponentOrientation( ComponentOrientation.RIGHT_TO_LEFT);
          //panel[i].setBackground(colors[i]);
          panel[i].setOpaque(true); 
      }
      panel[5].setPreferredSize(new Dimension(175,100));
      panel[4].setPreferredSize(new Dimension(185,180));
      panel[3].setPreferredSize(new Dimension(195,260));
      panel[2].setPreferredSize(new Dimension(205,340));
      panel[1].setPreferredSize(new Dimension(215,420));
      panel[0].setPreferredSize(new Dimension(225,500));
 
      cPanel.setPreferredSize(new Dimension(800, 800));
 
      mainPanel.add(scrollPane);
      cPanel.add(panel[0]);
 
      getContentPane().add(BorderLayout.CENTER, mainPanel);
 
 
      for (i = 0; i<12; i++)
      {
           button[i] = new JButton(iStr[i]);
           button[i].setFont(new Font("Lucida Sans Regular", Font.PLAIN, 8));
           button[i].addActionListener(this);
           button[i].setPreferredSize(new Dimension(80, 15));
           button[i].setMaximumSize(getPreferredSize());
      }

      for(i = 1; i<6; i++)
      {
          panel[i -1].add(BorderLayout.CENTER, panel[i]);
      }

      for(i = 0; i<6; i++)
      {
          for (j = k; j<k+3 ; j++)
         { 
             panel[i].add(l[j]);
         }
         panel[i].add(button[i]);
         panel[i].add(button[i+6]);
         k = j;
      }
   } 
  
   public static void main(String[] args)
   {
      hierarchy frame = new hierarchy();
      frame.setTitle("Example");
      WindowListener l = new WindowAdapter() 
      {
          public void windowClosing(WindowEvent e) 
          {
             System.exit(0);
          }
      };
     
      frame.addWindowListener(l);
      frame.setSize(700, 650);
      frame.setVisible(true);
   }


   public void actionPerformed(ActionEvent e)
   {
      if(e.getActionCommand().equals("RTL-Panel1"))
      {
          panel[0].applyComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);
          validate();
      }

      if(e.getActionCommand().equals("RTL-Panel2"))
      {
          panel[1].applyComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);
          validate();
      }

      if(e.getActionCommand().equals("RTL-Panel3"))
      {
          panel[2].applyComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);
          validate();
       }

       if(e.getActionCommand().equals("RTL-Panel4"))
       {
          panel[3].applyComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);
          validate();
       }

       if(e.getActionCommand().equals("RTL-Panel5"))
       {
          panel[4].applyComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);
          validate();
       }

       if(e.getActionCommand().equals("RTL-Panel6"))
       {
          panel[5].applyComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);
          validate();
       }

       if(e.getActionCommand().equals("LTR-Panel1"))
       {
          panel[0].applyComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
          validate();
       }

       if(e.getActionCommand().equals("LTR-Panel2"))
       {
          panel[1].applyComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
          validate();
       }

       if(e.getActionCommand().equals("LTR-Panel3"))
       {
          panel[2].applyComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
          validate();
       }

       if(e.getActionCommand().equals("LTR-Panel4"))
       {
          panel[3].applyComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
          validate();
       }

       if(e.getActionCommand().equals("LTR-Panel5"))
       {
          panel[4].applyComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
          validate();
       }

       if(e.getActionCommand().equals("LTR-Panel6"))
       {
          panel[5].applyComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
          validate();
       }
   }
}


-----------------------------------------------------------------------------------
======================================================================


Name: jbT81659			Date: 10/10/2003

Locale: ar_EG, iw_IL
Regression: Yes
Build: b22
The test case hierarchy.java compiles as expected and is displayed when executed, but after closing the hierarchy application, the following error is displayed on the command prompt:

isam@wasach 529: java hierarchy
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x420734c0, pid=16632, tid=1090456768
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0-beta-b22 mixed mode)
# Problematic frame:
# C  [libc.so.6+0x734c0]  __libc_free+0x70
#
# An error report file with more information is saved as hs_err_pid16632.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/cgi-bin/bugreport.cgi
#
Aborted
isam@wasach 530:

-----------------------------------------------------------------------------


Here is the contents of the hs_err_pid16632.log file:
------------------------------------------------------------------------------
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x420734c0, pid=16632, tid=1090456768
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0-beta-b22 mixed mode)
# Problematic frame:
# C  [libc.so.6+0x734c0]  __libc_free+0x70
#

---------------  T H R E A D  ---------------


Current thread (0x0809b9d8):  VMThread [id=16633]

siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x39000000

Registers:
EAX=0xffffffff, EBX=0x42130a14, ECX=0x42132d9c, EDX=0x00000004
ESP=0x40ff056c, EBP=0x40ff0584, ESI=0x39000000, EDI=0x42132d9c
EIP=0x420734c0, CR2=0x39000000, EFLAGS=0x00010202

Top of Stack: (sp=0x40ff056c)
0x40ff056c:   00000000 00000000 00000000 42130a14
0x40ff057c:   4212f2ac 00000000 40ff05b4 420eb85e
0x40ff058c:   42132d9c 00000000 0000000a 00000000
0x40ff059c:   4212f2ac 4212f2a4 4212f29c 42130a14
0x40ff05ac:   42130ee0 08159050 40ff05e4 42029eae
0x40ff05bc:   00000000 41ba29cc 40ff05e4 41b9355b
0x40ff05cc:   41ba29b0 42130ee8 00000000 4181d87c
0x40ff05dc:   417a8000 08159050 40ff05f4 417bb37c 

Instructions: (pc=0x420734c0)
0x420734b0:   b8 ff ff ff ff 65 83 3d 0c 00 00 00 00 3e 74 01
0x420734c0:   f0 0f c1 06 0f 85 cb 3e 00 00 89 7c 24 04 89 34 

Stack: [0x40fe4000,0x40ff1000),  sp=0x40ff056c,  free space=49k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libc.so.6+0x734c0]  __libc_free+0x70
C  [libc.so.6+0xeb85e]
C  [libc.so.6+0x29eae]  __cxa_finalize+0x7e
C  [libawt.so+0x1337c]
C  [libawt.so+0x6d8ed]
C  [ld-linux.so.2+0xc894]
C  [libc.so.6+0x29c20]  exit+0x70
V  [libjvm.so+0x31c3ac]
V  [libjvm.so+0x31b5f6]
V  [libjvm.so+0x31ac67]
V  [libjvm.so+0x31ae75]
V  [libjvm.so+0x31aa80]
V  [libjvm.so+0x294da4]
C  [libpthread.so.0+0x42b6]

VM_Operation (0x41efeb34): exit, mode: safepoint, requested by thread 0x081a5a10


---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x41d01c10 JavaThread "DestroyJavaVM" [_thread_blocked, id=16632]
  0x081a5a10 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=16643]
  0x081a5570 JavaThread "AWT-Shutdown" [_thread_blocked, id=16642]
  0x08197020 JavaThread "AWT-XAWT" daemon [_thread_blocked, id=16641]
  0x081843e8 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=16640]
  0x080caf20 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=16638]
  0x080c9b80 JavaThread "CompilerThread0" daemon [_thread_blocked, id=16637]
  0x0809eb48 JavaThread "Finalizer" daemon [_thread_blocked, id=16635]
  0x0809ddd8 JavaThread "Reference Handler" daemon [_thread_blocked, id=16634]

Other Threads:
=>0x0809b9d8 VMThread [id=16633]

VM state:at safepoint (shutting down)

VM Mutex/Monitor currently owned by a thread:  ([mutex/lock_event])
[0x080526c0/0x080526e8] Threads_lock - owner thread: 0x0809b9d8

Heap
 def new generation   total 576K, used 567K [0x461f0000, 0x46290000, 0x466d0000)
  eden space 512K,  98% used [0x461f0000, 0x4626dc18, 0x46270000)
  from space 64K, 100% used [0x46280000, 0x46290000, 0x46290000)
  to   space 64K,   0% used [0x46270000, 0x46270000, 0x46280000)
 tenured generation   total 1408K, used 462K [0x466d0000, 0x46830000, 0x4a1f0000)
   the space 1408K,  32% used [0x466d0000, 0x46743990, 0x46743a00, 0x46830000)
 compacting perm gen  total 5632K, used 5518K [0x4a1f0000, 0x4a770000, 0x4e1f0000)
   the space 5632K,  97% used [0x4a1f0000, 0x4a7539b0, 0x4a753a00, 0x4a770000)

Dynamic libraries:
08048000-0804f000 r-xp 00000000 00:09 1310936    /home-bazelet/sun/builds/jdk1.5.0-b22/linux/bin/java
0804f000-08050000 rw-p 00006000 00:09 1310936    /home-bazelet/sun/builds/jdk1.5.0-b22/linux/bin/java
08050000-081ea000 rwxp 00000000 00:00 0
40000000-40015000 r-xp 00000000 03:01 67322      /lib/ld-2.3.2.so
40015000-40016000 rw-p 00014000 03:01 67322      /lib/ld-2.3.2.so
40016000-40017000 rw-p 00000000 00:00 0
40017000-40021000 r-xp 00000000 03:01 79566      /lib/tls/libpthread-0.29.so
40021000-40022000 rw-p 0000a000 03:01 79566      /lib/tls/libpthread-0.29.so
40022000-40024000 rw-p 00000000 00:00 0
40024000-40026000 r-xp 00000000 03:01 67333      /lib/libdl-2.3.2.so
40026000-40027000 rw-p 00002000 03:01 67333      /lib/libdl-2.3.2.so
40027000-40028000 rw-p 00000000 00:00 0
40028000-4037b000 r-xp 00000000 00:09 1131915    /home-bazelet/sun/builds/jdk1.5.0-b22/linux/jre/lib/i386/client/libjvm.so
4037b000-40397000 rw-p 00353000 00:09 1131915    /home-bazelet/sun/builds/jdk1.5.0-b22/linux/jre/lib/i386/client/libjvm.so
40397000-407ac000 rw-p 00000000 00:00 0
407ac000-407cd000 r-xp 00000000 03:01 79564      /lib/tls/libm-2.3.2.so
407cd000-407ce000 rw-p 00020000 03:01 79564      /lib/tls/libm-2.3.2.so
407ce000-407cf000 ---p 00000000 00:00 0
407cf000-407d6000 r-xp 00000000 00:09 737311     /home-bazelet/sun/builds/jdk1.5.0-b22/linux/jre/lib/i386/native_threads/libhpi.so
407d6000-407d7000 rw-p 00006000 00:09 737311     /home-bazelet/sun/builds/jdk1.5.0-b22/linux/jre/lib/i386/native_threads/libhpi.so
407d7000-407e9000 r-xp 00000000 03:01 67337      /lib/libnsl-2.3.2.so
407e9000-407ea000 rw-p 00011000 03:01 67337      /lib/libnsl-2.3.2.so
407ea000-407ec000 rw-p 00000000 00:00 0
407ec000-407f7000 r-xp 00000000 03:01 67343      /lib/libnss_files-2.3.2.so
407f7000-407f8000 rw-p 0000a000 03:01 67343      /lib/libnss_files-2.3.2.so
407f8000-407fc000 rw-s 00000000 03:01 59239      /tmp/hsperfdata_isam/16632 (deleted)
407fc000-4080a000 r-xp 00000000 00:09 2359471    /home-bazelet/sun/builds/jdk1.5.0-b22/linux/jre/lib/i386/libverify.so
4080a000-4080b000 rw-p 0000e000 00:09 2359471    /home-bazelet/sun/builds/jdk1.5.0-b22/linux/jre/lib/i386/libverify.so
4080b000-4082a000 r-xp 00000000 00:09 2359472    /home-bazelet/sun/builds/jdk1.5.0-b22/linux/jre/lib/i386/libjava.so
4082a000-4082c000 rw-p 0001e000 00:09 2359472    /home-bazelet/sun/builds/jdk1.5.0-b22/linux/jre/lib/i386/libjava.so
4082c000-4083f000 r-xp 00000000 00:09 2359474    /home-bazelet/sun/builds/jdk1.5.0-b22/linux/jre/lib/i386/libzip.so
4083f000-40841000 rw-p 00013000 00:09 2359474    /home-bazelet/sun/builds/jdk1.5.0-b22/linux/jre/lib/i386/libzip.so
40841000-408c8000 rw-p 00000000 00:00 0
408c8000-4092b000 r--s 00000000 00:09 2359512    /home-bazelet/sun/builds/jdk1.5.0-b22/linux/jre/lib/jsse.jar
4092b000-4093f000 r--s 00000000 00:09 2359501    /home-bazelet/sun/builds/jdk1.5.0-b22/linux/jre/lib/jce.jar
4093f000-40ee4000 r--s 00000000 00:09 2359515    /home-bazelet/sun/builds/jdk1.5.0-b22/linux/jre/lib/charsets.jar
40ee4000-40fe4000 rwxp 00001000 00:00 0
40fe4000-40fe5000 ---p 00101000 00:00 0
40fe5000-40ff1000 rwxp 00102000 00:00 0
40ff1000-40ff4000 ---p 0010e000 00:00 0
40ff4000-41071000 rwxp 00111000 00:00 0
41071000-41074000 ---p 0018e000 00:00 0
41074000-410f1000 rwxp 00191000 00:00 0
410f1000-412f1000 r--p 00000000 03:02 192460     /usr/lib/locale/locale-archive
412f1000-41323000 r--p 008e1000 03:02 192460     /usr/lib/locale/locale-archive
41323000-41324000 r--p 0092f000 03:02 192460     /usr/lib/locale/locale-archive
41324000-413a4000 rwxp 00006000 00:00 0
413a4000-413a7000 ---p 00083000 00:00 0
413a7000-415a4000 rwxp 00086000 00:00 0
415a4000-415a7000 ---p 00283000 00:00 0
415a7000-41624000 rwxp 00286000 00:00 0
41624000-41625000 ---p 00303000 00:00 0
41625000-416a4000 rwxp 00304000 00:00 0
416a4000-416c7000 r--s 00000000 00:09 3032430    /home-bazelet/sun/builds/jdk1.5.0-b22/linux/jre/lib/ext/sunjce_provider.jar
416c7000-416ef000 r--s 00000000 00:09 3032431    /home-bazelet/sun/builds/jdk1.5.0-b22/linux/jre/lib/ext/sunpkcs11.jar
416ef000-416f2000 r--s 00000000 00:09 3032432    /home-bazelet/sun/builds/jdk1.5.0-b22/linux/jre/lib/ext/dnsns.jar
416f2000-417a8000 r--s 00000000 00:09 3032439    /home-bazelet/sun/builds/jdk1.5.0-b22/linux/jre/lib/ext/localedata.jar
417a8000-41818000 r-xp 00000000 00:09 2359485    /home-bazelet/sun/builds/jdk1.5.0-b22/linux/jre/lib/i386/libawt.so
41818000-4181e000 rw-p 0006f000 00:09 2359485    /home-bazelet/sun/builds/jdk1.5.0-b22/linux/jre/lib/i386/libawt.so
4181e000-41842000 rw-p 00000000 00:00 0
41842000-41908000 r-xp 00000000 00:09 2359484    /home-bazelet/sun/builds/jdk1.5.0-b22/linux/jre/lib/i386/libmlib_image.so
41908000-41909000 rw-p 000c6000 00:09 2359484    /home-bazelet/sun/builds/jdk1.5.0-b22/linux/jre/lib/i386/libmlib_image.so
41909000-4193c000 r-xp 00000000 00:09 1409030    /home-bazelet/sun/builds/jdk1.5.0-b22/linux/jre/lib/i386/xawt/libmawt.so
4193c000-4193f000 rw-p 00033000 00:09 1409030    /home-bazelet/sun/builds/jdk1.5.0-b22/linux/jre/lib/i386/xawt/libmawt.so
4193f000-41940000 rw-p 00000000 00:00 0
41940000-41942000 r-xp 00000000 03:02 385259     /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2
41942000-41943000 rw-p 00001000 03:02 385259     /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2
41943000-4194b000 r-xp 00000000 03:02 305195     /usr/X11R6/lib/libXcursor.so.1.0
4194b000-4194c000 rw-p 00007000 03:02 305195     /usr/X11R6/lib/libXcursor.so.1.0
4194d000-4195a000 r-xp 00000000 03:02 305197     /usr/X11R6/lib/libXext.so.6.4
4195a000-4195b000 rw-p 0000c000 03:02 305197     /usr/X11R6/lib/libXext.so.6.4
4195b000-41a37000 r-xp 00000000 03:02 305187     /usr/X11R6/lib/libX11.so.6.2
41a37000-41a3a000 rw-p 000db000 03:02 305187     /usr/X11R6/lib/libX11.so.6.2
41a3a000-41aac000 r--s 00000000 00:09 966883     /home-bazelet/isam/jh2.0/javahelp/lib/jh.jar
41aac000-41b2d000 r--s 00000000 00:09 968662     /home-bazelet/isam/jh2.0/javahelp/lib/jhall.jar
41b2d000-41b9e000 r-xp 00000000 00:09 2359487    /home-bazelet/sun/builds/jdk1.5.0-b22/linux/jre/lib/i386/libfontmanager.so
41b9e000-41ba9000 rw-p 00070000 00:09 2359487    /home-bazelet/sun/builds/jdk1.5.0-b22/linux/jre/lib/i386/libfontmanager.so
41ba9000-41bae000 rw-p 00000000 00:00 0
41bae000-41bb1000 ---p 00003000 00:00 0
41bb1000-41c2e000 rwxp 00006000 00:00 0
41c2e000-41c34000 r-xp 00000000 00:09 2359477    /home-bazelet/sun/builds/jdk1.5.0-b22/linux/jre/lib/i386/libnio.so
41c34000-41c35000 rw-p 00005000 00:09 2359477    /home-bazelet/sun/builds/jdk1.5.0-b22/linux/jre/lib/i386/libnio.so
41c35000-41c3b000 r--s 00000000 03:02 96465      /usr/lib/gconv/gconv-modules.cache
41c3b000-41c42000 r-xp 00000000 03:02 305217     /usr/X11R6/lib/libXrender.so.1.2
41c42000-41c43000 rw-p 00006000 03:02 305217     /usr/X11R6/lib/libXrender.so.1.2
41c43000-41c46000 ---p 00003000 00:00 0
41c46000-41cc3000 rwxp 00006000 00:00 0
41cc3000-41cd5000 r-xp 00000000 00:09 2359476    /home-bazelet/sun/builds/jdk1.5.0-b22/linux/jre/lib/i386/libnet.so
41cd5000-41cd6000 rw-p 00012000 00:09 2359476    /home-bazelet/sun/builds/jdk1.5.0-b22/linux/jre/lib/i386/libnet.so
41cd6000-41cf2000 r-xp 00000000 03:02 385258     /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2
41cf2000-41cf4000 rw-p 0001c000 03:02 385258     /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2
41cf4000-41cf5000 r-xp 00000000 03:02 96409      /usr/lib/gconv/ISO8859-1.so
41cf5000-41cf6000 rw-p 00001000 03:02 96409      /usr/lib/gconv/ISO8859-1.so
41d00000-41d08000 rw-p 0003d000 00:00 0
41d08000-41e03000 ---p 00045000 00:00 0
41e03000-41e80000 rwxp 00003000 00:00 0
41e80000-41e83000 ---p 00080000 00:00 0
41e83000-41f80000 rwxp 00083000 00:00 0
42000000-4212e000 r-xp 00000000 03:01 79562      /lib/tls/libc-2.3.2.so
4212e000-42131000 rw-p 0012e000 03:01 79562      /lib/tls/libc-2.3.2.so
42131000-42133000 rw-p 00000000 00:00 0
42133000-441eb000 r--s 00000000 00:09 2359517    /home-bazelet/sun/builds/jdk1.5.0-b22/linux/jre/lib/rt.jar
441eb000-461eb000 rwxp 00028000 00:00 0
461f0000-4e1f0000 rwxp 020cd000 00:00 0
bfe00000-bfe03000 ---p 00000000 00:00 0
bfe03000-c0000000 rwxp ffe04000 00:00 0

VM Arguments:
java_command: hierarchy

Environment Variables:
CLASSPATH=.:/home-bazelet/isam/jh2.0:/home-bazelet/isam/jh2.0/javahelp/:/home-bazelet/isam/jh2.0/javahelp/lib/jh.jar:/home-bazelet/isam/jh2.0/javahelp/lib/jhall.jar
PATH=/home-bazelet/sun/builds/jdk/linux/bin:/usr/X11R6/bin:/home-bazelet/isam/bin:/home-bazelet/sun/builds/jdk/linux/bin:/usr/X11R6/bin:/home-bazelet/isam/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin
USERNAME=
LD_LIBRARY_PATH=/home-bazelet/sun/builds/jdk1.5.0-b22/linux/jre/lib/i386/client:/home-bazelet/sun/builds/jdk1.5.0-b22/linux/jre/lib/i386:/home-bazelet/sun/builds/jdk1.5.0-b22/linux/jre/../lib/i386:/lib:/usr/lib
SHELL=/bin/bash
DISPLAY=:0.0


---------------  S Y S T E M  ---------------

OS:Red Hat Linux release 9 (Shrike)

uname:Linux 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686
libc:glibc 2.3.2 NPTL 0.29 
rlimit: STACK 8192k, CORE 0k, NPROC 2047, NOFILE 1024, AS infinity
load average:0.36 0.36 0.25

CPU:total 1(active 1) family 6, cmov, cx8, fxsr, mmx, sse

Memory: 4k page, physical 255264k(3496k free), swap 522072k(464032k free)
--------------------------------------------------------------------------------------------------------


To reproduce bug:
1. Compile the following testcase hierarchy.java
2. Note that the testcase compiles as expected
3. Execute the testcae
4. Note that the testcase is displayed as expected
5. Close the testacse frame
6. Note that the above error is displayed on the command prompt

----------------------------Test Case---------------------------------------------
/*
$Header: /home-bazelet/sun/src/javaLab/JDK1.4/ComponentOrientation/hierarchy/hierarchy.java,v 1.2 2001/11/06 13:15:39 isam Exp $
*/

import java.awt.Color;
import java.awt.event.*;
import java.awt.*;
import javax.swing.*;
import javax.swing.border.*;

class hierarchy extends JFrame implements ActionListener 
{
   int i ;

   int k = 0;
   int j = 0;

   JPanel mainPanel, cPanel;
   JPanel[] panel = new JPanel[10]; 
   JLabel[] l = new JLabel[40];
   JButton[] button = new JButton[12];
   JScrollPane scrollPane;

   BevelBorder bevel;

   String[] iStr = { 
                    "RTL-Panel1", "RTL-Panel2", "RTL-Panel3", "RTL-Panel4", "RTL-Panel5", 
                    "RTL-Panel6", "LTR-Panel1", "LTR-Panel2", "LTR-Panel3", "LTR-Panel4", 
                    "LTR-Panel5", "LTR-Panel6"
                   };

   String[] str = { 
                    "Panel Number One", "Panel Number One", "Panel Number One", 


Comments
EVALUATION This is a duplicate of 4885046, refer to it for details. ###@###.### 2003-10-10
10-10-2003