Error while trying to install custom theme jar.
Asked by Felise Uy:

I keep getting an error when I try to install my custom theme plugin jar - "An unexpected error occurred. Please refer to the logs for more information."

I've included my decorator (vmd) files, jss, css and images.. Is there anything else that it needs?

Note: I referred to this document: [https://developer.atlassian.com/display/CONFDEV/Packaging+and+Installing+a+Theme+Plugin
<br />](https://developer.atlassian.com/display/CONFDEV/Packaging+and+Installing+a+Theme+Plugin)

Here is what the log says:

```
java.lang.RuntimeException: com.atlassian.plugin.PluginException: Plugin failed to install: plugin_4001631113437544966_rbtheme-plugin.jar	at com.atlassian.upm.manager.PluginInstaller.execute(PluginInstaller.java:229)	at com.atlassian.upm.manager.PluginInstaller.install(PluginInstaller.java:127)	at com.atlassian.upm.rest.resources.install.InstallTask.installFromFile(InstallTask.java:121)	at com.atlassian.upm.rest.resources.install.InstallFromFileTask.executeTask(InstallFromFileTask.java:35)	at com.atlassian.upm.rest.resources.install.InstallTask.call(InstallTask.java:57)	at com.atlassian.upm.rest.resources.install.InstallTask.call(InstallTask.java:32)	at com.atlassian.upm.rest.async.AsynchronousTaskManager$1.call(AsynchronousTaskManager.java:81)	at com.atlassian.upm.rest.async.AsynchronousTaskManager$1.call(AsynchronousTaskManager.java:76)	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)	at java.util.concurrent.FutureTask.run(FutureTask.java:138)	at com.atlassian.sal.core.executor.ThreadLocalDelegateRunnable.run(ThreadLocalDelegateRunnable.java:34)	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)	at java.lang.Thread.run(Thread.java:662)Caused by: com.atlassian.plugin.PluginException: Plugin failed to install: plugin_4001631113437544966_rbtheme-plugin.jar	at com.atlassian.upm.manager.PluginAccessorAndControllerImpl$1.doInTransaction(PluginAccessorAndControllerImpl.java:92)	at com.atlassian.upm.manager.PluginAccessorAndControllerImpl$1.doInTransaction(PluginAccessorAndControllerImpl.java:65)	at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25)	at com.atlassian.sal.spring.component.SpringHostContextAccessor$1.doInTransaction(SpringHostContextAccessor.java:88)	at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)	at com.atlassian.sal.spring.component.SpringHostContextAccessor.doInTransaction(SpringHostContextAccessor.java:82)	at sun.reflect.GeneratedMethodAccessor97.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129)	at com.sun.proxy.$Proxy183.doInTransaction(Unknown Source)	at sun.reflect.GeneratedMethodAccessor97.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154)	at com.sun.proxy.$Proxy183.doInTransaction(Unknown Source)	at com.atlassian.sal.core.transaction.HostContextTransactionTemplate.execute(HostContextTransactionTemplate.java:21)	at sun.reflect.GeneratedMethodAccessor196.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)	at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58)	at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)	at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56)	at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)	at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)	at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)	at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)	at com.sun.proxy.$Proxy1287.execute(Unknown Source)	at com.atlassian.upm.manager.PluginAccessorAndControllerImpl.installPlugin(PluginAccessorAndControllerImpl.java:64)	at com.atlassian.upm.impl.PluginArtifactInstallHandler.installPlugin(PluginArtifactInstallHandler.java:26)	at com.atlassian.upm.manager.PluginInstaller.execute(PluginInstaller.java:172)	... 13 more
```


Answers:
author: Felise Uy
body: BTW, when I view the atlassian-confluence.log, it doesn't seem to be updated with anything after I try to install the plugin.


Tags: custom-field

install

theme