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

SpreadSheet demo (compiled with 1.0.2) doesn't work with appletviewer 1.1.1

XMLWordPrintable

    • generic
    • solaris_2.5.1

      To recreate the problem on solaris:
      1. Compile the SpreadSheet demo using jdk1.0.2 javac
      2. Run SpreadSheet demo using jdk1.1.1 appletviewer
         ==> Applet message: Start: applet not initialized

      Exception thrown:

      Exception occurred during event dispatching:
      java.lang.NullPointerException
              at SpreadSheet.paint(SpreadSheet.java:277)
              at SpreadSheet.update(SpreadSheet.java:156)
              at java.awt.Component.dispatchEventImpl(Component.java:1403)
              at java.awt.Container.dispatchEventImpl(Container.java:833)
              at java.awt.Component.dispatchEvent(Component.java:1382)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:63)
      java.lang.NumberFormatException: 1*B2
              at java.lang.Float.valueOf(Float.java)
              at Cell.parseValue(SpreadSheet.java:573)
              at Cell.parseFormula(SpreadSheet.java:476)
              at Cell.setValue(SpreadSheet.java:622)
              at Cell.setUnparsedValue(SpreadSheet.java:442)
              at SpreadSheet.init(SpreadSheet.java:95)
              at sun.applet.AppletPanel.run(AppletPanel.java:273)
              at java.lang.Thread.run(Thread.java)

            cbucchersunw Christopher Bucchere (Inactive)
            tbarbaro Tracy Barbaro (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: