Uploaded image for project: '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

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • 1.12.5
    • None

    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

      Attachments

        Issue Links

          Activity

            People

              oh Oliver Haufe
              oh Oliver Haufe
              Mahendra Patidar Mahendra Patidar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: