Uploaded image for project: 'Skara'
  1. Skara
  2. SKARA-296

git webrev fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9
    • Component/s: cli
    • Labels:
      None

      Description

      command fails with
      lmesnik@lmesnik-linux:~/ws/loom/open$ git webrev
      Exception in thread "main" java.nio.charset.MalformedInputException: Input length = 1
      at java.base/java.nio.charset.CoderResult.throwException(CoderResult.java:274)
      at java.base/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:352)
      at java.base/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:188)
      at java.base/java.io.InputStreamReader.read(InputStreamReader.java:185)
      at java.base/java.io.BufferedReader.fill(BufferedReader.java:161)
      at java.base/java.io.BufferedReader.readLine(BufferedReader.java:326)
      at java.base/java.io.BufferedReader.readLine(BufferedReader.java:392)
      at java.base/java.nio.file.Files.readAllLines(Files.java:3396)
      at java.base/java.nio.file.Files.readAllLines(Files.java:3433)
      at org.openjdk.skara.webrev/org.openjdk.skara.webrev.ModifiedFileView.<init>(ModifiedFileView.java:67)
      at org.openjdk.skara.webrev/org.openjdk.skara.webrev.Webrev$Builder.generate(Webrev.java:199)
      at org.openjdk.skara.webrev/org.openjdk.skara.webrev.Webrev$Builder.generate(Webrev.java:125)
      at org.openjdk.skara.cli/org.openjdk.skara.cli.GitWebrev.generate(GitWebrev.java:296)
      at org.openjdk.skara.args/org.openjdk.skara.args.Command.main(Command.java:54)
      at org.openjdk.skara.args/org.openjdk.skara.args.MultiCommandParser.lambda$parse$2(MultiCommandParser.java:64)
      at org.openjdk.skara.cli/org.openjdk.skara.cli.GitWebrev.main(GitWebrev.java:348)
      at org.openjdk.skara.cli/org.openjdk.skara.cli.GitSkara.main(GitSkara.java:127)
      at com.oracle.skara.cli/com.oracle.skara.cli.GitSkara.main(GitSkara.java:45)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ehelin Erik Helin
              Reporter:
              lmesnik Leonid Mesnik
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: