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

          Hide
          jeckstein John Eckstein (Inactive) added a comment -

          This is no longer an issue anymore but the update button remains even after uninstalling.

          Show
          jeckstein John Eckstein (Inactive) added a comment - This is no longer an issue anymore but the update button remains even after uninstalling.
          Hide
          jeckstein John Eckstein (Inactive) added a comment -

          Test by following procedures in description. The update button and icon should disappear after uninstall.

          Show
          jeckstein John Eckstein (Inactive) added a comment - Test by following procedures in description. The update button and icon should disappear after uninstall.
          Hide
          mason Mason Meyer (Inactive) added a comment -

          I tested this issue by follow the procedures in the description and can confirm that this issue is resolved, so it will now be closed.

          Show
          mason Mason Meyer (Inactive) added a comment - I tested this issue by follow the procedures in the description and can confirm that this issue is resolved, so it will now be closed.

            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: