Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10963 Reply

    Jacobs

    Hello I am using PlugPdf on android and sometimes the PlugPDF.init method throws this exception:

    : java.lang.NullPointerException: Attempt to invoke virtual method ‘java.util.List com.logdog.Appender.AppenderConfiguration.getAppenderList()’ on a null object reference
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2802)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2867)
    at android.app.ActivityThread.access$900(ActivityThread.java:181)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1476)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:145)
    at android.app.ActivityThread.main(ActivityThread.java:6134)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)
    Caused by: java.lang.NullPointerException: Attempt to invoke virtual method ‘java.util.List com.logdog.Appender.AppenderConfiguration.getAppenderList()’ on a null object reference
    at com.logdog.Log.LogManager.InitLog(LogManager.java:88)
    at com.logdog.Worker.Factory.LogFactory.CreateLogManager(LogFactory.java:48)
    at com.logdog.Worker.Worker.InitLogDogProcess(Worker.java:92)
    at com.epapyrus.plugpdf.core.PlugPDF$LoggingSystem.init(PlugPDF.java:187)
    at com.epapyrus.plugpdf.core.PlugPDF.init(PlugPDF.java:96)

    Any idea how to solve this ?

    #10964 Reply

    Dr. Plug
    Moderator

    Hello, Jacobs

    Thank you for the inquiry. We have a small question.
    Could you let me know your version of PlugPDF SDK? Our newest version of PlugPDF SDK is 2.9.2 and we already fixed that problem.
    I think you used a old version that problem isn’t fixed. so could you download the newest version of PlugPDF SDK?
    This is a download link.
    https://plugpdf.com/thank-you

    Best Regards,
    Dr.Plug

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: PlugPDF.init throws NullPointerException
Your information: