Running into an issue deploying plugin: com.appiancorp.ps.plugins.contenttools-1.1.3.jar
See logs attached.
2020-02-19 16:18:48,539 [ServerService Thread Pool -- 97] ERROR com.appiancorp.plugins.osgi.AppianOsgiPluginFactory - AppianOsgiPluginFactory.reportUnloadablePlugin [/home/appian/appian/_admin/plugins/com.appiancorp.ps.plugins.contenttools-1.1.3.jar] com.atlassian.plugin.PluginParseException: Unable to scan for host components in plugin classes at com.atlassian.plugin.osgi.factory.transform.stage.HostComponentSpringStage.execute(HostComponentSpringStage.java:62) at com.appiancorp.plugins.osgi.AppianPluginTransformer.transform(AppianPluginTransformer.java:258) at com.appiancorp.plugins.osgi.AppianOsgiPluginFactory.createOsgiPluginJar(AppianOsgiPluginFactory.java:232) at com.appiancorp.plugins.osgi.AppianOsgiPluginFactory.create(AppianOsgiPluginFactory.java:191) at com.atlassian.plugin.loaders.ScanningPluginLoader.deployPluginFromUnit(ScanningPluginLoader.java:116) at com.appiancorp.plugins.loaders.UnloadingDirectoryPluginLoader.deployPluginFromUnit(UnloadingDirectoryPluginLoader.java:111) at com.atlassian.plugin.loaders.ScanningPluginLoader.loadAllPlugins(ScanningPluginLoader.java:89) at com.appiancorp.plugins.loaders.PluginVersion2DefaultLoader.loadAllPlugins(PluginVersion2DefaultLoader.java:51) at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:147) at com.appiancorp.plugins.AppianPluginManager.initHelper(AppianPluginManager.java:88) at com.appiancorp.plugins.AppianPluginManager.init(AppianPluginManager.java:82) at com.appiancorp.plugins.AppianPlugins.start(AppianPlugins.java:226) at com.appiancorp.plugins.ContainerManager.<init>(ContainerManager.java:592) at com.appiancorp.plugins.PluginLoader.initialize(PluginLoader.java:67) at com.appiancorp.plugins.PluginLoader.contextInitialized0(PluginLoader.java:78) at com.appiancorp.common.AppianServletContextListener.doContextInitialized(AppianServletContextListener.java:36) at com.appiancorp.common.web.StartupHaltingServletContextListener$1.run(StartupHaltingServletContextListener.java:74) at com.appiancorp.security.changelog.AuditLogLocationService.runWithLocation(AuditLogLocationService.java:38) at com.appiancorp.common.web.StartupHaltingServletContextListener.contextInitialized(StartupHaltingServletContextListener.java:71) at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3339) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3780) at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:163) at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:61) at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:96) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) at org.jboss.threads.JBossThread.run(JBossThread.java:122) Caused by: java.io.IOException: Error parsing class file at com.atlassian.plugin.osgi.util.ClassBinaryScanner.scanClassBinary(ClassBinaryScanner.java:66) at com.atlassian.plugin.osgi.factory.transform.stage.HostComponentSpringStage.findUsedHostComponents(HostComponentSpringStage.java:195) at com.atlassian.plugin.osgi.factory.transform.stage.HostComponentSpringStage.execute(HostComponentSpringStage.java:58) ... 29 more Caused by: java.lang.ArrayIndexOutOfBoundsException: 18 at aQute.lib.osgi.Clazz.parseClassFile(Clazz.java:448) at aQute.lib.osgi.Clazz.parseClassFile(Clazz.java:369) at aQute.lib.osgi.Clazz.parseClassFileWithCollector(Clazz.java:359) at com.atlassian.plugin.osgi.util.ClassBinaryScanner.scanClassBinary(ClassBinaryScanner.java:38) ... 31 more 2020-02-19 16:18:48,550 [ServerService Thread Pool -- 97] ERROR com.appiancorp.plugins.LoggingPluginEventListener - Failed to load Plug-in 'Unknown-1572228864' (Unknown-1572228864) version 0.0: 'Unable to load plugin: Unable to scan for host components in plugin classes'
Discussion posts and replies are publicly visible
Hi Mannya,
Could you please check if the Jdk version used for plugin & of the server are same, there could issue with Jdk version.