Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(#427): throw an exception if bytecode verifier finds errors #428

Merged
merged 6 commits into from
Jan 22, 2024

Conversation

volodya-lombrozo
Copy link
Member

Throw an exception if bytecode verifier finds some problems in a bytecode class.

Related to #427.


History:

@volodya-lombrozo
Copy link
Member Author

@rultor merge

@rultor
Copy link
Contributor

rultor commented Jan 22, 2024

@rultor merge

@volodya-lombrozo OK, I'll try to merge now. You can check the progress of the merge here

@rultor rultor merged commit 4d829ca into objectionary:master Jan 22, 2024
8 checks passed
@rultor
Copy link
Contributor

rultor commented Jan 22, 2024

@rultor merge

@volodya-lombrozo Done! FYI, the full log is here (took me 4min)

@volodya-lombrozo
Copy link
Member Author

@rultor release, tag is 0.2.19, title is 0.2.19.

@rultor
Copy link
Contributor

rultor commented Jan 22, 2024

@rultor release, tag is 0.2.19, title is 0.2.19.

@volodya-lombrozo OK, I will release it now. Please check the progress here

@rultor
Copy link
Contributor

rultor commented Jan 22, 2024

@rultor release, tag is 0.2.19, title is 0.2.19.

@volodya-lombrozo Oops, I failed. You can see the full log here (spent 7min)

    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:827)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:272)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:195)
    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: com.sun.jersey.api.client.ClientHandlerException: A message body reader for Java class com.sonatype.nexus.staging.api.dto.StagingProfileRepositoryDTO, and Java type class com.sonatype.nexus.staging.api.dto.StagingProfileRepositoryDTO, and MIME media type text/html was not found
    at com.sun.jersey.api.client.ClientResponse.getEntity (ClientResponse.java:561)
    at com.sun.jersey.api.client.ClientResponse.getEntity (ClientResponse.java:517)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV3ServiceImpl$1.perform (StagingWorkflowV3ServiceImpl.java:80)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV3ServiceImpl$1.perform (StagingWorkflowV3ServiceImpl.java:68)
    at com.sonatype.nexus.staging.client.internal.ExceptionConverter.runAndReturn (ExceptionConverter.java:38)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV3ServiceImpl.findRepository (StagingWorkflowV3ServiceImpl.java:86)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV3ServiceImpl.monitorRepositoryTransition (StagingWorkflowV3ServiceImpl.java:213)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV2ServiceImpl$7.perform (StagingWorkflowV2ServiceImpl.java:205)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV2ServiceImpl$7.perform (StagingWorkflowV2ServiceImpl.java:200)
    at com.sonatype.nexus.staging.client.internal.ExceptionConverter.runAndReturn (ExceptionConverter.java:38)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV2ServiceImpl.finishStaging (StagingWorkflowV2ServiceImpl.java:209)
    at org.sonatype.nexus.maven.staging.deploy.strategy.AbstractStagingDeployStrategy.afterUpload (AbstractStagingDeployStrategy.java:206)
    at org.sonatype.nexus.maven.staging.deploy.strategy.StagingDeployStrategy.finalizeDeploy (StagingDeployStrategy.java:129)
    at org.sonatype.nexus.maven.staging.deploy.DeployMojo.execute (DeployMojo.java:213)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:342)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:330)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:175)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:76)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:163)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:160)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:827)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:272)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:195)
    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)
[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
\u001b[0m\u001b[0mcontainer 09ebd00f2ac345a5d14aedd8e16b85c3791cb1f3d33f6aa93e7297623749bd46 is dead
Mon Jan 22 01:43:48 PM CET 2024

@volodya-lombrozo
Copy link
Member Author

@rultor release, tag is 0.2.19, title is 0.2.19.

@rultor
Copy link
Contributor

rultor commented Jan 22, 2024

@rultor release, tag is 0.2.19, title is 0.2.19.

@volodya-lombrozo OK, I will release it now. Please check the progress here

@rultor
Copy link
Contributor

rultor commented Jan 22, 2024

@rultor release, tag is 0.2.19, title is 0.2.19.

@volodya-lombrozo Oops, I failed. You can see the full log here (spent 7min)

    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:827)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:272)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:195)
    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: com.sun.jersey.api.client.ClientHandlerException: A message body reader for Java class com.sonatype.nexus.staging.api.dto.StagingProfileRepositoryDTO, and Java type class com.sonatype.nexus.staging.api.dto.StagingProfileRepositoryDTO, and MIME media type text/html was not found
    at com.sun.jersey.api.client.ClientResponse.getEntity (ClientResponse.java:561)
    at com.sun.jersey.api.client.ClientResponse.getEntity (ClientResponse.java:517)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV3ServiceImpl$1.perform (StagingWorkflowV3ServiceImpl.java:80)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV3ServiceImpl$1.perform (StagingWorkflowV3ServiceImpl.java:68)
    at com.sonatype.nexus.staging.client.internal.ExceptionConverter.runAndReturn (ExceptionConverter.java:38)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV3ServiceImpl.findRepository (StagingWorkflowV3ServiceImpl.java:86)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV3ServiceImpl.monitorRepositoryTransition (StagingWorkflowV3ServiceImpl.java:213)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV2ServiceImpl$7.perform (StagingWorkflowV2ServiceImpl.java:205)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV2ServiceImpl$7.perform (StagingWorkflowV2ServiceImpl.java:200)
    at com.sonatype.nexus.staging.client.internal.ExceptionConverter.runAndReturn (ExceptionConverter.java:38)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV2ServiceImpl.finishStaging (StagingWorkflowV2ServiceImpl.java:209)
    at org.sonatype.nexus.maven.staging.deploy.strategy.AbstractStagingDeployStrategy.afterUpload (AbstractStagingDeployStrategy.java:206)
    at org.sonatype.nexus.maven.staging.deploy.strategy.StagingDeployStrategy.finalizeDeploy (StagingDeployStrategy.java:129)
    at org.sonatype.nexus.maven.staging.deploy.DeployMojo.execute (DeployMojo.java:213)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:342)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:330)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:175)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:76)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:163)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:160)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:827)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:272)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:195)
    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)
[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
\u001b[0m\u001b[0mcontainer 191531b0cb5a943979078ad02de84f5c16eef3f49a0376f44e341d0ec4dfe69b is dead
Mon Jan 22 03:09:21 PM CET 2024

@volodya-lombrozo
Copy link
Member Author

@rultor release, tag is 0.2.19, title is 0.2.19.

@rultor
Copy link
Contributor

rultor commented Jan 22, 2024

@rultor release, tag is 0.2.19, title is 0.2.19.

@volodya-lombrozo OK, I will release it now. Please check the progress here

@rultor
Copy link
Contributor

rultor commented Jan 22, 2024

@rultor release, tag is 0.2.19, title is 0.2.19.

@volodya-lombrozo Oops, I failed. You can see the full log here (spent 7min)

    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:827)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:272)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:195)
    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: com.sun.jersey.api.client.ClientHandlerException: A message body reader for Java class com.sonatype.nexus.staging.api.dto.StagingProfileRepositoryDTO, and Java type class com.sonatype.nexus.staging.api.dto.StagingProfileRepositoryDTO, and MIME media type text/html was not found
    at com.sun.jersey.api.client.ClientResponse.getEntity (ClientResponse.java:561)
    at com.sun.jersey.api.client.ClientResponse.getEntity (ClientResponse.java:517)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV3ServiceImpl$1.perform (StagingWorkflowV3ServiceImpl.java:80)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV3ServiceImpl$1.perform (StagingWorkflowV3ServiceImpl.java:68)
    at com.sonatype.nexus.staging.client.internal.ExceptionConverter.runAndReturn (ExceptionConverter.java:38)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV3ServiceImpl.findRepository (StagingWorkflowV3ServiceImpl.java:86)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV3ServiceImpl.monitorRepositoryTransition (StagingWorkflowV3ServiceImpl.java:213)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV2ServiceImpl$7.perform (StagingWorkflowV2ServiceImpl.java:205)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV2ServiceImpl$7.perform (StagingWorkflowV2ServiceImpl.java:200)
    at com.sonatype.nexus.staging.client.internal.ExceptionConverter.runAndReturn (ExceptionConverter.java:38)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV2ServiceImpl.finishStaging (StagingWorkflowV2ServiceImpl.java:209)
    at org.sonatype.nexus.maven.staging.deploy.strategy.AbstractStagingDeployStrategy.afterUpload (AbstractStagingDeployStrategy.java:206)
    at org.sonatype.nexus.maven.staging.deploy.strategy.StagingDeployStrategy.finalizeDeploy (StagingDeployStrategy.java:129)
    at org.sonatype.nexus.maven.staging.deploy.DeployMojo.execute (DeployMojo.java:213)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:342)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:330)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:175)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:76)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:163)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:160)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:827)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:272)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:195)
    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)
