NullPointerException occurred when pdf is shown - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Android development and PDF
  • Page:
  • 1

TOPIC: NullPointerException occurred when pdf is shown

NullPointerException occurred when pdf is shown 2 years 11 months ago #9870

  • kankyou
  • kankyou's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
this exception ocurred, when pdf is shown. why?
    java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.radaee.view.VPage.vFinished()' on a null object reference
            at com.radaee.view.PDFPageView.vIsRenderFinish(PDFPageView.java:494)
            at com.radaee.view.PDFViewPager$1.handleMessage(PDFViewPager.java:32)
            at android.os.Handler.dispatchMessage(Handler.java:102)
            at android.os.Looper.loop(Looper.java:135)
            at android.app.ActivityThread.main(ActivityThread.java:5257)
            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:903)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)

please help me

Please Log in or Create an account to join the conversation.

NullPointerException occurred when pdf is shown 2 years 11 months ago #9871

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 846
  • Karma: 43
  • Thank you received: 12
are u using old codes or jar?
implements here:
    public boolean vIsRenderFinish()
    {
        if(m_vpage == null) return false;
        return m_vpage.vFinished();
    }

Please Log in or Create an account to join the conversation.

NullPointerException occurred when pdf is shown 2 years 11 months ago #9873

  • kankyou
  • kankyou's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
I am using RadaeePDF AndroidStudio 3.5b.
public boolean vIsRenderFinish() {
        return this.m_vpage.vFinished();
    }

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum