java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 1900#231133825
    via GitHub by JakeWharton
    ,
  • Android - google direction api using retrofit?
    via Stack Overflow by Fidelis
    ,
  • GitHub comment 1940#235137135
    via GitHub by gushoubang
    ,
  • GitHub comment 1940#235143985
    via GitHub by JakeWharton
    ,
  • Cannot login though Zulip Dev Login
    via GitHub by Sam1301
    ,
    • java.lang.RuntimeException: Unable to start activity ComponentInfo{net.deviac.retrofitsample
    • et.deviac.retrofitsample.RetrofitActivity}: java.lang.IllegalArgumentException: URL query string "q=select%20*%20from%20weather.forecast%20where%20woeid%20in%20(select%20woeid%20from%20geo.places(1)%20where%20text%3D%22({lat},{lon})%22)&format=json&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys" must not have replace block. For dynamic query parameters use @Query. for method YahooWeatherClient.getWeatherData at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2325) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387) at android.app.ActivityThread.access$800(ActivityThread.java:151) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303) at android.os.Handler.dispatchMessage(Handler.java:102) 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) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) Caused by: java.lang.IllegalArgumentException: URL query string "q=select%20*%20from%20weather.forecast%20where%20woeid%20in%20(select%20woeid%20from%20geo.places(1)%20where%20text%3D%22({lat},{lon})%22)&format=json&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys" must not have replace block. For dynamic query parameters use @Query. for method YahooWeatherClient.getWeatherData at retrofit2.ServiceMethod$Builder.methodError(ServiceMethod.java:720) at retrofit2.ServiceMethod$Builder.methodError(ServiceMethod.java:711) at retrofit2.ServiceMethod$Builder.parseHttpMethodAndPath(ServiceMethod.java:297) at retrofit2.ServiceMethod$Builder.parseMethodAnnotation(ServiceMethod.java:242) at retrofit2.ServiceMethod$Builder.build(ServiceMethod.java:170) at retrofit2.Retrofit.loadServiceMethod(Retrofit.java:166) at retrofit2.Retrofit$1.invoke(Retrofit.java:145) at java.lang.reflect.Proxy.invoke(Proxy.java:397) at $Proxy0.getWeatherData(Unknown Source) at net.deviac.retrofitsample.RetrofitActivity.getWeatherData(RetrofitActivity.java:45) at net.deviac.retrofitsample.RetrofitActivity.onCreate(RetrofitActivity.java:30) at android.app.Activity.performCreate(Activity.java:5990) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278) ... 10 more

    Users with the same issue

    Indri Yunita
    3 times, last one,
    filpgame
    2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Diogo Jaym
    2 times, last one,
    4 more bugmates