java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mapzen.erasermap/com.mapzen.erasermap.controller.MainActivity}: java.lang.IllegalStateException: crypt.decode(BuildConfig.VECTOR_TILE_API_KEY) must not be null

GitHub | tallytalwar | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 663#231782383

    GitHub | 10 months ago | tallytalwar
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mapzen.erasermap/com.mapzen.erasermap.controller.MainActivity}: java.lang.IllegalStateException: crypt.decode(BuildConfig.VECTOR_TILE_API_KEY) must not be null
  2. 0

    Could not find a method saveData(View)

    Google Groups | 8 months ago | Giuseppe Guarino
    java.lang.IllegalStateException: Could not find a method saveData(View) in the activity class com.example.giuse.secondly.NewSheet for onClick handler on view class android.widget.Button with id 'button_save' at android.view.View$1.onClick(View.java:4007) at android.view.View.performClick(View.java:4780) at android.view.View$PerformClick.run(View.java:19866) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5254) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)

    Root Cause Analysis

    1. java.lang.IllegalStateException

      crypt.decode(BuildConfig.VECTOR_TILE_API_KEY) must not be null

      at com.mapzen.erasermap.model.ApiKeys.configureKeys()
    2. com.mapzen.erasermap
      AndroidModule_ProvideApiKeysFactory.get
      1. com.mapzen.erasermap.model.ApiKeys.configureKeys(ApiKeys.kt:40)
      2. com.mapzen.erasermap.model.ApiKeys.<init>(ApiKeys.kt:27)
      3. com.mapzen.erasermap.model.ApiKeys.<init>(ApiKeys.kt:9)
      4. com.mapzen.erasermap.model.ApiKeys$Companion.sharedInstance(ApiKeys.kt:20)
      5. com.mapzen.erasermap.AndroidModule.provideApiKeys(AndroidModule.java:108)
      6. com.mapzen.erasermap.AndroidModule_ProvideApiKeysFactory.get(AndroidModule_ProvideApiKeysFactory.java:18)
      7. com.mapzen.erasermap.AndroidModule_ProvideApiKeysFactory.get(AndroidModule_ProvideApiKeysFactory.java:7)
      7 frames
    3. Dagger
      ScopedProvider.get
      1. dagger.internal.ScopedProvider.get(ScopedProvider.java:46)
      1 frame
    4. com.mapzen.erasermap
      AndroidModule_ProvideRouteManagerFactory.get
      1. com.mapzen.erasermap.AndroidModule_ProvideRouteManagerFactory.get(AndroidModule_ProvideRouteManagerFactory.java:27)
      2. com.mapzen.erasermap.AndroidModule_ProvideRouteManagerFactory.get(AndroidModule_ProvideRouteManagerFactory.java:10)
      2 frames
    5. Dagger
      ScopedProvider.get
      1. dagger.internal.ScopedProvider.get(ScopedProvider.java:46)
      1 frame
    6. com.mapzen.erasermap
      AndroidModule_ProvideMainPresenterFactory.get
      1. com.mapzen.erasermap.AndroidModule_ProvideMainPresenterFactory.get(AndroidModule_ProvideMainPresenterFactory.java:47)
      2. com.mapzen.erasermap.AndroidModule_ProvideMainPresenterFactory.get(AndroidModule_ProvideMainPresenterFactory.java:15)
      2 frames
    7. Dagger
      ScopedProvider.get
      1. dagger.internal.ScopedProvider.get(ScopedProvider.java:46)
      1 frame
    8. com.mapzen.erasermap
      MainActivity.onCreate
      1. com.mapzen.erasermap.controller.MainActivity_MembersInjector.injectMembers(MainActivity_MembersInjector.java:68)
      2. com.mapzen.erasermap.controller.MainActivity_MembersInjector.injectMembers(MainActivity_MembersInjector.java:19)
      3. com.mapzen.erasermap.DaggerEraserMapApplication_ApplicationComponent.inject(DaggerEraserMapApplication_ApplicationComponent.java:123)
      4. com.mapzen.erasermap.controller.MainActivity.onCreate(MainActivity.kt:154)
      4 frames
    9. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:6221)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2614)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2726)
      5. android.app.ActivityThread.access$900(ActivityThread.java:172)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1421)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:145)
      9. android.app.ActivityThread.main(ActivityThread.java:5835)
      9 frames
    10. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    11. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)
      2 frames