YADE - Yet Another Data Exchange Tool
  1. YADE - Yet Another Data Exchange Tool
  2. YADE-510

Possibly NPE while reading profile with CommandBeforeFile or CommandAfterFile setting

    Details

    • Type: Fix Fix
    • Status: Released (View Workflow)
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.12.5
    • Component/s: None
    • Labels:

      Description

      Current Situation

      • With YADE-471 (since 1.12.1) a new attribute
        • enable_for_skipped_transfer for CommandBeforeFile was introduced
        • disable_for_skipped_transfer for CommandAfterFile was introduced
      • If you configure a CommandBeforeFile or CommandAfterFile in a profile with an XML editor < version 1.12.1 and run this profile in a YADE job >= version 1.12.1 then these attributes are missing and a NullPointerException is raised while loading the profile.
        ERROR [main] (JadeXml2IniConverter.java:1267) - [CommandAfterFile]java.lang.NullPointerException
        
      • This error is not harmful. YADE uses default values with a behavior like before 1.12.1

      Desired Behavior

      The profile should be load without a NullPointerException

      1. yade-510.xml
        5 kB
        Mahendra Patidar

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Oliver Haufe
              Reporter:
              Oliver Haufe
              Approver:
              Mahendra Patidar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: