dm Server
  1. dm Server
  2. DMS-2021

Spring dm Server CI-458 crashes with ConcurrentModificationException while computing error message for uses conflict

    Details

    • Type: Defect Defect
    • Status: Done Done
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0.RC1, 2.0.0.RELEASE
    • Component/s: None
    • Labels:
      None

      Description

      [2009-11-11 15:17:49.430] TCP Connection(4)-127.0.0.1 <DE0056I> Installing bundle 'plateaucommon-foundation' version '6.1.0.x-SNAPSHOT'.
      [2009-11-11 15:17:50.853] TCP Connection(4)-127.0.0.1 <ME0003I> Dump 'serviceability\dump\200911111517634' generated
      [2009-11-11 15:17:52.041] TCP Connection(4)-127.0.0.1 <ME0003I> Dump 'serviceability\dump\200911111517853' generated
      [2009-11-11 15:17:52.056] TCP Connection(4)-127.0.0.1 <DE0058E> Install failed for bundle 'plateaucommon-foundation' version '6.1.0.x-SNAPSHOT'.
      [2009-11-11 15:17:52.056] TCP Connection(4)-127.0.0.1 <> Exception filtered from JMX invocation java.util.ConcurrentModificationException
      at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
      at java.util.HashMap$EntryIterator.next(HashMap.java:834)
      at java.util.HashMap$EntryIterator.next(HashMap.java:832)
      at com.springsource.kernel.osgi.framework.equinox.UsesAnalyser.generateExportPackagesVisibleInFailedBundle(UsesAnalyser.java:129)
      at com.springsource.kernel.osgi.framework.equinox.UsesAnalyser.getUsesConflicts(UsesAnalyser.java:59)
      at com.springsource.kernel.osgi.quasi.support.StandardResolutionFailureDetective.formatResolverError(StandardResolutionFailureDetective.java:208)
      at com.springsource.kernel.osgi.quasi.support.StandardResolutionFailureDetective.generateFailureDescription(StandardResolutionFailureDetective.java:88)
      at com.springsource.kernel.osgi.quasi.support.DependencyCalculator.calculateDependencies(DependencyCalculator.java:139)
      at com.springsource.kernel.osgi.quasi.support.StandardQuasiFramework.getDependencies(StandardQuasiFramework.java:194)
      at com.springsource.kernel.osgi.quasi.support.StandardQuasiFramework.resolve(StandardQuasiFramework.java:169)
      at com.springsource.kernel.install.pipeline.stage.resolve.internal.QuasiResolveStage.process(QuasiResolveStage.java:51)
      at com.springsource.kernel.install.pipeline.internal.StandardPipeline.doProcessTree(StandardPipeline.java:71)
      at com.springsource.kernel.install.pipeline.internal.CompensatingPipeline.doProcessTree(CompensatingPipeline.java:80)
      at com.springsource.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:50)
      at com.springsource.kernel.install.pipeline.internal.StandardPipeline.doProcessTree(StandardPipeline.java:71)
      at com.springsource.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:50)
      at com.springsource.kernel.deployer.core.internal.PipelinedApplicationDeployer.driveInstallPipeline(PipelinedApplicationDeployer.java:279)
      at com.springsource.kernel.deployer.core.internal.PipelinedApplicationDeployer.doInstall(PipelinedApplicationDeployer.java:170)
      at com.springsource.kernel.deployer.core.internal.PipelinedApplicationDeployer.install(PipelinedApplicationDeployer.java:142)
      at com.springsource.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(PipelinedApplicationDeployer.java:206)
      at com.springsource.kernel.deployer.management.StandardDeployer.deploy(StandardDeployer.java:62)
      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:597)
      at com.sun.jmx.mbeanserver.ConvertingMethod.invokeWithOpenReturn(ConvertingMethod.java:167)
      at com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM2(MXBeanIntrospector.java:96)
      at com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM2(MXBeanIntrospector.java:33)
      at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:208)
      at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:120)
      at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:262)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
      at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1426)
      at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
      at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1264)
      at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1359)
      at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
      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:597)
      at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
      at sun.rmi.transport.Transport$1.run(Transport.java:159)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
      at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:619)

        Activity

        Hide
        Andy Wilkinson added a comment -

        Thanks.

        What build of dm Server are you using? I believe that this problem should be fixed in the recent nightly builds (we fixed a CME in this area about a week ago). If you're not already using one, could you please try this on a more recent build and let us know how you get on?

        Thanks,
        Andy

        Show
        Andy Wilkinson added a comment - Thanks. What build of dm Server are you using? I believe that this problem should be fixed in the recent nightly builds (we fixed a CME in this area about a week ago). If you're not already using one, could you please try this on a more recent build and let us know how you get on? Thanks, Andy
        Hide
        J.C. Hamlin added a comment - - edited

        This issue appeared in CI-458. We reverted back to CI-453 and it was gone. I just tried it with CI-473 and it appears to be resolved.

        Show
        J.C. Hamlin added a comment - - edited This issue appeared in CI-458. We reverted back to CI-453 and it was gone. I just tried it with CI-473 and it appears to be resolved.
        Hide
        Andy Wilkinson added a comment -

        Great stuff. Thanks for trying out one of the latest builds.

        Show
        Andy Wilkinson added a comment - Great stuff. Thanks for trying out one of the latest builds.

          People

          • Assignee:
            Andy Wilkinson
            Reporter:
            J.C. Hamlin
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              First Response Date: