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


Solutions on the web55773

Solution icon of stackoverflow
%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

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.amgad.hayy/com.amgad.hayy.SearchableActivity}: android.database.sqlite.SQLiteException: no such table: places (code 1): , while compiling: SELECT type, name FROM places WHERE _id=? Error Code : 1

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.example.muhammednasr.note/com.example.muhammednasr.note.First}: android.database.sqlite.SQLiteException: near "fromcontainer": syntax error (code 1): , while compiling: select * fromcontainer

Solution icon of github
via GitHub by ghost
, 1 year ago
Unable to start activity ComponentInfo{me.writeily.pro/me.writeily.pro.NoteActivity}: java.lang.IllegalArgumentException: URI is not absolute: file%3A%2F%2F%2Fstorage%2Femulated%2F0%2FAndroid%2Fdata%2Fme.sheimi.sgit%2Ffiles%2Frepo%2FArticles%2Ftwst.md

Solution icon of github
via GitHub by jkufner
, 11 months ago
Unable to start activity ComponentInfo{me.writeily/me.writeily.NoteActivity}: java.lang.IllegalArgumentException: URI is not absolute: file%3A%2F%2F%2Fstorage%2Femulated%2F0%2Fgit%2Freports%2F2016-10-04.md

Solution icon of stackoverflow
via Stack Overflow by donfuxx
, 3 months ago
Unable to start activity ComponentInfo{com.appham.courseraapp1/com.appham.courseraapp1.MainActivity}: java.util.regex.PatternSyntaxException: Syntax error in regexp pattern near index 6: 03-20 22:43:31.950: E/AndroidRuntime(2799): (?!a){0} 03-20 22:43:31.950: E/AndroidRuntime(2799): ^

Solution icon of github
Unable to start activity ComponentInfo{org.kiwix.kiwixmobile/org.kiwix.kiwixmobile.SearchActivity}: android.database.sqlite.SQLiteException: near "S": syntax error (code 1): , while compiling: select * from recentsearches where zim = '/storage

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.example.djadu.signalminer121/com.example.djadu.signalminer121.ShowMeSQL}: android.database.sqlite.SQLiteException: no such table: cellinfoclass.db (code 1): , while compiling: SELECT _id, cellsignal

Solution icon of github
via GitHub by kelson42
, 1 year ago
Unable to start activity ComponentInfo{org.kiwix.kiwixcustomwikivoyage/org.kiwix.kiwixcustomwikivoyage.SearchActivity}: android.database.sqlite.SQLiteException: no such column: recentSearches.searchString (code 1): , while compiling: SELECT DISTINCT

Solution icon of github
exception with query: q=surfaceForms%3A%22Leipzig%22&sort=disambiguationScore+desc&fl=surfaceForms%2Curi%2Clabel%2Ccomment%2Ctypes%2CdbpediaUri%2CdisambiguationScore&rows=100

Stack trace

  • 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

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

3 times, 2 months ago
2 times, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 1 year ago
4 more bugmates