New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GenericJson.clone() method blows up when trying to clone Google reads #650
Comments
@davidadamsphd is contacting some Google folks who can hopefully shed some light on this error. If all else fails, we can file a new issue against the repository that owns |
This is now also tracked at: |
Is this resolved? |
Yes, in the latest version of the Dataflow SDK. Once we update to it, we're good. |
Was this included in #775? |
@jean-philippe-martin confirms that the fix was included in #775 -- closing this! |
I thought it was, but it turns out I was wrong! Thanks to David Tester for pointing it out. We have to wait for them to release their new version, or use their jar for a bit. |
Mystery now completely solved! It was |
Reopening -- this is still a problem according to @jean-philippe-martin |
According to @jean-philippe-martin, the following workaround is still necessary in
|
The class that's giving us trouble this time is
(see #835 for context) |
I've added a comment in the upstream ticket (googleapis/google-http-java-client#297) suggesting a general fix for this issue using reflection. |
This issue was moved to broadinstitute/gatk-dataflow#38 |
Adding info and changes to cromwell json template.
When we copy a Google read (ie., a
com.google.api.services.genomics.model.Read
), we currently call into theGenericJson.clone()
method, which uses reflection to deep copy the fields. However, this method seems to incorrectly try to instantiate ajava.util.Arrays$ArrayList
instead of ajava.util.ArrayList
, causing it to blow up during BQSR runs (as reported by @jean-philippe-martin):The text was updated successfully, but these errors were encountered: