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

git pr create breaks if census has bad entry

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • cli
    • None

      Trying to do git pr create on jdk11u-dev fork results in following message:

      Exception in thread "main" java.io.UncheckedIOException: java.io.IOException: Unexpected role for author in project jmc: 'aciminian'
      at org.openjdk.skara.jcheck/org.openjdk.skara.jcheck.JCheck.checkCommit(JCheck.java:128)
      at org.openjdk.skara.jcheck/org.openjdk.skara.jcheck.iterators.MapIterator.next(MapIterator.java:45)
      at org.openjdk.skara.jcheck/org.openjdk.skara.jcheck.iterators.FlatMapIterator.hasNext(FlatMapIterator.java:46)
      at org.openjdk.skara.jcheck/org.openjdk.skara.jcheck.iterators.ConcatIterator.hasNext(ConcatIterator.java:39)
      at org.openjdk.skara.cli/org.openjdk.skara.cli.GitJCheck.run(GitJCheck.java:221)
      at org.openjdk.skara.cli/org.openjdk.skara.cli.pr.GitPrCreate.main(GitPrCreate.java:298)
      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:63)
      at org.openjdk.skara.cli/org.openjdk.skara.cli.GitPr.main(GitPr.java:111)
      at org.openjdk.skara.cli/org.openjdk.skara.cli.GitSkara.main(GitSkara.java:231)
      Caused by: java.io.IOException: Unexpected role for author in project jmc: 'aciminian'
      at org.openjdk.skara.census/org.openjdk.skara.census.Project.parse(Project.java:216)
      at org.openjdk.skara.census/org.openjdk.skara.census.Census.parseDocument(Census.java:173)
      at org.openjdk.skara.census/org.openjdk.skara.census.Census.parseSingleFile(Census.java:186)
      at org.openjdk.skara.census/org.openjdk.skara.census.Census.parse(Census.java:194)
      at org.openjdk.skara.census/org.openjdk.skara.census.Census.from(Census.java:210)
      at org.openjdk.skara.jcheck/org.openjdk.skara.jcheck.JCheck.checkCommit(JCheck.java:126)
      ... 9 more

            Unassigned Unassigned
            vkempik Vladimir Kempik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: