Details
-
Type: Bug
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 8.5.2 MInor Release
-
Labels:
-
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
This is no longer an issue anymore but the update button remains even after uninstalling.