Details
-
Bug
-
Resolution: Fixed
-
High
-
2.3-DR2
-
None
Description
First of all, bundled plugins should not be uninstallable. This option was not present prior to the "put the plugins in the DB" work. Now the option is present, and clicking it for a bundled plugins causes a stack trace, as below:
The correct solution is to make sure the plugins don't think that they are uninstallable.
2006-12-21 11:02:23,613 ERROR [http-8080-Processor4] [atlassian.xwork.interceptors.XWorkTransactionInterceptor] onThrowable Invoking rollback for transaction on action '/admin/plugins.action (ManagePluginsAction.execute())' due to throwable: org.springframework.orm.ObjectRetrievalFailureException: Object of class [com.atlassian.confluence.plugin.persistence.PluginData] with identifier [com.atlassian.confluence.plugins.xmlrpc.bloggingrpc]: not found
org.springframework.orm.ObjectRetrievalFailureException: Object of class [com.atlassian.confluence.plugin.persistence.PluginData] with identifier [com.atlassian.confluence.plugins.xmlrpc.bloggingrpc]: not found
at com.atlassian.confluence.plugin.persistence.hibernate.HibernatePluginDataDao.getPluginData(HibernatePluginDataDao.java:25)
at com.atlassian.confluence.plugin.persistence.hibernate.HibernatePluginDataDao.remove(HibernatePluginDataDao.java:71)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:284)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174)
at $Proxy0.remove(Unknown Source)
at com.atlassian.confluence.plugin.EventDispatchingPluginController.uninstall(EventDispatchingPluginController.java:68)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:284)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174)
at $Proxy52.uninstall(Unknown Source)
at