Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-1415

Fix exception on startup after resetting preferences

    Details

    • Story Points:
      0.25
    • Sprint:
      Fall 2018 Sprint 3

      Description

      On mac and linux (but not windows) I get an exception on the first startup after clearing preferences:
      (does not seem to affect the program but I can see in the console)

      ERROR c.a.i.p.IgbPreferencesLoadingOrchestrator - No value present
      java.util.NoSuchElementException: No value present

      (See attached file for the entire console print out)

      This is not the case in IGB 9.0.0 or 9.0.1.

        Attachments

          Activity

          Hide
          ptambvek Pranav Sanjay Tambvekar (Inactive) added a comment -

          Tested on Windows:
          no error observed.
          >clone team-repo, build and run 'run_igb.bat' on master.
          >Open Preferences Window icon > Other Options > Reset Preference to Defaults
          >No error was shown in the console.

          Show
          ptambvek Pranav Sanjay Tambvekar (Inactive) added a comment - Tested on Windows: no error observed. >clone team-repo, build and run 'run_igb.bat' on master. >Open Preferences Window icon > Other Options > Reset Preference to Defaults >No error was shown in the console.
          Hide
          ann.loraine Ann Loraine added a comment -

          Moving back. to "In Progress" (branch not ready for review as yet)

          Show
          ann.loraine Ann Loraine added a comment - Moving back. to "In Progress" (branch not ready for review as yet)
          Hide
          ann.loraine Ann Loraine added a comment -

          Merged and moved to Needs Testing,

          Show
          ann.loraine Ann Loraine added a comment - Merged and moved to Needs Testing,
          Hide
          ann.loraine Ann Loraine added a comment -

          Re-reviewing pull request following validation that the fix works on Mac.

          Show
          ann.loraine Ann Loraine added a comment - Re-reviewing pull request following validation that the fix works on Mac.
          Hide
          nfreese Nowlan Freese added a comment -

          Tested on Mac
          Appears to be fixed on Mac.

          9.0.2 Behavior (Sneha fix)
          User selects: Open Preferences Window icon > Other Options > Reset Preference to Defaults
          -No error is shown in console

          9.0.1 Behavior
          User selects: Open Preferences Window icon > Other Options > Reset Preference to Defaults
          -The error is shown in console
          ERROR c.a.i.p.IgbPreferencesLoadingOrchestrator - No value present
          java.util.NoSuchElementException: No value present

          9.0.0 Behavior
          User selects: Open Preferences Window icon > Other Options > Reset Preference to Defaults
          -No error is shown in console

          Show
          nfreese Nowlan Freese added a comment - Tested on Mac Appears to be fixed on Mac. 9.0.2 Behavior (Sneha fix) User selects: Open Preferences Window icon > Other Options > Reset Preference to Defaults -No error is shown in console 9.0.1 Behavior User selects: Open Preferences Window icon > Other Options > Reset Preference to Defaults -The error is shown in console ERROR c.a.i.p.IgbPreferencesLoadingOrchestrator - No value present java.util.NoSuchElementException: No value present 9.0.0 Behavior User selects: Open Preferences Window icon > Other Options > Reset Preference to Defaults -No error is shown in console
          Hide
          ann.loraine Ann Loraine added a comment -

          Needs functional testing on Mac before pull request can proceed.

          Show
          ann.loraine Ann Loraine added a comment - Needs functional testing on Mac before pull request can proceed.
          Hide
          sneha Sneha Ramesh Watharkar (Inactive) added a comment -

          Fixed the error:
          You can see the work here -> https://bitbucket.org/swathark/integrated-genome-browser/branch/IGBF-1415-Fix

          Ivory Blakley: Its a small fix. Please review or test once on Mac. I checked on Windows and the error is no more seen.

          Show
          sneha Sneha Ramesh Watharkar (Inactive) added a comment - Fixed the error: You can see the work here -> https://bitbucket.org/swathark/integrated-genome-browser/branch/IGBF-1415-Fix Ivory Blakley : Its a small fix. Please review or test once on Mac. I checked on Windows and the error is no more seen.
          Hide
          sneha Sneha Ramesh Watharkar (Inactive) added a comment -

          This error appears in Windows too. Attaching image for reference.
          Assigning it to myself and working on that.

          Show
          sneha Sneha Ramesh Watharkar (Inactive) added a comment - This error appears in Windows too. Attaching image for reference. Assigning it to myself and working on that.

            People

            • Assignee:
              sneha Sneha Ramesh Watharkar (Inactive)
              Reporter:
              ieclabau Ivory Blakley (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: