java.lang.RuntimeException: There was a problem evicting or flushing a PluginData object

Atlassian JIRA | Bob Swift [Bob Swift Atlassian Add-ons] | 7 years ago
  1. 0

    Consistently getting the following when installing a plugin using remote API. After running this, Confluence must be restarted. On restart, the plugin shows that it was successfully installed. Same plugin jar can be installed successfully installed via the UI. https://plugins.atlassian.com/server/1.0/download/pluginVersion/370 was the plugin I was trying to install. {noformat} 2009-10-07 20:28:00,025 ERROR [DefaultQuartzScheduler_Worker-0] [org.quartz.core.ErrorLogger] schedulerError Job (DEFAULT.ClusterSafetyJob threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.RuntimeException: More than one cluster safety number in database.] at org.quartz.core.JobRunShell.run(JobRunShell.java:214) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) * Nested Exception (Underlying Cause) --------------- java.lang.RuntimeException: More than one cluster safety number in database. at com.atlassian.confluence.cluster.safety.HibernateClusterSafetyDao.getClusterSafetyNumberObject(HibernateClusterSafetyDao.java:40) at com.atlassian.confluence.cluster.safety.HibernateClusterSafetyDao.setSafetyNumber(HibernateClusterSafetyDao.java:24) at com.atlassian.confluence.cluster.safety.DefaultClusterSafetyManager.verify(DefaultClusterSafetyManager.java:34) at sun.reflect.GeneratedMethodAccessor382.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:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:20) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy68.verify(Unknown Source) at com.atlassian.confluence.cluster.safety.ClusterSafetyJob.executeJob(ClusterSafetyJob.java:13) at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.surroundJobExecutionWithLogging(AbstractClusterAwareQuartzJobBean.java:63) at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.executeInternal(AbstractClusterAwareQuartzJobBean.java:46) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) {noformat} Tried some other plugins (calendar plugin for example). The jar installs and removes fine from the UI. But get the following error from the API: {noformat} java.lang.RuntimeException: There was a problem evicting or flushing a PluginData object at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222) at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129) at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(XMLNSDocumentScannerImpl.java:719) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242) at javax.xml.parsers.SAXParser.parse(SAXParser.java:375) at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at com.dolby.confluence.net.confluence.ConfluenceserviceV1SoapBindingStub.installPlugin(ConfluenceserviceV1SoapBindingStub.java:4654) at org.swift.confluence.cli.ConfluenceClient.installPlugin(ConfluenceClient.java:2187) at org.swift.confluence.cli.ConfluenceClient.handleRequest(ConfluenceClient.java:441) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:90) at org.swift.common.cli.CliClient.doWork(CliClient.java:160) at org.swift.confluence.cli.ConfluenceClient.main(ConfluenceClient.java:99) {noformat}

    Atlassian JIRA | 7 years ago | Bob Swift [Bob Swift Atlassian Add-ons]
    java.lang.RuntimeException: There was a problem evicting or flushing a PluginData object
  2. 0

    Consistently getting the following when installing a plugin using remote API. After running this, Confluence must be restarted. On restart, the plugin shows that it was successfully installed. Same plugin jar can be installed successfully installed via the UI. https://plugins.atlassian.com/server/1.0/download/pluginVersion/370 was the plugin I was trying to install. {noformat} 2009-10-07 20:28:00,025 ERROR [DefaultQuartzScheduler_Worker-0] [org.quartz.core.ErrorLogger] schedulerError Job (DEFAULT.ClusterSafetyJob threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.RuntimeException: More than one cluster safety number in database.] at org.quartz.core.JobRunShell.run(JobRunShell.java:214) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) * Nested Exception (Underlying Cause) --------------- java.lang.RuntimeException: More than one cluster safety number in database. at com.atlassian.confluence.cluster.safety.HibernateClusterSafetyDao.getClusterSafetyNumberObject(HibernateClusterSafetyDao.java:40) at com.atlassian.confluence.cluster.safety.HibernateClusterSafetyDao.setSafetyNumber(HibernateClusterSafetyDao.java:24) at com.atlassian.confluence.cluster.safety.DefaultClusterSafetyManager.verify(DefaultClusterSafetyManager.java:34) at sun.reflect.GeneratedMethodAccessor382.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:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:20) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy68.verify(Unknown Source) at com.atlassian.confluence.cluster.safety.ClusterSafetyJob.executeJob(ClusterSafetyJob.java:13) at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.surroundJobExecutionWithLogging(AbstractClusterAwareQuartzJobBean.java:63) at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.executeInternal(AbstractClusterAwareQuartzJobBean.java:46) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) {noformat} Tried some other plugins (calendar plugin for example). The jar installs and removes fine from the UI. But get the following error from the API: {noformat} java.lang.RuntimeException: There was a problem evicting or flushing a PluginData object at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222) at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129) at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(XMLNSDocumentScannerImpl.java:719) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242) at javax.xml.parsers.SAXParser.parse(SAXParser.java:375) at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at com.dolby.confluence.net.confluence.ConfluenceserviceV1SoapBindingStub.installPlugin(ConfluenceserviceV1SoapBindingStub.java:4654) at org.swift.confluence.cli.ConfluenceClient.installPlugin(ConfluenceClient.java:2187) at org.swift.confluence.cli.ConfluenceClient.handleRequest(ConfluenceClient.java:441) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:90) at org.swift.common.cli.CliClient.doWork(CliClient.java:160) at org.swift.confluence.cli.ConfluenceClient.main(ConfluenceClient.java:99) {noformat}

    Atlassian JIRA | 7 years ago | Bob Swift [Bob Swift Atlassian Add-ons]
    java.lang.RuntimeException: There was a problem evicting or flushing a PluginData object
  3. 0

    ExpiringCache.TimeContainer Runtime exception with Axis web service

    Stack Overflow | 1 year ago | Ashish
    java.lang.RuntimeException: ExpiringCache.TimeContainer both time and value should be set in the constructor method.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Pipeline Questions

    Google Groups | 5 years ago | Sanket Gupte
    java.lang.RuntimeException: No compiler found in your classpath! (you may need to add 'tools.jar')

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      There was a problem evicting or flushing a PluginData object

      at org.apache.axis.message.SOAPFaultBuilder.createFault()
    2. Axis Web Services
      DeserializationContext.endElement
      1. org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
      2. org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
      3. org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
      3 frames
    3. Java RT
      SAXParser.parse
      1. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)
      2. com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(XMLNSDocumentScannerImpl.java:719)
      3. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
      4. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
      5. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
      6. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
      7. com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
      8. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
      9. javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
      9 frames
    4. Axis Web Services
      Call.invoke
      1. org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
      2. org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
      3. org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
      4. org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
      5. org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
      6. org.apache.axis.client.Call.invokeEngine(Call.java:2784)
      7. org.apache.axis.client.Call.invoke(Call.java:2767)
      8. org.apache.axis.client.Call.invoke(Call.java:2443)
      9. org.apache.axis.client.Call.invoke(Call.java:2366)
      10. org.apache.axis.client.Call.invoke(Call.java:1812)
      10 frames
    5. com.dolby.confluence
      ConfluenceserviceV1SoapBindingStub.installPlugin
      1. com.dolby.confluence.net.confluence.ConfluenceserviceV1SoapBindingStub.installPlugin(ConfluenceserviceV1SoapBindingStub.java:4654)
      1 frame
    6. org.swift.confluence
      ConfluenceClient.handleRequest
      1. org.swift.confluence.cli.ConfluenceClient.installPlugin(ConfluenceClient.java:2187)
      2. org.swift.confluence.cli.ConfluenceClient.handleRequest(ConfluenceClient.java:441)
      2 frames
    7. org.swift.common
      CliClient.doWork
      1. org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:90)
      2. org.swift.common.cli.CliClient.doWork(CliClient.java:160)
      2 frames
    8. org.swift.confluence
      ConfluenceClient.main
      1. org.swift.confluence.cli.ConfluenceClient.main(ConfluenceClient.java:99)
      1 frame