java.lang.InstantiationException: java.lang.Class<com.davemorrissey.labs.subscaleview.decoder.SkiaImageRegionDecoder> has no zero argument constructor

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

Samebug tips

,
Expert 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.

Solutions on the web

via GitHub by atomd
, 1 year ago
java.lang.Class<com.davemorrissey.labs.subscaleview.decoder.SkiaImageRegionDecoder> has no zero argument constructor
via GitHub by KingWu
, 2 years ago
class com.votee.core.util.zoom.PicassoRegionDecoder has no zero argument constructor
via GitHub by rmunk
, 11 months ago
class com.davemorrissey.labs.subscaleview.decoder.SkiaImageDecoder has no zero argument constructor
via GitHub by lujianzhao
, 11 months ago
java.lang.Class<com..db.c.a> has no zero argument constructor
via GitHub by jskierbi
, 3 months ago
java.lang.Class<LineUpData> has no zero argument constructor
via GitHub by koral--
, 1 year ago
class a.a.b has no zero argument constructor
java.lang.InstantiationException: java.lang.Class<com.davemorrissey.labs.subscaleview.decoder.SkiaImageRegionDecoder> has no zero argument constructor
at java.lang.Class.newInstance(Native Method)
at com.davemorrissey.labs.subscaleview.decoder.CompatDecoderFactory.make(CompatDecoderFactory.java:18)
at com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView$TilesInitTask.doInBackground(SubsamplingScaleImageView.java:1414)
at com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView$TilesInitTask.doInBackground(SubsamplingScaleImageView.java:1391)
at android.os.AsyncTask$2.call(AsyncTask.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)

Users with the same issue

178 times, 6 months ago
2 times, 7 months ago
8 times, 9 months ago
70 times, 1 year ago
2 times, 1 year ago

Write tip

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