maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (Jira)" <j...@apache.org>
Subject [jira] [Commented] (MRESOURCES-267) MojoExecutionException: Input length = 1
Date Thu, 08 Oct 2020 10:26:00 GMT

    [ https://issues.apache.org/jira/browse/MRESOURCES-267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17210128#comment-17210128
] 

Michael Osipov commented on MRESOURCES-267:
-------------------------------------------

I can also reproduce this in single thread mode in OpenJDK 8. Producing debug output.

> MojoExecutionException: Input length = 1
> ----------------------------------------
>
>                 Key: MRESOURCES-267
>                 URL: https://issues.apache.org/jira/browse/MRESOURCES-267
>             Project: Maven Resources Plugin
>          Issue Type: Improvement
>    Affects Versions: 3.2.0
>            Reporter: Andi Huber
>            Priority: Major
>         Attachments: input-len-1-stacktrace.txt
>
>
> We lately tried to migrate from 3.1.0 to 3.2.0, but had to revert, because our build
pipeline fails with an exception:
> {noformat}
> MojoExecutionException: Input length = 1
> {noformat}
> One possibility is, that we have a malformed file within our project, that causes this.
However, it would be great if the maven-resources-plugin, could catch this exception and re-throw,
with additional information, stating which file or resource is causing it.
> Stacktrace is attached.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message