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

NullPointerException error when compiling chart.java on an NT system

XMLWordPrintable

    • x86
    • generic

      Customer running windows NT.
      Has downloaded JAVA from the internet site.
      This includes JDK and Java Workshop
      Latest revision that is available (as of 1/28/97)

      Tries to compile as given, the application, chart.java.

      Location:

      http://www.javasoft.com/applets/BarChart/example1.html


      Gets the following compiler error when trying to compile:


      at Sun.tools.javac.Main.main(Main.java:463)
      error: An exception has occurred in the compiler; please file a bug report
      (###@###.###).
      1 error
      [done in 3244 ms]

      Issues this command:

      D:\>javac Chart >d:\tmp.txt
      java.lang.NullPointerException:
      at java.text.MessgeFormat.format(MessageFormat.java:380)
      at java.text.MessgeFormat.format(MessageFormat.java:164)
      at java.text.Format.format(Format.java:72)
      at java.text.MessgeFormat.format(MessageFormat.java:148)
      at sun.tool.javac.Main.getText(Main.java:137)
      at sun.tool.javac.Main.getText(Main.java:123)
      at sun.tool.javac.Main.getText(Main.java:119)
      at sun.tool.javac.BatchEnvironment.parseFile(BatchEnvironment.java:222)
      at sun.tool.javac.Main.compile(Main.java:261)
      at sun.tool.javac.Main.main(Main.java:463)
      error: An exception has occurred in the compiler: please file a bug report (###@###.###).
      1 error
      [done in 1993 ms]

            tlindholsunw Timothy Lindholm (Inactive)
            gbedigia Gregory Bedigian (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: