Uploaded image for project: 'GMAT'
  1. GMAT
  2. GMT-3826

Spurious exception thrown when setting Time parameters in Achieve in the GUI

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: P2
    • Resolution: Unresolved
    • Affects Version/s: R2014a, R2015a, R2016a, R2017a, R2018A
    • Fix Version/s: R2018A
    • Component/s: GUI
    • Labels:
      None

      Description

      1. Start GMAT
      2. Add a new Spacecraft to the default mission (I named mine DummySC)
      3. On the Mission tab, Select Propagate | Insert After | Target
      4. Select the new EndTarget node, and select Insert Before | Achieve
      5. Edit the Value field; set it to DummySC.UTCModJulian
      6. Edit the Goal field; set it to DefaultSC.UTCModJulian
      7. Click Apply

      When I do this, I see this exception: "Interpreter Exception: Interpreter Exception: "DefaultSC.UTCModJulian" does not have a valid field of object or owned object"

      Notes:

      • Steve H points out that you can Cancel the panel, and the new settings are applied at that point.
      • Order for setting Value and Goal doesn't seem to matter; the instructions above are just the way I found this issue.
      • It looks like the issue arises when setting the Goal field; you don't need to set Value.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            shughes Steven Hughes added a comment -

            Does not occur for cartesian parameters, Spacecraft properties, or Keplerian parameters.

            Show
            shughes Steven Hughes added a comment - Does not occur for cartesian parameters, Spacecraft properties, or Keplerian parameters.
            Hide
            djcinsb Darrel Conway added a comment -

            UTCModJulian is not an ElapsedTime (it's just time) parameter, so I adjusted the title.

            Show
            djcinsb Darrel Conway added a comment - UTCModJulian is not an ElapsedTime (it's just time) parameter, so I adjusted the title.

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: