0 Replies Latest reply on Sep 4, 2015 12:49 AM by Sherry Wang

    Can't add Deployed Unit or Create container because of StackOverflowError issue

    Sherry Wang Newbie

      I've got Maven repository set up in jBPM and tried to add a deployed unit for business process or start a container in kie server. I got StackOverflowError. Sometime it's working but not always.

      Anyone's got any idea?

       

      Here is stack trace. It seemed that it couldn't load the artifact. 

       

      2015-09-04 16:16:20,586 WARN  [org.jbpm.kie.services.impl.KModuleDeploymentService] (EJB default - 2) Unexpected error while deploying unit com.xxx:xxx:1.0-SNAPSHOT:xxx:xxx: java.lang.StackOverflowError

        at java.lang.StringBuilder.append(StringBuilder.java:191) [rt.jar:1.7.0_67]

        at org.codehaus.plexus.interpolation.util.StringUtils.capitalizeFirstLetter(StringUtils.java:127) [plexus-interpolation-1.19.jar:]

        at org.codehaus.plexus.interpolation.reflection.ReflectionValueExtractor.evaluate(ReflectionValueExtractor.java:92) [plexus-interpolation-1.19.jar:]

        at org.codehaus.plexus.interpolation.ObjectBasedValueSource.getValue(ObjectBasedValueSource.java:64) [plexus-interpolation-1.19.jar:]

        at org.codehaus.plexus.interpolation.PrefixedValueSourceWrapper.getValue(PrefixedValueSourceWrapper.java:129) [plexus-interpolation-1.19.jar:]

        at org.codehaus.plexus.interpolation.AbstractDelegatingValueSource.getValue(AbstractDelegatingValueSource.java:44) [plexus-interpolation-1.19.jar:]

        at org.codehaus.plexus.interpolation.StringSearchInterpolator.interpolate(StringSearchInterpolator.java:198) [plexus-interpolation-1.19.jar:]

        at org.codehaus.plexus.interpolation.StringSearchInterpolator.interpolate(StringSearchInterpolator.java:217) [plexus-interpolation-1.19.jar:]

        at org.codehaus.plexus.interpolation.StringSearchInterpolator.interpolate(StringSearchInterpolator.java:122) [plexus-interpolation-1.19.jar:]

        at org.apache.maven.model.interpolation.AbstractStringBasedModelInterpolator.interpolateInternal(AbstractStringBasedModelInterpolator.java:224) [maven-model-builder-3.2.2.jar:3.2.2]

        at org.apache.maven.model.interpolation.StringSearchModelInterpolator$InterpolateObjectAction.interpolate(StringSearchModelInterpolator.java:138) [maven-model-builder-3.2.2.jar:3.2.2]

        at org.apache.maven.model.interpolation.StringSearchModelInterpolator$InterpolateObjectAction.access$300(StringSearchModelInterpolator.java:93) [maven-model-builder-3.2.2.jar:3.2.2]

        at org.apache.maven.model.interpolation.StringSearchModelInterpolator$InterpolateObjectAction$StringField.doInterpolate(StringSearchModelInterpolator.java:346) [maven-model-builder-3.2.2.jar:3.2.2]

        at org.apache.maven.model.interpolation.StringSearchModelInterpolator$InterpolateObjectAction$CacheField.interpolate(StringSearchModelInterpolator.java:298) [maven-model-builder-3.2.2.jar:3.2.2]

        at org.apache.maven.model.interpolation.StringSearchModelInterpolator$InterpolateObjectAction$CacheItem.interpolate(StringSearchModelInterpolator.java:271) [maven-model-builder-3.2.2.jar:3.2.2]

        at org.apache.maven.model.interpolation.StringSearchModelInterpolator$InterpolateObjectAction.traverseObjectWithParents(StringSearchModelInterpolator.java:155) [maven-model-builder-3.2.2.jar:3.2.2]

        at org.apache.maven.model.interpolation.StringSearchModelInterpolator$InterpolateObjectAction.run(StringSearchModelInterpolator.java:129) [maven-model-builder-3.2.2.jar:3.2.2]

        at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.7.0_67]

        at org.apache.maven.model.interpolation.StringSearchModelInterpolator.interpolateObject(StringSearchModelInterpolator.java:77) [maven-model-builder-3.2.2.jar:3.2.2]

        at org.apache.maven.model.interpolation.StringSearchModelInterpolator.interpolateModel(StringSearchModelInterpolator.java:60) [maven-model-builder-3.2.2.jar:3.2.2]

        at org.apache.maven.model.building.DefaultModelBuilder.interpolateModel(DefaultModelBuilder.java:724) [maven-model-builder-3.2.2.jar:3.2.2]

        at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:364) [maven-model-builder-3.2.2.jar:3.2.2]

        at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:375) [maven-aether-provider-3.2.2.jar:3.2.2]

        at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:231) [maven-aether-provider-3.2.2.jar:3.2.2]

        at org.eclipse.aether.internal.impl.DefaultDependencyCollector.resolveCachedArtifactDescriptor(DefaultDependencyCollector.java:525) [aether-impl-1.0.0.v20140518.jar:]

        at org.eclipse.aether.internal.impl.DefaultDependencyCollector.getArtifactDescriptorResult(DefaultDependencyCollector.java:509) [aether-impl-1.0.0.v20140518.jar:]

        at org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:409) [aether-impl-1.0.0.v20140518.jar:]

        at org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:363) [aether-impl-1.0.0.v20140518.jar:]

        at org.eclipse.aether.internal.impl.DefaultDependencyCollector.process(DefaultDependencyCollector.java:351) [aether-impl-1.0.0.v20140518.jar:]

        at org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:254) [aether-impl-1.0.0.v20140518.jar:]

        at org.eclipse.aether.internal.impl.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:316) [aether-impl-1.0.0.v20140518.jar:]

        at org.kie.scanner.MavenRepository.getArtifactDependecies(MavenRepository.java:174) [kie-ci-6.2.0.Final.jar:6.2.0.Final]

        at org.kie.scanner.ArtifactResolver.getArtifactDependecies(ArtifactResolver.java:55) [kie-ci-6.2.0.Final.jar:6.2.0.Final]

        at org.kie.scanner.KieRepositoryScannerImpl.buildArtifact(KieRepositoryScannerImpl.java:142) [kie-ci-6.2.0.Final.jar:6.2.0.Final]

        at org.kie.scanner.KieRepositoryScannerImpl.loadArtifact(KieRepositoryScannerImpl.java:99) [kie-ci-6.2.0.Final.jar:6.2.0.Final]

        at org.kie.scanner.KieRepositoryScannerImpl.loadArtifact(KieRepositoryScannerImpl.java:91) [kie-ci-6.2.0.Final.jar:6.2.0.Final]

        at org.drools.compiler.kie.builder.impl.KieRepositoryImpl.loadKieModuleFromMavenRepo(KieRepositoryImpl.java:113) [drools-compiler-6.2.0.Final.jar:6.2.0.Final]

        at org.drools.compiler.kie.builder.impl.KieRepositoryImpl.getKieModule(KieRepositoryImpl.java:99) [drools-compiler-6.2.0.Final.jar:6.2.0.Final]

        at org.drools.compiler.kie.builder.impl.KieRepositoryImpl.getKieModule(KieRepositoryImpl.java:76) [drools-compiler-6.2.0.Final.jar:6.2.0.Final]

        at org.kie.scanner.KieRepositoryScannerImpl.addDependencies(KieRepositoryScannerImpl.java:150) [kie-ci-6.2.0.Final.jar:6.2.0.Final]

        at org.kie.scanner.KieRepositoryScannerImpl.buildArtifact(KieRepositoryScannerImpl.java:142) [kie-ci-6.2.0.Final.jar:6.2.0.Final]

        at org.kie.scanner.KieRepositoryScannerImpl.loadArtifact(KieRepositoryScannerImpl.java:99) [kie-ci-6.2.0.Final.jar:6.2.0.Final]

        at org.kie.scanner.KieRepositoryScannerImpl.loadArtifact(KieRepositoryScannerImpl.java:91) [kie-ci-6.2.0.Final.jar:6.2.0.Final]

        at org.drools.compiler.kie.builder.impl.KieRepositoryImpl.loadKieModuleFromMavenRepo(KieRepositoryImpl.java:113) [drools-compiler-6.2.0.Final.jar:6.2.0.Final]

        at org.drools.compiler.kie.builder.impl.KieRepositoryImpl.getKieModule(KieRepositoryImpl.java:99) [drools-compiler-6.2.0.Final.jar:6.2.0.Final]

        at org.drools.compiler.kie.builder.impl.KieRepositoryImpl.getKieModule(KieRepositoryImpl.java:76) [drools-compiler-6.2.0.Final.jar:6.2.0.Final]

        at org.kie.scanner.KieRepositoryScannerImpl.addDependencies(KieRepositoryScannerImpl.java:150) [kie-ci-6.2.0.Final.jar:6.2.0.Final]

        at org.kie.scanner.KieRepositoryScannerImpl.buildArtifact(KieRepositoryScannerImpl.java:142) [kie-ci-6.2.0.Final.jar:6.2.0.Final]

        at org.kie.scanner.KieRepositoryScannerImpl.loadArtifact(KieRepositoryScannerImpl.java:99) [kie-ci-6.2.0.Final.jar:6.2.0.Final]

        at org.kie.scanner.KieRepositoryScannerImpl.loadArtifact(KieRepositoryScannerImpl.java:91) [kie-ci-6.2.0.Final.jar:6.2.0.Final]