-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
None
-
1.1.1
-
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)
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)