java.lang.RuntimeException

Failed to invoke clarifai2.dto.ClarifaiStatus() with no args


Solutions on the web43689

Solution icon of github
Failed to invoke clarifai2.dto.ClarifaiStatus() with no args

Solution icon of stackoverflow
Failed to invoke clarifai2.dto.ClarifaiStatus() with no args

Solution icon of github
via GitHub by hackable
, 9 months ago
Failed to invoke clarifai2.dto.ClarifaiStatus() with no args

Solution icon of github
Failed to invoke clarifai2.dto.model.output_info.ColorOutputInfo() with no args

Solution icon of github
via GitHub by jotomo
, 9 months ago
Failed to invoke public com.eveningoutpost.dexdrip.Models.BgReading() with no args

Solution icon of github
Failed to invoke public com.squareup.okhttp.ResponseBody() with no args

Solution icon of github
Failed to invoke public com.massivecraft.factions.entity.MConf() with no args

Solution icon of github
Failed to invoke public conx2share.cyan.model.Person() with no args

Solution icon of github
via GitHub by mazeemkalhoro
, 3 months ago
Failed to invoke public com.azeem.declexdemo.TypeModel_() with no args

Solution icon of googlegroups
via Google Groups by Unknown author, 11 months ago
Failed to invoke public scala.collection.immutable.List() with no args

Stack trace

  • java.lang.RuntimeException: Failed to invoke clarifai2.dto.ClarifaiStatus() with no args at com.google.gson.internal.ConstructorConstructor$2.construct(ConstructorConstructor.java:94) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:162) at com.google.gson.Gson.fromJson(Gson.java:795) at com.google.gson.Gson.fromJson(Gson.java:859) at com.google.gson.Gson.fromJson(Gson.java:832) at clarifai2.api.request.ClarifaiRequest$Impl.executeSync(ClarifaiRequest.java:249) at clarifai2.api.request.ClarifaiRequest$Builder.executeSync(ClarifaiRequest.java:170) at com.example.amutgeka.visualclarifia.MainActivity.train(MainActivity.java:120) at com.example.amutgeka.visualclarifia.MainActivity$1$1.run(MainActivity.java:42) at java.lang.Thread.run(Thread.java:761) Caused by: java.lang.InstantiationException: Can't instantiate abstract class clarifai2.dto.ClarifaiStatus at java.lang.reflect.Constructor.newInstance0(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:430)

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

5 times, 5 hours ago
6 times, 7 months ago
2 times, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
3 times, 1 year ago
10 more bugmates