Skip to content
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

replace HashMap with ConcurrentHashMap to avoid ConcurrentModificatio… #883

Merged
merged 2 commits into from
Apr 11, 2022

Commits on Apr 10, 2022

  1. replace HashMap with ConcurrentHashMap to avoid ConcurrentModificatio…

    …nException
    
    avoids this exception:
    ```
    Caused by: java.lang.RuntimeException: java.util.ConcurrentModificationException with message: null
    	at java.util.HashMap$HashIterator.nextNode(HashMap.java:1511)
    	at java.util.HashMap$ValueIterator.next(HashMap.java:1539)
    	at com.google.cloud.storage.contrib.nio.testing.FakeStorageRpc.list(FakeStorageRpc.java:153)
    	at com.google.cloud.storage.StorageImpl.lambda$listBlobs$11(StorageImpl.java:391)
    	at com.google.api.gax.retrying.DirectRetryingExecutor.submit(DirectRetryingExecutor.java:105)
    	at com.google.cloud.RetryHelper.run(RetryHelper.java:76)
    	at com.google.cloud.RetryHelper.runWithRetries(RetryHelper.java:50)
    	at com.google.cloud.storage.Retrying.run(Retrying.java:51)
    ```
    oshai authored Apr 10, 2022
    Configuration menu
    Copy the full SHA
    d4ad799 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2022

  1. Configuration menu
    Copy the full SHA
    2d0951a View commit details
    Browse the repository at this point in the history