java.lang.IllegalArgumentException: No Retrofit annotation found. (parameter #1) for method VideoApi.getFeaturedVideo

Stack Overflow | rost_proz | 1 year 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. 1

    Error when using Retrofit

    Stack Overflow | 1 year ago | rost_proz
    java.lang.IllegalArgumentException: No Retrofit annotation found. (parameter #1) for method VideoApi.getFeaturedVideo
  2. 0

    GitHub comment 1900#231133825

    GitHub | 10 months ago | JakeWharton
    java.lang.IllegalArgumentException: Unable to create call adapter for interface retrofit2.Call for method ......
  3. 0

    Android - google direction api using retrofit?

    Stack Overflow | 8 months ago | Fidelis
    java.lang.IllegalArgumentException: Service methods cannot return void. for method MyApiRequestInterface.getJson
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Allow colons (":") in path parameters

    GitHub | 9 months ago | jianghaolu
    java.lang.IllegalArgumentException: @Path parameter name must match \{([a-zA-Z][a-zA-Z0-9_-]*)\}. Found: arrayPath:commaSeparated (parameter #1) for method PathsService.arrayCsvInPath
  6. 0

    GitHub comment 1940#235137135

    GitHub | 9 months ago | gushoubang
    java.lang.IllegalArgumentException: Only one HTTP method is allowed. Found: DELETE and DELETE. for method ApiService.deleteMessage
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    No Retrofit annotation found. (parameter #1) for method VideoApi.getFeaturedVideo

    at retrofit2.ServiceMethod$Builder.methodError()
  2. retrofit2
    Retrofit$1.invoke
    1. retrofit2.ServiceMethod$Builder.methodError(ServiceMethod.java:695)
    2. retrofit2.ServiceMethod$Builder.methodError(ServiceMethod.java:686)
    3. retrofit2.ServiceMethod$Builder.parameterError(ServiceMethod.java:704)
    4. retrofit2.ServiceMethod$Builder.parseParameter(ServiceMethod.java:343)
    5. retrofit2.ServiceMethod$Builder.build(ServiceMethod.java:201)
    6. retrofit2.Retrofit.loadServiceMethod(Retrofit.java:166)
    7. retrofit2.Retrofit$1.invoke(Retrofit.java:145)
    7 frames
  3. Unknown
    $Proxy1.getFeaturedVideo
    1. $Proxy1.getFeaturedVideo(Native Method)
    1 frame
  4. com.example.vid_me_app
    FeaturedFragment.onActivityCreated
    1. com.example.vid_me_app.FeaturedFragment.getVideos(FeaturedFragment.java:60)
    2. com.example.vid_me_app.FeaturedFragment.onActivityCreated(FeaturedFragment.java:47)
    2 frames
  5. Android Support v4
    ViewPager.onMeasure
    1. android.support.v4.app.Fragment.performActivityCreated(Fragment.java:1983)
    2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1092)
    3. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1252)
    4. android.support.v4.app.BackStackRecord.run(BackStackRecord.java:742)
    5. android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1617)
    6. android.support.v4.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:570)
    7. android.support.v4.app.FragmentPagerAdapter.finishUpdate(FragmentPagerAdapter.java:141)
    8. android.support.v4.view.ViewPager.populate(ViewPager.java:1177)
    9. android.support.v4.view.ViewPager.populate(ViewPager.java:1025)
    10. android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1545)
    10 frames
  6. Android Platform
    ViewGroup.measureChildWithMargins
    1. android.view.View.measure(View.java:15696)
    2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4851)
    2 frames
  7. android.support.design
    CoordinatorLayout.onMeasure
    1. android.support.design.widget.CoordinatorLayout.onMeasureChild(CoordinatorLayout.java:668)
    2. android.support.design.widget.CoordinatorLayout.onMeasure(CoordinatorLayout.java:735)
    2 frames
  8. Android Platform
    FrameLayout.onMeasure
    1. android.view.View.measure(View.java:15696)
    2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4851)
    3. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    3 frames
  9. Android v7
    ContentFrameLayout.onMeasure
    1. android.support.v7.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:135)
    1 frame
  10. Android Platform
    FrameLayout.onMeasure
    1. android.view.View.measure(View.java:15696)
    2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4851)
    3. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404)
    4. android.widget.LinearLayout.measureVertical(LinearLayout.java:695)
    5. android.widget.LinearLayout.onMeasure(LinearLayout.java:588)
    6. android.view.View.measure(View.java:15696)
    7. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4851)
    8. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    9. android.view.View.measure(View.java:15696)
    10. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4851)
    11. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404)
    12. android.widget.LinearLayout.measureVertical(LinearLayout.java:695)
    13. android.widget.LinearLayout.onMeasure(LinearLayout.java:588)
    14. android.view.View.measure(View.java:15696)
    15. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4851)
    16. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    16 frames
  11. Android
    PhoneWindow$DecorView.onMeasure
    1. com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2261)
    1 frame
  12. Android Platform
    Choreographer$FrameDisplayEventReceiver.run
    1. android.view.View.measure(View.java:15696)
    2. android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2225)
    3. android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1290)
    4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1527)
    5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1190)
    6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4860)
    7. android.view.Choreographer$CallbackRecord.run(Choreographer.java:766)
    8. android.view.Choreographer.doCallbacks(Choreographer.java:575)
    9. android.view.Choreographer.doFrame(Choreographer.java:542)
    10. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:751)
    10 frames