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

JDK Demos - SpreadSheet demo throws exception

XMLWordPrintable

    • beta
    • x86
    • windows_nt
    • Verified

      SpreadSheet Demo available \demo\applets\SpreadSheet throws exceptions..

      Steps to reproduce:
      1. Launch the SpreadSheet demo applet.
      2. On WinNT and Win98 when we click on some number cells and then when we do Applet- Reload and Restart ... exceptions thrown. (sometimes without cliking on the numbers and just selecting the menu items also produces the same effect)

      3. On Solaris when we click on the "Example" title or on the Column names "A" "B" or "C" we get exceptions.
      4. Also when we save we get java.io.NotSerializableException( Some other applets also show this behaviour)

      We get java.lang.ArrayIndexOutOfBoundsException when we do the steps 1 and 2.
      ###@###.### 1999-07-28.


      Reproducible with Kestrel "L" build too. The output on the screen is

      For Windows NT:
      J:\testexec\temp>appletviewer example1.html
      Exception occurred during event dispatching:
      java.lang.ArrayIndexOutOfBoundsException
              at SpreadSheet.mousePressed(SpreadSheet.java:332)
              at java.awt.Component.processMouseEvent(Component.java:3604)
              at java.awt.Component.processEvent(Component.java:3436)
              at java.awt.Container.processEvent(Container.java:1253)
              at java.awt.Component.dispatchEventImpl(Component.java:2524)
              at java.awt.Container.dispatchEventImpl(Container.java:1302)
              at java.awt.Component.dispatchEvent(Component.java:2438)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:302)
              at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:10
      5)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:95)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:86)


      On Solaris26 :

      feature:/net/tapas/export0/jdk13l/solaris/bin% ./appletviewer ../demo/applets/SpreadSheet/example1.html
      Warning: JIT compiler "sunwjit" not found. Will use interpreter.
      Exception occurred during event dispatching:
      java.lang.ArrayIndexOutOfBoundsException: -1
              at SpreadSheet.mousePressed(SpreadSheet.java:332)
              at java.awt.Component.processMouseEvent(Component.java:3586)
              at java.awt.Component.processEvent(Component.java:3418)
              at java.awt.Container.processEvent(Container.java:1253)
              at java.awt.Component.dispatchEventImpl(Component.java:2506)
              at java.awt.Container.dispatchEventImpl(Container.java:1302)
              at java.awt.Component.dispatchEvent(Component.java:2420)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:302)
              at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:105)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:95)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:86)


      ###@###.### 1999-07-29

            rraysunw Richard Ray (Inactive)
            mpiruthisunw Mohan Piruthivi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: