Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.16
    • Tang
    • None

    Description

      Setting RequiredImpl to null should throw an informative exception instead of NPE.

      To reproduce, in the TestConfigurationModule set the RequiredImpl<TestConfigurationModule.Foo> THE_FOO to null:

       String s = null;
       MyConfigurationModule.CONF
               .set(MyConfigurationModule.THE_FOO, s)
               .build();
      

      This code raises java.lang.NullPointerException in org.apache.reef.tang.util.ReflectionUtilities.classForName(ReflectionUtilities.java:170)

      Attachments

        Activity

          People

            jieunparklee Ji Eun Lee
            dss-2009@yandex.ru Sergey Dudoladov
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: