GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ClassCastException in ImpersonatedCredentials.createScoped · Issue #887 · googleapis/google-auth-library-java

This repository was archived by the owner on May 12, 2026. It is now read-only.
This repository was archived by the owner on May 12, 2026. It is now read-only.

ClassCastException in ImpersonatedCredentials.createScoped #887

Copy link
Copy link
Closed
Closed
ClassCastException in ImpersonatedCredentials.createScoped#887
Copy link
Assignees
TimurSadykov
Labels
triage meI really want to be triaged.

Description

@spkrka
spkrka
opened on Mar 9, 2022
Issue body actions

Stacktrace:

    Caused by: java.lang.ClassCastException: class com.google.common.collect.SingletonImmutableSet cannot be cast to class java.util.List (com.google.common.collect.Single>
        at com.google.auth.oauth2.ImpersonatedCredentials.createScoped(ImpersonatedCredentials.java:367)
        at com.google.cloud.ServiceOptions.getScopedCredentials(ServiceOptions.java:596)
        at com.google.cloud.http.HttpTransportOptions.getHttpRequestInitializer(HttpTransportOptions.java:145)
        at com.google.cloud.storage.spi.v1.HttpStorageRpc.<init>(HttpStorageRpc.java:111)
        at com.google.cloud.storage.StorageOptions$DefaultStorageRpcFactory.create(StorageOptions.java:55)
        at com.google.cloud.storage.StorageOptions$DefaultStorageRpcFactory.create(StorageOptions.java:49)
        at com.google.cloud.ServiceOptions.getRpc(ServiceOptions.java:560)
        at com.google.cloud.storage.StorageOptions.getStorageRpcV1(StorageOptions.java:121)
        at com.google.cloud.storage.StorageImpl.<init>(StorageImpl.java:111)
        at com.google.cloud.storage.StorageOptions$DefaultStorageFactory.create(StorageOptions.java:45)
        at com.google.cloud.storage.StorageOptions$DefaultStorageFactory.create(StorageOptions.java:39)
        at com.google.cloud.ServiceOptions.getService(ServiceOptions.java:540)

Activity

  1. yoshi-automation
    added
    triage meI really want to be triaged.
    on Mar 10, 2022
  2. TimurSadykov commented on Mar 10, 2022

    @TimurSadykov
    TimurSadykov
    on Mar 10, 2022
    More actions

    this is being addressed by #732, it is ready to checkin.

  3. TimurSadykov
    closed this as completedon Mar 10, 2022
  4. TimurSadykov
    self-assigned this
    on Mar 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @TimurSadykov
    TimurSadykov

Labels

triage meI really want to be triaged.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.