question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[stepfunctions-tasks] Complaining "JsiiException: Maximum call stack size exceeded" when building EcsRunTask

See original GitHub issue

Complaining “JsiiException: Maximum call stack size exceeded” when building EcsRunTask

Reproduction Steps


public class DynamoEcsStack extends Stack {
    public static final String CONTAINER_NAME = "DRPDynamoReplicateTableContainer";

    DynamoEcsStack(App app) {
        super(app, "DRPortal-Dynamo-Ecs");

        final Repository repository = Repository.Builder
                .create(this, "Repository")
                .repositoryName("drportal/dynamo/replicate-table")
                .removalPolicy(RemovalPolicy.DESTROY)
                .build();

        final Role executionRole = Role.Builder
                .create(this, "ExecutionRole")
                .assumedBy(new ServicePrincipal("ecs-tasks.amazonaws.com"))
                .managedPolicies(Collections.singletonList(
                        ManagedPolicy.fromAwsManagedPolicyName("service-role/AmazonECSTaskExecutionRolePolicy")))
                .build();

        final Role taskRole = Role.Builder
                .create(this, "TaskRole")
                .assumedBy(new ServicePrincipal("ecs-tasks.amazonaws.com"))
                .managedPolicies(Arrays.asList(
                        ManagedPolicy.fromAwsManagedPolicyName("AmazonKinesisFullAccess"),
                        ManagedPolicy.fromAwsManagedPolicyName("AmazonDynamoDBFullAccess"),
                        ManagedPolicy.fromAwsManagedPolicyName("AWSStepFunctionsFullAccess"),
                        ManagedPolicy.fromAwsManagedPolicyName("CloudWatchFullAccess")))
                .build();

        final Cluster cluster = Cluster.Builder
                .create(this, "ReplicateTableCluster")
                .clusterName("DRPDynamoReplicateTableCluster")
                .build();

        final TaskDefinition taskDefinition = TaskDefinition.Builder
                .create(this, "ReplicateTableTaskDefinition")
                .cpu("2048")
                .memoryMiB("4096")
                .compatibility(Compatibility.FARGATE)
                .executionRole(executionRole)
                .taskRole(taskRole)
                .build();

        final ContainerImage image = ContainerImage.fromEcrRepository(repository, "latest");

        final ContainerDefinition container = taskDefinition
                .addContainer(CONTAINER_NAME, ContainerDefinitionOptions.builder()
                        .image(image)
                        .logging(LogDriver.awsLogs(AwsLogDriverProps.builder()
                                .streamPrefix("dynamo")
                                .logGroup(LogGroup.Builder
                                        .create(this, "DynamoLogGroup")
                                        .logGroupName("/aws/ecs/dynamo/replicateTable")
                                        .retention(RetentionDays.ONE_WEEK)
                                        .removalPolicy(RemovalPolicy.DESTROY)
                                        .build())
                                .build()))
                        .build());

        EcsRunTask.Builder
                .create(this, "ReplicateTable")
                .cluster(cluster)
                .assignPublicIp(true)
                .taskDefinition(taskDefinition)
                .integrationPattern(IntegrationPattern.WAIT_FOR_TASK_TOKEN)
                .containerOverrides(Collections.singletonList(ContainerOverride.builder()
                        .containerDefinition(container)
                        .environment(environment()).build()))
                .launchTarget(EcsFargateLaunchTarget.Builder.create()
                        .platformVersion(FargatePlatformVersion.VERSION1_4).build())
                .build();
    }

    private List<TaskEnvironmentVariable> environment() {
        return Arrays.asList(
                env("source_table", "$[0].source.table"),
                env("source_region", "$[0].source.region"),
                env("target_table", "$[0].target.table"),
                env("target_region", "$[0].target.region"),
                env("credential_access", "$[0].credential.access"),
                env("credential_secret", "$[0].credential.secret"),
                env("task_token", JsonPath.getTaskToken()));
    }

