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

TaskListener calls are not protected agains user exceptions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 6
    • 6
    • tools
    • b81
    • generic
    • generic
    • Verified

      An exception has occurred in the compiler ($(RELEASE)). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you.
      java.lang.NullPointerException
      at TestTrees.testElement(TestTrees.java:59)
      at TestTrees$MyTaskListener.started(TestTrees.java:97)
      at com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:900)
      at com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:884)
      at com.sun.tools.javac.main.JavaCompiler.compile2(JavaCompiler.java:663)
      at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:634)
      at com.sun.tools.javac.main.Main.compile(Main.java:767)
      at com.sun.tools.javac.api.JavacTaskImpl.run(JavacTaskImpl.java:82)
      at TestTrees.main(TestTrees.java:34)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:589)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:83)
      at java.lang.Thread.run(Thread.java:626)

            jjg Jonathan Gibbons
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: