You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Chris Riccomini (JIRA)" <ji...@apache.org> on 2014/07/30 08:48:39 UTC

[jira] [Updated] (SAMZA-357) Rat task fails

     [ https://issues.apache.org/jira/browse/SAMZA-357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Riccomini updated SAMZA-357:
----------------------------------

    Attachment: SAMZA-357-0.patch

Attaching patch. No RB because it's a one-liner.

Interestingly, this issue only existed for Java 6. Upgrading to Java 8 fixes the problem. Without Java 8, I need the attached patch in order to get the rat plugin to work.

> Rat task fails
> --------------
>
>                 Key: SAMZA-357
>                 URL: https://issues.apache.org/jira/browse/SAMZA-357
>             Project: Samza
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.7.0
>            Reporter: Chris Riccomini
>             Fix For: 0.8.0
>
>         Attachments: SAMZA-357-0.patch
>
>
> When running a build on master from my home laptop, I get:
> {noformat}
> $ ./gradlew build -x test
> To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: http://gradle.org/docs/2.0/userguide/gradle_daemon.html.
> :assemble UP-TO-DATE
> :rat FAILED
> FAILURE: Build failed with an exception.
> * Where:
> Script '/Users/criccomini/Code/incubator-samza/gradle/rat.gradle' line: 54
> * What went wrong:
> Execution failed for task ':rat'.
> > com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 1 of 1-byte UTF-8 sequence.
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
> BUILD FAILED
> Total time: 9.34 secs
> {noformat}
> Turning on --debug and --stacktrace doesn't yield any more useful information.
> The build seems to work fine on my work laptop, though.



--
This message was sent by Atlassian JIRA
(v6.2#6252)