java.lang.NullPointerException: disposed component at sun.awt.windows.Win32SurfaceData.initOps(Native Method) at sun.awt.windows.Win32SurfaceData.<init>(Unknown Source) at sun.awt.windows.Win32SurfaceData.createData(Unknown Source) at sun.awt.windows.WComponentPeer.<init>(Unknown Source) at sun.awt.windows.WChoicePeer.<init>(Unknown Source) at sun.awt.windows.WToolkit.createChoice(Unknown Source) at java.awt.Choice.addNotify(Unknown Source) at java.awt.Container.addNotify(Unknown Source) at java.awt.Panel.addNotify(Unknown Source) at java.awt.Container.addNotify(Unknown Source) at java.awt.Panel.addNotify(Unknown Source) at java.awt.Container.addImpl(Unknown Source) at java.awt.Container.add(Unknown Source)

Oracle Community | 807549 | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    disposed component in an applet

    Oracle Community | 1 decade ago | 807549
    java.lang.NullPointerException: disposed component at sun.awt.windows.Win32SurfaceData.initOps(Native Method) at sun.awt.windows.Win32SurfaceData.<init>(Unknown Source) at sun.awt.windows.Win32SurfaceData.createData(Unknown Source) at sun.awt.windows.WComponentPeer.<init>(Unknown Source) at sun.awt.windows.WChoicePeer.<init>(Unknown Source) at sun.awt.windows.WToolkit.createChoice(Unknown Source) at java.awt.Choice.addNotify(Unknown Source) at java.awt.Container.addNotify(Unknown Source) at java.awt.Panel.addNotify(Unknown Source) at java.awt.Container.addNotify(Unknown Source) at java.awt.Panel.addNotify(Unknown Source) at java.awt.Container.addImpl(Unknown Source) at java.awt.Container.add(Unknown Source)

    Root Cause Analysis

    1. java.lang.NullPointerException

      disposed component at sun.awt.windows.Win32SurfaceData.initOps(Native Method) at sun.awt.windows.Win32SurfaceData.<init>(Unknown Source) at sun.awt.windows.Win32SurfaceData.createData(Unknown Source) at sun.awt.windows.WComponentPeer.<init>(Unknown Source) at sun.awt.windows.WChoicePeer.<init>(Unknown Source) at sun.awt.windows.WToolkit.createChoice(Unknown Source) at java.awt.Choice.addNotify(Unknown Source) at java.awt.Container.addNotify(Unknown Source) at java.awt.Panel.addNotify(Unknown Source) at java.awt.Container.addNotify(Unknown Source) at java.awt.Panel.addNotify(Unknown Source) at java.awt.Container.addImpl(Unknown Source) at java.awt.Container.add(Unknown Source)

      at NewTable.init()
    2. Unknown
      NewTable.init
      1. NewTable.init(NewTable.java:75)
      1 frame
    3. Java RT
      Thread.run
      1. sun.applet.AppletPanel.run(Unknown Source)
      2. java.lang.Thread.run(Unknown Source)
      2 frames