Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-6539

Some Java PostCommits failing: Coder casting error.

Details

    Description

      Use this form to file an issue for test failure:

      Initial investigation:

      This is happening in beam_PostCommit_Java_PortabilityApi and beam_PostCommit_Java_ValidatesRunner_PortabilityApi_Dataflow that I know of. Tests are failing with the following error:

      java.lang.RuntimeException:
      java.util.concurrent.ExecutionException:
      java.lang.RuntimeException: Error received from SDK harness for instruction -1293:
      org.apache.beam.sdk.util.UserCodeException:
      java.lang.IllegalStateException:
      java.lang.ClassCastException: [B cannot be cast to java.lang.String
          at org.apache.beam.sdk.coders.StringUtf8Coder.encode(StringUtf8Coder.java:37)
          at ...
      

      Based on the timing of when these issues popped up, I suspect the error might be due to https://github.com/apache/beam/pull/7316.

      Attachments

        Issue Links

          Activity

            People

              robertwb Robert Bradshaw
              danoliveira Daniel Oliveira
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 40m
                  1h 40m