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

java.lang.NullPointerException: null peer in 1.1.8_001 and 1.1.8_001

XMLWordPrintable

    • 13
    • x86
    • generic, windows_nt

      java.lang.NullPointerException: null peer in 1.1.8_001 and 1.1.8_001 worked OK in 1.1.8 FCS .

      Get the error

      java.lang.NullPointerException: null peer
              at sun.awt.windows.WFramePeer.getMinimumSize(WFramePeer.java:26)
              at sun.awt.windows.WComponentPeer.getPreferredSize(WComponentPeer.java:128)
              at sun.awt.windows.WComponentPeer.preferredSize(WComponentPeer.java:370)
              at java.awt.Component.preferredSize(Component.java:1022)
              at java.awt.Container.preferredSize(Container.java:564)
              at java.awt.Container.getPreferredSize(Container.java:546)
              at java.awt.Window.pack(Window.java:126)
              at esdi.polcmd.PcLoginDlg.<init>(PcLoginDlg.java:100)
              at esdi.polcmd.PcAppWrapper.initializeObject(PcAppWrapper.java:224)
              at esdi.polcmd.PolCmd.init(PolCmd.java:101)
              at esdi.polcmd.PolCmd.main(PolCmd.java:86)

      All of these programs work fine with the production release of jdk1.1.8.


      Customer is puting a test case together. The error can be seen by running
      his applet after installing Java 1.1.8_001 or 1.1.8_002.

      Thanks for your patience and persistence. I've got an applet on the Web that should illustrate the problem with the JDK1.1.8 patch you sent me. The Applet uses the java plugin, so you should make your plugin point to the patched jre that came with the JDK.


          http://139.142.213.131/stuart/dsttst/dsttstproj.html

      The program itself is an adaptation of a green-screen AS/400 program with
      aditional hyperlinks and graphics. You can log on to the system using the user id JAVA and the password JAVA.

      The was done from Netscape Communicator 4.6 and 4.7

            pcashman Pat Cashman
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: