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

missing processingEnv assignment in overridden init results in too minimal exception notice.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P4
    • 8
    • 6
    • core-libs

    Description

      When @SupportedSourceVersion is not used, if user overrides the init method and does not assign to processingEnv, a null pointer exception results when processor is run. The error message is kind of minimal

      error: Exception thrown while constructing Processor object: java.lang.NullPointerExceptioN

      and give little indication of what's wrong. Maybe more of the stack track may help(?).

      Attachments

        Issue Links

          Activity

            People

              darcy Joe Darcy
              ssides Steve Sides
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: