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

Exception generated when trying to install an updatable plugin

    Details

    • Story Points:
      0.25
    • Sprint:
      Sprint 30

      Description

      While testing the IGB App Manager prior to the 8.5.0 release I noticed that an exception was being generated when trying to install an updatable plugin.

      Furthermore, the plugin would not install, the Install button turns into "Installing...", but it just hangs there.

      To reproduce:

      1) Open the IGB App Manager and make sure that only the Bioviz repository is enabled (the Bioviz Development repository should be disabled).
      2) Install a plugin.
      3) Now enable the Bioviz Development repository
      (*Observe: your installed plugin should be updatable)
      4) Now "Uninstall" the plugin (don't update).
      5) Now try to "Install" the plugin.

      ***Observe: The "Install" button has changed to read "Installing", but it just hangs here indefinitely. Furthermore, an exception is generated in the console:

      14:48:57.946 ERROR c.l.igb.plugins.BundleActionManager - org.apache.felix.bundlerepository.impl.LazyLocalResourceImpl cannot be cast to org.apache.felix.bundlerepository.impl.LocalResourceImpl
      java.lang.ClassCastException: org.apache.felix.bundlerepository.impl.LazyLocalResourceImpl cannot be cast to org.apache.felix.bundlerepository.impl.LocalResourceImpl
      at org.apache.felix.bundlerepository.impl.ResolverImpl.findUpdatableLocalResource(ResolverImpl.java:703) ~[na:na]
      at org.apache.felix.bundlerepository.impl.ResolverImpl.deploy(ResolverImpl.java:569) ~[na:na]
      at com.lorainelab.igb.plugins.BundleActionManager.installBundle(BundleActionManager.java:122) ~[plugins-manager-8.5.0.jar:na]
      at com.lorainelab.igb.plugins.BundleActionManager.access$000(BundleActionManager.java:37) ~[plugins-manager-8.5.0.jar:na]
      at com.lorainelab.igb.plugins.BundleActionManager$1.get(BundleActionManager.java:101) [plugins-manager-8.5.0.jar:na]
      at com.lorainelab.igb.plugins.BundleActionManager$1.get(BundleActionManager.java:96) [plugins-manager-8.5.0.jar:na]
      at java.util.concurrent.CompletableFuture$AsyncSupply.run(Unknown Source) [na:1.8.0_66]
      at java.util.concurrent.CompletableFuture$AsyncSupply.exec(Unknown Source) [na:1.8.0_66]
      at java.util.concurrent.ForkJoinTask.doExec(Unknown Source) [na:1.8.0_66]
      at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source) [na:1.8.0_66]
      at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) [na:1.8.0_66]
      at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source) [na:1.8.0_66]
      14:49:12.883 INFO c.l.igb.plugins.BundleInfoManager - Bundle from remote source is not compatible with this version of IGB: com.lorainelab.protannot

        Attachments

          Activity

          mason Mason Meyer (Inactive) created issue -
          mason Mason Meyer (Inactive) made changes -
          Field Original Value New Value
          Labels App_Manager
          ann.loraine Ann Loraine made changes -
          Story Points 0.25
          dcnorris David Norris (Inactive) made changes -
          Assignee David Norris [ dcnorris ] John Eckstein [ jeckstein ]
          dcnorris David Norris (Inactive) made changes -
          Rank Ranked higher
          jeckstein John Eckstein (Inactive) made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          jeckstein John Eckstein (Inactive) made changes -
          Status In Progress [ 3 ] Needs Testing [ 10002 ]
          mason Mason Meyer (Inactive) made changes -
          Assignee John Eckstein [ jeckstein ] Mason Meyer [ mason ]
          mason Mason Meyer (Inactive) made changes -
          Status Needs Testing [ 10002 ] Testing In Progress [ 10003 ]
          dcnorris David Norris (Inactive) made changes -
          Fix Version/s 8.5.2 MInor Release [ 10200 ]
          dcnorris David Norris (Inactive) made changes -
          Assignee Mason Meyer [ mason ] Tarun Mall [ tmall ]
          mason Mason Meyer (Inactive) made changes -
          Assignee Tarun Mall [ tmall ] Mason Meyer [ mason ]
          mason Mason Meyer (Inactive) made changes -
          Resolution Done [ 10000 ]
          Status Testing In Progress [ 10003 ] Closed [ 6 ]
          ann.loraine Ann Loraine made changes -
          Workflow Loraine Lab Workflow [ 16740 ] Fall 2019 Workflow Update [ 19732 ]
          ann.loraine Ann Loraine made changes -
          Workflow Fall 2019 Workflow Update [ 19732 ] Revised Fall 2019 Workflow Update [ 21851 ]

            People

            • Assignee:
              mason Mason Meyer (Inactive)
              Reporter:
              mason Mason Meyer (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: