java.lang.IllegalStateException: Must provide either API key or Maps for Work credentials.

GitHub | pisuth | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Is this a known issue? Must provide either API key or Maps for Work credentials.

    GitHub | 7 months ago | pisuth
    java.lang.IllegalStateException: Must provide either API key or Maps for Work credentials.
  2. 0

    NearbySearchRequest followed by PlaceDetailsRequest

    GitHub | 10 months ago | xavierxc14
    java.lang.IllegalStateException: 'await', 'awaitIgnoreError' or 'setCallback' was already called.
  3. 0

    Exception using google-maps-services-java on await

    Stack Overflow | 10 months ago | Xavier Ñauñay
    java.lang.IllegalStateException: 'await', 'awaitIgnoreError' or 'setCallback' was already called.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. smyrgeorge 1 times, last 6 months ago

Root Cause Analysis

  1. java.lang.IllegalStateException

    Must provide either API key or Maps for Work credentials.

    at com.google.maps.GeoApiContext.checkContext()
  2. com.google.maps
    PendingResultBase.await
    1. com.google.maps.GeoApiContext.checkContext(GeoApiContext.java:175)
    2. com.google.maps.GeoApiContext.getWithPath(GeoApiContext.java:144)
    3. com.google.maps.GeoApiContext.get(GeoApiContext.java:104)
    4. com.google.maps.PendingResultBase.makeRequest(PendingResultBase.java:78)
    5. com.google.maps.PendingResultBase.await(PendingResultBase.java:55)
    5 frames
  3. dekk.pw.pokemate
    PokeMate.<init>
    1. dekk.pw.pokemate.tasks.Navigate.queryDirections(Navigate.java:135)
    2. dekk.pw.pokemate.tasks.Navigate.populateDirections(Navigate.java:157)
    3. dekk.pw.pokemate.tasks.Navigate.<init>(Navigate.java:42)
    4. dekk.pw.pokemate.tasks.TaskController.<init>(TaskController.java:21)
    5. dekk.pw.pokemate.PokeMate.<init>(PokeMate.java:73)
    5 frames