halo-plugin-s3os
2022-12-21T14:23:40.092+08:00 WARN 7 --- [nReconciler-t-1] run.halo.app.plugin.HaloPluginManager : There is an already loaded plugin (PluginWrapper [descriptor=PluginDescriptor [pluginId=PluginS3ObjectStorage, pluginClass=run.halo.app.plugin.BasePlugin, version=1.1.1, provider=longjuan, dependencies=[], description=提供兼容 Amazon S3 协议的对象存储策略,兼容阿里云、腾讯云、七牛云等, requires=>=2.0.0, license=MIT], pluginPath=/root/.halo2/plugins/halo-plugin-s3os-1.1.1.jar]) with the same id (PluginS3ObjectStorage) as the plugin at path '/root/.halo2/plugins/PluginS3ObjectStorage-1.1.1.jar'. Simultaneous loading of plugins with the same PluginId is not currently supported.
As a workaround you may include PluginVersion and PluginProvider in PluginId.
org.pf4j.PluginRuntimeException: There is an already loaded plugin (PluginWrapper [descriptor=PluginDescriptor [pluginId=PluginS3ObjectStorage, pluginClass=run.halo.app.plugin.BasePlugin, version=1.1.1, provider=longjuan, dependencies=[], description=提供兼容 Amazon S3 协议的对象存储策略,兼容阿里云、腾讯云、七牛云等, requires=>=2.0.0, license=MIT], pluginPath=/root/.halo2/plugins/halo-plugin-s3os-1.1.1.jar]) with the same id (PluginS3ObjectStorage) as the plugin at path '/root/.halo2/plugins/PluginS3ObjectStorage-1.1.1.jar'. Simultaneous loading of plugins with the same PluginId is not currently supported.
As a workaround you may include PluginVersion and PluginProvider in PluginId.
at org.pf4j.AbstractPluginManager.loadPluginFromPath(AbstractPluginManager.java:836) ~[pf4j-3.8.0.jar:3.8.0]
at org.pf4j.DefaultPluginManager.loadPluginFromPath(DefaultPluginManager.java:139) ~[pf4j-3.8.0.jar:3.8.0]
at run.halo.app.plugin.HaloPluginManager.loadPluginFromPath(HaloPluginManager.java:385) ~[classes/:2.0.2]
at org.pf4j.AbstractPluginManager.loadPlugin(AbstractPluginManager.java:201) ~[pf4j-3.8.0.jar:3.8.0]
at run.halo.app.core.extension.reconciler.PluginReconciler.lambda$ensurePluginLoaded$3(PluginReconciler.java:128) ~[classes/:2.0.2]
at java.base/java.util.ArrayList.forEach(Unknown Source) ~[na:na]
at run.halo.app.core.extension.reconciler.PluginReconciler.ensurePluginLoaded(PluginReconciler.java:126) ~[classes/:2.0.2]
at run.halo.app.core.extension.reconciler.PluginReconciler.reconcilePluginState(PluginReconciler.java:79) ~[classes/:2.0.2]
at run.halo.app.core.extension.reconciler.PluginReconciler.lambda$reconcile$0(PluginReconciler.java:64) ~[classes/:2.0.2]
at java.base/java.util.Optional.ifPresent(Unknown Source) ~[na:na]
at run.halo.app.core.extension.reconciler.PluginReconciler.reconcile(PluginReconciler.java:58) ~[classes/:2.0.2]
at run.halo.app.core.extension.reconciler.PluginReconciler.reconcile(PluginReconciler.java:42) ~[classes/:2.0.2]
at run.halo.app.extension.controller.DefaultController$Worker.run(DefaultController.java:162) ~[classes/:2.0.2]
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[na:na]
at java.base/java.util.concurrent.FutureTask.run(Unknown Source) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[na:na]
at java.base/java.lang.Thread.run(Unknown Source) ~[na:na]
2022-12-21T14:23:40.097+08:00 ERROR 7 --- [nReconciler-t-1] r.h.a.e.controller.DefaultController : Reconciler in run.halo.app.core.extension.reconciler.PluginReconciler-worker-1 aborted with an error, re-enqueuing...
java.lang.NullPointerException: Cannot invoke "org.pf4j.PluginWrapper.getDescriptor()" because "pluginWrapper" is null
at org.pf4j.AbstractPluginManager.loadPlugin(AbstractPluginManager.java:206) ~[pf4j-3.8.0.jar:3.8.0]
at run.halo.app.core.extension.reconciler.PluginReconciler.lambda$ensurePluginLoaded$3(PluginReconciler.java:128) ~[classes/:2.0.2]
at java.base/java.util.ArrayList.forEach(Unknown Source) ~[na:na]