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

Fix App Manager crashing in IGB 10.0.0

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Situation: There is a bug where the App Manager will crash after clicking on the various apps.

      Task: Investigate the issue.

      To reproduce the issue:

      1. Install IGB 10.0.0
        1. Note - I cannot reproduce this issue when running IGB locally through a terminal. The crash only seems to occur with the installed version of IGB 10.0.0.
      2. Select the Plug-ins tab.
      3. Select Launch App Manager
      4. Select an app, then select another app, repeat this until IGB crashes, usually around 20 clicks.

        Attachments

          Issue Links

            Activity

            Hide
            ann.loraine Ann Loraine added a comment - - edited

            Update:

            • Using EC2 in the same directory as a newly edited Dockerfile to rebuild image with:
            docker build -t igb-maven-install4j:I4J10-jre-21.0.2 .
            
            • Cloning IGB onto EC2 with:
            git clone --single-branch --branch main-JDK21-with-javafx-no-theme https://aloraine@bitbucket.org/lorainelab/integrated-genome-browser.git build
            
            • edited install4Jv10 configuration file to use jre bundles for 21.0.2:
              <mediaSets>
                <windows name="Windows_x86_64" id="23" architecture="64">
                  <jreBundle jreBundleSource="preCreated" includedJre="windows-amd64-21.0.2" />
                </windows>
                <unixInstaller name="Unix Installer" id="25">
                  <jreBundle jreBundleSource="preCreated" includedJre="linux-amd64-21.0.2" />
                </unixInstaller>
                <macosFolder name="Mac_OS X_universal" id="552" architecture="universal" signLaunchers="true">
                  <jreBundle jreBundleSource="preCreated" includedJre="macos-universal-21.0.2" />
                </macosFolder>
              </mediaSets>
            
            • deployed low-risk certificates for signing jars to distribution directory inside build directory made in the previous step
            • Started interactive docker session running the new image with:
            docker run -i -t -v ~/build:/build --env-file env_vars --workdir /build igb-maven-install4j:I4J10-jre-21.0.2 /bin/bash
            
            • within the interactive session above, tested docker image's ability to build installers with:
            mvn install -P release-bitbucket-pipelines
            

            The above command completed without reporting an error.

            Show
            ann.loraine Ann Loraine added a comment - - edited Update: Using EC2 in the same directory as a newly edited Dockerfile to rebuild image with: docker build -t igb-maven-install4j:I4J10-jre-21.0.2 . Cloning IGB onto EC2 with: git clone --single-branch --branch main-JDK21-with-javafx-no-theme https: //aloraine@bitbucket.org/lorainelab/integrated-genome-browser.git build edited install4Jv10 configuration file to use jre bundles for 21.0.2: <mediaSets> <windows name= "Windows_x86_64" id= "23" architecture= "64" > <jreBundle jreBundleSource= "preCreated" includedJre= "windows-amd64-21.0.2" /> </windows> <unixInstaller name= "Unix Installer" id= "25" > <jreBundle jreBundleSource= "preCreated" includedJre= "linux-amd64-21.0.2" /> </unixInstaller> <macosFolder name= "Mac_OS X_universal" id= "552" architecture= "universal" signLaunchers= " true " > <jreBundle jreBundleSource= "preCreated" includedJre= "macos-universal-21.0.2" /> </macosFolder> </mediaSets> deployed low-risk certificates for signing jars to distribution directory inside build directory made in the previous step Started interactive docker session running the new image with: docker run -i -t -v ~/build:/build --env-file env_vars --workdir /build igb-maven-install4j:I4J10-jre-21.0.2 /bin/bash within the interactive session above, tested docker image's ability to build installers with: mvn install -P release-bitbucket-pipelines The above command completed without reporting an error.
            Hide
            ann.loraine Ann Loraine added a comment - - edited

            Checked image - it has the expected jres in ~/.local.

            Tagged (made an alias) for new image with:

            docker tag 96396a8f0274 lorainelab/igb-maven-install4j:I4J10-jre-21.0.2
            

            After logging into docker hub with:

            docker login -u aloraine
            

            pushed the image to docker hub with:

            docker push lorainelab/igb-maven-install4j:I4J10-jre-21.0.2
            
            Show
            ann.loraine Ann Loraine added a comment - - edited Checked image - it has the expected jres in ~/.local. Tagged (made an alias) for new image with: docker tag 96396a8f0274 lorainelab/igb-maven-install4j:I4J10-jre-21.0.2 After logging into docker hub with: docker login -u aloraine pushed the image to docker hub with: docker push lorainelab/igb-maven-install4j:I4J10-jre-21.0.2
            Hide
            ann.loraine Ann Loraine added a comment - - edited

            Update:

            • Made new branch (named for this ticket) with edit to bitbucket pipelines configuration file and pushed to a fork.
            • Ran "installer for dev" branch pipeline without error.
            • Ran "release" branch pipeline without error.
            • Downloaded Mac installer and ran it. IGB started without error on my Big Sur system, which couldn't run IGB made with JRE 21.0.1
            • Decided to take a chance and merge the code into main dev branch on team repository without review.
            Show
            ann.loraine Ann Loraine added a comment - - edited Update: Made new branch (named for this ticket) with edit to bitbucket pipelines configuration file and pushed to a fork. Ran "installer for dev" branch pipeline without error. Ran "release" branch pipeline without error. Downloaded Mac installer and ran it. IGB started without error on my Big Sur system, which couldn't run IGB made with JRE 21.0.1 Decided to take a chance and merge the code into main dev branch on team repository without review.
            Hide
            ann.loraine Ann Loraine added a comment -

            Created and merged PR. Installers are available for download and testing in https://bitbucket.org/lorainelab/integrated-genome-browser/downloads/ as

            • IGB-macos-universal-main-JDK21-with-javafx-no-theme.dmg
            • IGB-windows-amd64-main-JDK21-with-javafx-no-theme.dmg
            • IGB-linux-amd64-main-JDK21-with-javafx-no-theme.sh
            Show
            ann.loraine Ann Loraine added a comment - Created and merged PR. Installers are available for download and testing in https://bitbucket.org/lorainelab/integrated-genome-browser/downloads/ as IGB-macos-universal-main-JDK21-with-javafx-no-theme.dmg IGB-windows-amd64-main-JDK21-with-javafx-no-theme.dmg IGB-linux-amd64-main-JDK21-with-javafx-no-theme.sh
            Hide
            nfreese Nowlan Freese added a comment -

            Pushed updated main-JDK21-with-javafx-no-theme to my fork, bitbucket pipeline ran successfully. Downloaded installer for Mac (running intel macOS 13.6.4) and did not observe the app manager crashing.

            Closing ticket.

            Show
            nfreese Nowlan Freese added a comment - Pushed updated main-JDK21-with-javafx-no-theme to my fork, bitbucket pipeline ran successfully. Downloaded installer for Mac (running intel macOS 13.6.4) and did not observe the app manager crashing. Closing ticket.

              People

              • Assignee:
                ann.loraine Ann Loraine
                Reporter:
                nfreese Nowlan Freese
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: