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

GitHub | atomd | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    InstantiationException: Failed to initialise bitmap decoder

    GitHub | 6 months ago | atomd
    java.lang.InstantiationException: java.lang.Class<com.davemorrissey.labs.subscaleview.decoder.SkiaImageRegionDecoder> has no zero argument constructor
  2. 0

    intent service causes the App to crash

    Stack Overflow | 7 months ago | user2121
    java.lang.RuntimeException: Unable to instantiate service com.example.com.intentservice_00.MyIntentService: java.lang.InstantiationException: java.lang.Class<com.example.com.intentservice_00.MyIntentService> has no zero argument constructor
  3. 0

    Obfuscated code

    GitHub | 3 months ago | lujianzhao
    java.lang.InstantiationException: java.lang.Class<com..db.c.a> has no zero argument constructor
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Custom interface not working on Activity

    Stack Overflow | 2 weeks ago | Sariyanti
    java.lang.RuntimeException: Unable to instantiate activity java.lang.InstantiationException: java.lang.Class has no zero argument constructor
  6. 0

    Serializing and deserializing an object that doesn't implement Serializable

    Stack Overflow | 2 years ago | Milo Chen
    org.jboss.serial.exception.SerializationException: Could not create instance of MyObj - MyObj
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.InstantiationException

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

    at java.lang.Class.newInstance()
  2. Java RT
    Class.newInstance
    1. java.lang.Class.newInstance(Native Method)
    1 frame
  3. com.davemorrissey.labs
    SubsamplingScaleImageView$TilesInitTask.doInBackground
    1. com.davemorrissey.labs.subscaleview.decoder.CompatDecoderFactory.make(CompatDecoderFactory.java:18)
    2. com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView$TilesInitTask.doInBackground(SubsamplingScaleImageView.java:1414)
    3. com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView$TilesInitTask.doInBackground(SubsamplingScaleImageView.java:1391)
    3 frames
  4. Android Platform
    AsyncTask$2.call
    1. android.os.AsyncTask$2.call(AsyncTask.java:295)
    1 frame
  5. Java RT
    FutureTask.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
    1 frame
  6. Android Platform
    AsyncTask$SerialExecutor$1.run
    1. android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234)
    1 frame
  7. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    3. java.lang.Thread.run(Thread.java:818)
    3 frames