Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-12117

Have better error message if user tries to call configure-time APIs during runtime

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: API
    • Labels:
    • Rank:
      1|i0050f:

      Description

      Currently, if user calls a configure-time API such as setResources, setName, or setDescription, they will receive a NullPointerException because the configurer is not set.
      Instead, they should receive a more meaningful error.

        Attachments

          Activity

            People

            • Assignee:
              bhooshan Bhooshan Mogal
              Reporter:
              ali.anwar Ali Anwar
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: