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

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

XMLWordPrintable

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

      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(?).

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: