java.lang.RuntimeException: Unable to start activity ComponentInfo{net.deviac.retrofitsample/net.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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Simon
, 10 months ago
%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
via Stack Overflow by Elad Blau
, 2 years ago
Unable to start activity ComponentInfo{com.example.eladblau.myfamily/com.example.eladblau.myfamily.MainActivity}: java.lang.IllegalArgumentException: Default constructor for class com.a.nj is not accessible.
via GitHub by QichaoChen
, 2 years ago
Unable to start activity ComponentInfo{fr.ganfra.materialspinner.sample/fr.ganfra.materialspinner.sample.MainActivity}: java.lang.IllegalArgumentException: Spinner adapter view type count must be 1
via Stack Overflow by franklin joney
, 1 year ago
Unable to start activity ComponentInfo{info.androidhive.materialtabs/info.androidhive.materialtabs.activity.CustomViewTabsActivity}: java.lang.IllegalArgumentException: ViewPager does not have a PagerAdapter set
via GitHub by bfxzyn
, 1 year ago
Unable to start activity ComponentInfo{com.meiyiyou.simpletodo/com.meiyiyou.simpletodo.MainActivity}: android.database.sqlite.SQLiteException: no such table: Item (code 1): , while compiling: SELECT ALL * FROM Item
via Stack Overflow by Unknown author, 2 years ago
Unable to start activity ComponentInfo{com.flocator/com.flocater.Friendfinderactivity}: android.database.sqlite.SQLiteException: near "fromnull": syntax error (code 1): , while compiling: select * fromnull
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 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)
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)

Users with the same issue

3 times, 6 months ago
2 times, 9 months ago
2 times, 1 year ago
3 times, 1 year ago
6 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.