java.lang.NullPointerException: Attempt to invoke virtual method 'com.github.barteksc.pdfviewer.PDFView$Configurator com.github.barteksc.pdfviewer.PDFView.fromFile(java.io.File)' on a null object reference at com.appstrader.metro.the_engineer.ViewPDF$PlaceholderFragment$1$override.run(ViewPDF.java:384)

GitHub | 1stmetro | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    PDF File exists but PDFView says it doesnt crashes at random file missing.

    GitHub | 6 months ago | 1stmetro
    java.lang.NullPointerException: Attempt to invoke virtual method 'com.github.barteksc.pdfviewer.PDFView$Configurator com.github.barteksc.pdfviewer.PDFView.fromFile(java.io.File)' on a null object reference at com.appstrader.metro.the_engineer.ViewPDF$PlaceholderFragment$1$override.run(ViewPDF.java:384)

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'com.github.barteksc.pdfviewer.PDFView$Configurator com.github.barteksc.pdfviewer.PDFView.fromFile(java.io.File)' on a null object reference at com.appstrader.metro.the_engineer.ViewPDF$PlaceholderFragment$1$override.run(ViewPDF.java:384)

      at com.appstrader.metro.the_engineer.ViewPDF$PlaceholderFragment$1$override.access$dispatch()
    2. com.appstrader.metro
      ViewPDF$PlaceholderFragment$1.run
      1. com.appstrader.metro.the_engineer.ViewPDF$PlaceholderFragment$1$override.access$dispatch(ViewPDF.java)
      2. com.appstrader.metro.the_engineer.ViewPDF$PlaceholderFragment$1.run(ViewPDF.java:0)
      2 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:818)
      1 frame