yegor256 / tojos

Text Object Java Objects (TOJOs): an object representation of a multi-line structured text file like CSV, YAML, or JSON
MIT License
20 stars 9 forks source link

ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 2 #89

Closed yegor256 closed 1 month ago

yegor256 commented 1 month ago
Exception in thread "Thread-2" java.lang.ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 2
    at com.yegor256.tojos.MnCsv.write(MnCsv.java:153)
    at com.yegor256.tojos.MnPostponed.lambda$start$0(MnPostponed.java:138)
    at java.base/java.lang.Thread.run(Thread.java:1623)
yegor256 commented 1 month ago

@rultor release, tag is 0.18.2

rultor commented 1 month ago

@rultor release, tag is 0.18.2

@yegor256 OK, I will release it now. Please check the progress here.

rultor commented 1 month ago

@rultor release, tag is 0.18.2

@yegor256 Oops, I failed. You can see the full log here (spent 5min).

    at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal (AbstractReflectionConverter.java:90)
    at com.thoughtworks.xstream.core.TreeMarshaller.convert (TreeMarshaller.java:71)
    at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother (TreeMarshaller.java:59)
    at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother (TreeMarshaller.java:44)
    at com.thoughtworks.xstream.core.TreeMarshaller.start (TreeMarshaller.java:83)
    at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal (AbstractTreeMarshallingStrategy.java:37)
    at com.thoughtworks.xstream.XStream.marshal (XStream.java:1266)
    at com.thoughtworks.xstream.XStream.marshal (XStream.java:1255)
    at org.sonatype.nexus.client.internal.rest.XStreamXmlProvider.getSize (XStreamXmlProvider.java:103)
    at com.sun.jersey.api.client.RequestWriter$RequestEntityWriterImpl.<init> (RequestWriter.java:202)
    at com.sun.jersey.api.client.RequestWriter.getRequestEntityWriter (RequestWriter.java:248)
    at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.getHttpEntity (ApacheHttpClient4Handler.java:241)
    at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.getUriHttpRequest (ApacheHttpClient4Handler.java:197)
    at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle (ApacheHttpClient4Handler.java:153)
    at org.sonatype.sisu.siesta.client.filters.RequestFilters.handle (RequestFilters.java:48)
    at com.sun.jersey.api.client.Client.handle (Client.java:648)
    at com.sun.jersey.api.client.WebResource.voidHandle (WebResource.java:704)
    at com.sun.jersey.api.client.WebResource.access$400 (WebResource.java:74)
    at com.sun.jersey.api.client.WebResource$Builder.post (WebResource.java:553)
    at com.sonatype.nexus.staging.client.internal.StagingWorkflowV2ServiceImpl$10.perform (StagingWorkflowV2ServiceImpl.java:279)
    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:328)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    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:906)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:569)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:283)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)
[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 b8e9ee7ed5f8cc3d17efda1310cf3387ae528af8e362fabd8406dbd43925f407 is dead
Wed Oct 30 04:58:14 UTC 2024
yegor256 commented 1 month ago

@rultor release, tag is 0.18.2

rultor commented 1 month ago

@rultor release, tag is 0.18.2

@yegor256 OK, I will release it now. Please check the progress here.

rultor commented 1 month ago

@rultor release, tag is 0.18.2

@yegor256 Done! FYI, the full log is here (took me 5min).