java.lang.SecurityException

Can't make method constructor accessible

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web151

  • Can't make method constructor accessible
  • Can't make method constructor accessible
  • via GitHub by ChristopheCVB
    , 1 year ago
    Can't make field constructor accessible
  • Stack trace

    • java.lang.SecurityException: Can't make method constructor accessible at java.lang.reflect.Constructor.setAccessible(Constructor.java:336) at com.google.gson.internal.ConstructorConstructor.newDefaultConstructor(ConstructorConstructor.java:101) at com.google.gson.internal.ConstructorConstructor.get(ConstructorConstructor.java:83) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create(ReflectiveTypeAdapterFactory.java:99)

    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

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago