[ 
https://issues.apache.org/jira/browse/BEAM-6545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16755671#comment-16755671
 ] 

Kenneth Knowles commented on BEAM-6545:
---------------------------------------

I examined the output of {{./gradlew dependencyReport}} with grep (it is too 
huge to manage explicitly) and we do have some 1.23.0 versions that are being 
resolved to 1.27.0 because of other overrides. We have no transitive 1.28.0 
dependencies in any Beam module.

> NPE when decoding null base 64 strings
> --------------------------------------
>
>                 Key: BEAM-6545
>                 URL: https://issues.apache.org/jira/browse/BEAM-6545
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-harness
>    Affects Versions: 2.9.0
>            Reporter: Ahmet Altay
>            Assignee: Ahmet Altay
>            Priority: Major
>             Fix For: 2.10.0
>
>
> **ByteArrayShufflePosition.fromBase64 is marked with a @Nullable argument, 
> however it does not properly handle null inputs resulting in NPE.
> This seems like an unintended change we picked up from the dependency: 
> google-http-java-client/ switched from apache commons to guava 
> ([https://github.com/googleapis/google-http-java-client/commit/990c534f0e5103a142b0639c12c90cb990a00cfd#diff-97264fba16d690a26d63fbbc992af937)]
>  
>  
> and decodeBase64 behaves differently in both cases. Former can handle null by 
> returning null, latter will throw NPE.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to