    private TaskEnvironmentVariable env(String name, String value) {
        // TODO wait for TaskEnvironmentVariable.valuePath()
        // HELLO: I NEED THE VALUEPATH HERE DESPERATELY
        return TaskEnvironmentVariable.builder().name(name).value(value).build();
    }
}

Error Log

38f9d3e39f34:hello-cdk clementy$ cdk ls
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on project hello-cdk: An exception occured while executing the Java class. Maximum call stack size exceeded
[ERROR] RangeError: Maximum call stack size exceeded
[ERROR]     at Function.entries (<anonymous>)
[ERROR]     at recurseObject (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-kernel-UdfDxD/node_modules/@aws-cdk/aws-stepfunctions/lib/json-path.js:78:39)
[ERROR]     at recurseObject (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-kernel-UdfDxD/node_modules/@aws-cdk/aws-stepfunctions/lib/json-path.js:95:24)
[ERROR]     at recurseObject (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-kernel-UdfDxD/node_modules/@aws-cdk/aws-stepfunctions/lib/json-path.js:95:24)
[ERROR]     at recurseObject (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-kernel-UdfDxD/node_modules/@aws-cdk/aws-stepfunctions/lib/json-path.js:95:24)
[ERROR]     at recurseObject (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-kernel-UdfDxD/node_modules/@aws-cdk/aws-stepfunctions/lib/json-path.js:95:24)
[ERROR]     at recurseObject (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-kernel-UdfDxD/node_modules/@aws-cdk/aws-stepfunctions/lib/json-path.js:95:24)
[ERROR]     at recurseObject (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-kernel-UdfDxD/node_modules/@aws-cdk/aws-stepfunctions/lib/json-path.js:95:24)
[ERROR]     at recurseObject (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-kernel-UdfDxD/node_modules/@aws-cdk/aws-stepfunctions/lib/json-path.js:95:24)
[ERROR]     at Kernel._wrapSandboxCode (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-java-runtime12286689523936163533/jsii-runtime.js:8398:19)
[ERROR]     at Kernel._create (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-java-runtime12286689523936163533/jsii-runtime.js:7922:26)
[ERROR]     at Kernel.create (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-java-runtime12286689523936163533/jsii-runtime.js:7666:21)
[ERROR]     at KernelHost.processRequest (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-java-runtime12286689523936163533/jsii-runtime.js:7446:28)
[ERROR]     at KernelHost.run (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-java-runtime12286689523936163533/jsii-runtime.js:7384:14)
[ERROR]     at Immediate._onImmediate (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-java-runtime12286689523936163533/jsii-runtime.js:7387:37)
[ERROR]     at processImmediate (internal/timers.js:439:21)
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on project hello-cdk: An exception occured while executing the Java class. Maximum call stack size exceeded
RangeError: Maximum call stack size exceeded
    at Function.entries (<anonymous>)
    at recurseObject (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-kernel-UdfDxD/node_modules/@aws-cdk/aws-stepfunctions/lib/json-path.js:78:39)
    at recurseObject (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-kernel-UdfDxD/node_modules/@aws-cdk/aws-stepfunctions/lib/json-path.js:95:24)
    at recurseObject (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-kernel-UdfDxD/node_modules/@aws-cdk/aws-stepfunctions/lib/json-path.js:95:24)
    at recurseObject (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-kernel-UdfDxD/node_modules/@aws-cdk/aws-stepfunctions/lib/json-path.js:95:24)
    at recurseObject (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-kernel-UdfDxD/node_modules/@aws-cdk/aws-stepfunctions/lib/json-path.js:95:24)
    at recurseObject (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-kernel-UdfDxD/node_modules/@aws-cdk/aws-stepfunctions/lib/json-path.js:95:24)
    at recurseObject (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-kernel-UdfDxD/node_modules/@aws-cdk/aws-stepfunctions/lib/json-path.js:95:24)
    at recurseObject (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-kernel-UdfDxD/node_modules/@aws-cdk/aws-stepfunctions/lib/json-path.js:95:24)
    at Kernel._wrapSandboxCode (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-java-runtime12286689523936163533/jsii-runtime.js:8398:19)
    at Kernel._create (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-java-runtime12286689523936163533/jsii-runtime.js:7922:26)
    at Kernel.create (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-java-runtime12286689523936163533/jsii-runtime.js:7666:21)
    at KernelHost.processRequest (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-java-runtime12286689523936163533/jsii-runtime.js:7446:28)
    at KernelHost.run (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-java-runtime12286689523936163533/jsii-runtime.js:7384:14)
    at Immediate._onImmediate (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-java-runtime12286689523936163533/jsii-runtime.js:7387:37)
    at processImmediate (internal/timers.js:439:21)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:566)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.apache.maven.plugin.MojoExecutionException: An exception occured while executing the Java class. Maximum call stack size exceeded
RangeError: Maximum call stack size exceeded
    at Function.entries (<anonymous>)
    at recurseObject (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-kernel-UdfDxD/node_modules/@aws-cdk/aws-stepfunctions/lib/json-path.js:78:39)
    at recurseObject (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-kernel-UdfDxD/node_modules/@aws-cdk/aws-stepfunctions/lib/json-path.js:95:24)
    at recurseObject (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-kernel-UdfDxD/node_modules/@aws-cdk/aws-stepfunctions/lib/json-path.js:95:24)
    at recurseObject (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-kernel-UdfDxD/node_modules/@aws-cdk/aws-stepfunctions/lib/json-path.js:95:24)
    at recurseObject (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-kernel-UdfDxD/node_modules/@aws-cdk/aws-stepfunctions/lib/json-path.js:95:24)
    at recurseObject (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-kernel-UdfDxD/node_modules/@aws-cdk/aws-stepfunctions/lib/json-path.js:95:24)
    at recurseObject (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-kernel-UdfDxD/node_modules/@aws-cdk/aws-stepfunctions/lib/json-path.js:95:24)
    at recurseObject (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-kernel-UdfDxD/node_modules/@aws-cdk/aws-stepfunctions/lib/json-path.js:95:24)
    at Kernel._wrapSandboxCode (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-java-runtime12286689523936163533/jsii-runtime.js:8398:19)
    at Kernel._create (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-java-runtime12286689523936163533/jsii-runtime.js:7922:26)
    at Kernel.create (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-java-runtime12286689523936163533/jsii-runtime.js:7666:21)
    at KernelHost.processRequest (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-java-runtime12286689523936163533/jsii-runtime.js:7446:28)
    at KernelHost.run (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-java-runtime12286689523936163533/jsii-runtime.js:7384:14)
    at Immediate._onImmediate (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-java-runtime12286689523936163533/jsii-runtime.js:7387:37)
    at processImmediate (internal/timers.js:439:21)
    at org.codehaus.mojo.exec.ExecJavaMojo.execute (ExecJavaMojo.java:339)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:566)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: software.amazon.jsii.JsiiException: Maximum call stack size exceeded
RangeError: Maximum call stack size exceeded
    at Function.entries (<anonymous>)
    at recurseObject (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-kernel-UdfDxD/node_modules/@aws-cdk/aws-stepfunctions/lib/json-path.js:78:39)
    at recurseObject (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-kernel-UdfDxD/node_modules/@aws-cdk/aws-stepfunctions/lib/json-path.js:95:24)
    at recurseObject (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-kernel-UdfDxD/node_modules/@aws-cdk/aws-stepfunctions/lib/json-path.js:95:24)
    at recurseObject (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-kernel-UdfDxD/node_modules/@aws-cdk/aws-stepfunctions/lib/json-path.js:95:24)
    at recurseObject (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-kernel-UdfDxD/node_modules/@aws-cdk/aws-stepfunctions/lib/json-path.js:95:24)
    at recurseObject (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-kernel-UdfDxD/node_modules/@aws-cdk/aws-stepfunctions/lib/json-path.js:95:24)
    at recurseObject (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-kernel-UdfDxD/node_modules/@aws-cdk/aws-stepfunctions/lib/json-path.js:95:24)
    at recurseObject (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-kernel-UdfDxD/node_modules/@aws-cdk/aws-stepfunctions/lib/json-path.js:95:24)
    at Kernel._wrapSandboxCode (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-java-runtime12286689523936163533/jsii-runtime.js:8398:19)
    at Kernel._create (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-java-runtime12286689523936163533/jsii-runtime.js:7922:26)
    at Kernel.create (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-java-runtime12286689523936163533/jsii-runtime.js:7666:21)
    at KernelHost.processRequest (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-java-runtime12286689523936163533/jsii-runtime.js:7446:28)
    at KernelHost.run (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-java-runtime12286689523936163533/jsii-runtime.js:7384:14)
    at Immediate._onImmediate (/private/var/folders/gx/3s8zy0qn0qv6t4r1l_cg64cxzmg53z/T/jsii-java-runtime12286689523936163533/jsii-runtime.js:7387:37)
    at processImmediate (internal/timers.js:439:21)
    at software.amazon.jsii.JsiiRuntime.processErrorResponse (JsiiRuntime.java:119)
    at software.amazon.jsii.JsiiRuntime.requestResponse (JsiiRuntime.java:91)
    at software.amazon.jsii.JsiiClient.createObject (JsiiClient.java:88)
    at software.amazon.jsii.JsiiEngine.createNewObject (JsiiEngine.java:526)
    at software.amazon.awscdk.services.stepfunctions.tasks.EcsRunTask.<init> (EcsRunTask.java:27)
    at software.amazon.awscdk.services.stepfunctions.tasks.EcsRunTask$Builder.build (EcsRunTask.java:298)
    at com.myorg.DynamoEcsStack.<init> (DynamoEcsStack.java:102)
    at com.myorg.HelloCdkApp.main (HelloCdkApp.java:10)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:566)
    at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:282)
    at java.lang.Thread.run (Thread.java:834)
[ERROR] 
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Subprocess exited with error 1

Environment

  • CLI Version : 2.0
  • Framework Version: 1.54
  • Node.js Version: v12.13.1
  • OS : Darwin Kernel Version 18.7.0
  • Language (Version): Java 8

Other


This is 🐛 Bug Report

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:13 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
oappicgicommented, Mar 10, 2021

doh!
yea, that was the issue. I am fairly sure I did npm update, but apparently packages were still at 1.66, thanks shafkevi ! so yea this has been fixed

2reactions
shafkevicommented, Mar 10, 2021

Hmm, interesting. I would double check to make sure in your package-lock.json file that all the dependency versions match up to what your intended versions are. I know that can sometimes be a sneaky way for bugs to appear…

Read more comments on GitHub >

github_iconTop Results From Across the Web

javascript - Maximum call stack size exceeded error
It means that somewhere in your code, you are calling a function which in turn calls another function and so forth, until you...
Read more >
awslabs/aws-cdk - Gitter
JsiiException : Maximum call stack size exceeded. any help ? Execution failed for task ':cdk:annotation-processor:processAnnotation'.
Read more >
class EcsRunTask (construct) · AWS CDK
An Amazon ECS launch type determines the type of infrastructure on which your tasks and services are hosted. taskDefinition, TaskDefinition, [disable-awslint: ...
Read more >
Maximum call stack size exceeded (native stack ... - Reddit
I migrated an app and a changed the build.gradlew file. Right now i'm getting this error when i run the android version of...
Read more >
JavaScript : Maximum call stack size exceeded error - YouTube
JavaScript : Maximum call stack size exceeded error [ Gift : Animated Search Engine : https://bit.ly/AnimSearch ] JavaScript : Maximum call ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found