[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
\u001b[0m\u001b[0mcontainer e04c141153f40e518d30b03a59b1d78d93d2abcf05f9c6a65c33909d707c555d is dead
Mon Jan 22 05:08:55 PM CET 2024

@volodya-lombrozo
Copy link
Member Author

@rultor release, tag is 0.2.19, title is 0.2.19.

@rultor
Copy link
Contributor

rultor commented Jan 23, 2024

@rultor release, tag is 0.2.19, title is 0.2.19.

@volodya-lombrozo OK, I will release it now. Please check the progress here

@rultor
Copy link
Contributor

rultor commented Jan 23, 2024

@rultor release, tag is 0.2.19, title is 0.2.19.

@volodya-lombrozo Oops, I failed. You can see the full log here (spent 7min)

    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:827)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:272)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:195)
    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: com.sun.jersey.api.client.ClientHandlerException: A message body reader for Java class com.sonatype.nexus.staging.api.dto.StagingProfileRepositoryDTO, and Java type class com.sonatype.nexus.staging.api.dto.StagingProfileRepositoryDTO, and MIME media type text/html was not found
    at com.sun.jersey.api.client.ClientResponse.getEntity (ClientResponse.java:561)
    at com.sun.jersey.api.client.ClientResponse.getEntity (ClientResponse.java:517)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV3ServiceImpl$1.perform (StagingWorkflowV3ServiceImpl.java:80)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV3ServiceImpl$1.perform (StagingWorkflowV3ServiceImpl.java:68)
    at com.sonatype.nexus.staging.client.internal.ExceptionConverter.runAndReturn (ExceptionConverter.java:38)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV3ServiceImpl.findRepository (StagingWorkflowV3ServiceImpl.java:86)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV3ServiceImpl.monitorRepositoryTransition (StagingWorkflowV3ServiceImpl.java:213)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV2ServiceImpl$7.perform (StagingWorkflowV2ServiceImpl.java:205)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV2ServiceImpl$7.perform (StagingWorkflowV2ServiceImpl.java:200)
    at com.sonatype.nexus.staging.client.internal.ExceptionConverter.runAndReturn (ExceptionConverter.java:38)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV2ServiceImpl.finishStaging (StagingWorkflowV2ServiceImpl.java:209)
    at org.sonatype.nexus.maven.staging.deploy.strategy.AbstractStagingDeployStrategy.afterUpload (AbstractStagingDeployStrategy.java:206)
    at org.sonatype.nexus.maven.staging.deploy.strategy.StagingDeployStrategy.finalizeDeploy (StagingDeployStrategy.java:129)
    at org.sonatype.nexus.maven.staging.deploy.DeployMojo.execute (DeployMojo.java:213)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:342)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:330)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:175)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:76)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:163)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:160)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:827)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:272)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:195)
    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)
[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
\u001b[0m\u001b[0mcontainer 1452c0da90eaa05a56308cf5eab3306874bcc659b372f58f998677e5ecf17d34 is dead
Tue Jan 23 09:10:40 AM CET 2024

@volodya-lombrozo
Copy link
Member Author

@rultor release, tag is 0.2.19, title is 0.2.19.

@rultor
Copy link
Contributor

rultor commented Jan 23, 2024

@rultor release, tag is 0.2.19, title is 0.2.19.

@volodya-lombrozo OK, I will release it now. Please check the progress here

@rultor
Copy link
Contributor

rultor commented Jan 23, 2024

@rultor release, tag is 0.2.19, title is 0.2.19.

@volodya-lombrozo Oops, I failed. You can see the full log here (spent 9min)

    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:272)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:195)
    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: com.sun.jersey.api.client.ClientHandlerException: A message body reader for Java class com.sonatype.nexus.staging.api.dto.StagingProfileRepositoryDTO, and Java type class com.sonatype.nexus.staging.api.dto.StagingProfileRepositoryDTO, and MIME media type text/html was not found
    at com.sun.jersey.api.client.ClientResponse.getEntity (ClientResponse.java:561)
    at com.sun.jersey.api.client.ClientResponse.getEntity (ClientResponse.java:517)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV3ServiceImpl$1.perform (StagingWorkflowV3ServiceImpl.java:80)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV3ServiceImpl$1.perform (StagingWorkflowV3ServiceImpl.java:68)
    at com.sonatype.nexus.staging.client.internal.ExceptionConverter.runAndReturn (ExceptionConverter.java:38)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV3ServiceImpl.findRepository (StagingWorkflowV3ServiceImpl.java:86)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV3ServiceImpl.monitorRepositoryTransition (StagingWorkflowV3ServiceImpl.java:213)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV2ServiceImpl.monitorRepositoryTransition (StagingWorkflowV2ServiceImpl.java:407)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV2ServiceImpl$10.perform (StagingWorkflowV2ServiceImpl.java:281)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV2ServiceImpl$10.perform (StagingWorkflowV2ServiceImpl.java:276)
    at com.sonatype.nexus.staging.client.internal.ExceptionConverter.runAndReturn (ExceptionConverter.java:38)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV2ServiceImpl.releaseStagingRepositories (StagingWorkflowV2ServiceImpl.java:285)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV3ServiceImpl.releaseStagingRepositories (StagingWorkflowV3ServiceImpl.java:91)
    at org.sonatype.nexus.maven.staging.workflow.ReleaseStageRepositoryMojo.doExecute (ReleaseStageRepositoryMojo.java:55)
    at org.sonatype.nexus.maven.staging.workflow.AbstractStagingActionMojo.execute (AbstractStagingActionMojo.java:55)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:342)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:330)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:175)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:76)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:163)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:160)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:827)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:272)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:195)
    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)
[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/PluginExecutionException
\u001b[0m\u001b[0mcontainer cb4c2ea4d2ab534b1a8051d19ab89c2e9ef9997693a94f64fd71ee9b4a10730d is dead
Tue Jan 23 10:12:09 AM CET 2024

@volodya-lombrozo
Copy link
Member Author

@rultor release, tag is 0.2.20, title is 0.2.20.

@rultor
Copy link
Contributor

rultor commented Jan 23, 2024

@rultor release, tag is 0.2.20, title is 0.2.20.

@volodya-lombrozo OK, I will release it now. Please check the progress here

@rultor
Copy link
Contributor

rultor commented Jan 23, 2024

@rultor release, tag is 0.2.20, title is 0.2.20.

@volodya-lombrozo Done! FYI, the full log is here (took me 8min)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants