org.scribe.exceptions.OAuthException

tip

This happens when you try to instantiate a class that can't be instantiated, either because the class object is abstract, an interface, an array class, a primitive type, void, or because the class has no nullary constructor.

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

  • How to implement Yelp Api inside onPerformSyn
    via by e-reflex Memory,
  • How to implement Yelp Api inside onPerformSync
    via Stack Overflow by eriktx
    ,
  • Crash: no empty constructor
    via GitHub by khk624
    ,
    • org.scribe.exceptions.OAuthException: Error while creating the Api object at org.scribe.builder.ServiceBuilder.createApi(ServiceBuilder.java:59) at org.scribe.builder.ServiceBuilder.provider(ServiceBuilder.java:45) at mem.edu.joshua.sync.SyncAdapter$1Yelp.<init>(SyncAdapter.java:99) at mem.edu.joshua.sync.SyncAdapter.onPerformSync(SyncAdapter.java:116) at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:259) Caused by: java.lang.InstantiationException: can't instantiate class mem.edu.joshua.sync.SyncAdapter$1YelpApi2; no empty constructor at java.lang.Class.newInstanceImpl(Native Method) at java.lang.Class.newInstance(Class.java:1208)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown User
    178 times, last one,
    Andreas Häber
    2 times, last one,
    filpgame
    8 times, last one,
    39 more bugmates