Comments (5)
I cannot check what is wrong If there is no more info from logcat.
from androidpdfviewer.
Hi,
I am only getting this line in error message
*E/com.shockwave.pdfium.PdfiumCore: mContext may be null *
In my case I am displaying the pdf files from local storage in view pager as a page by page display.
Thanks
Vinod
from androidpdfviewer.
I see the same error, and each time it is followed by the following:
08-26 15:34:55.013 com.pcmedical.controller W/System.err: java.lang.NullPointerException
08-26 15:34:55.013 com.pcmedical.controller W/System.err: at com.shockwave.pdfium.PdfiumCore.renderPageBitmap(PdfiumCore.java:216)
08-26 15:34:55.013 com.pcmedical.controller W/System.err: at com.github.barteksc.pdfviewer.RenderingAsyncTask.proceed(RenderingAsyncTask.java:123)
08-26 15:34:55.013 com.pcmedical.controller W/System.err: at com.github.barteksc.pdfviewer.RenderingAsyncTask.doInBackground(RenderingAsyncTask.java:77)
08-26 15:34:55.013 com.pcmedical.controller W/System.err: at com.github.barteksc.pdfviewer.RenderingAsyncTask.doInBackground(RenderingAsyncTask.java:34)
08-26 15:34:55.013 com.pcmedical.controller W/System.err: at android.os.AsyncTask$2.call(AsyncTask.java:264)
08-26 15:34:55.013 com.pcmedical.controller W/System.err: at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
08-26 15:34:55.013 com.pcmedical.controller W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:137)
08-26 15:34:55.013 com.pcmedical.controller W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
08-26 15:34:55.013 com.pcmedical.controller W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
08-26 15:34:55.013 com.pcmedical.controller W/System.err: at java.lang.Thread.run(Thread.java:856)
from androidpdfviewer.
Probably fixed in 2.0.2
from androidpdfviewer.
I am facing same issue now a days.
full logcat :
11-02 22:11:37.289 11531-12414/com.alhikmah.muslimbiye E/com.shockwave.pdfium.PdfiumCore: mContext may be null 11-02 22:11:37.289 11531-12414/com.alhikmah.muslimbiye W/System.err: java.lang.NullPointerException 11-02 22:11:37.289 11531-12414/com.alhikmah.muslimbiye W/System.err: at com.shockwave.pdfium.PdfiumCore.renderPageBitmap(PdfiumCore.java:216) 11-02 22:11:37.289 11531-12414/com.alhikmah.muslimbiye W/System.err: at com.github.barteksc.pdfviewer.RenderingAsyncTask.proceed(RenderingAsyncTask.java:123) 11-02 22:11:37.289 11531-12414/com.alhikmah.muslimbiye W/System.err: at com.github.barteksc.pdfviewer.RenderingAsyncTask.doInBackground(RenderingAsyncTask.java:77) 11-02 22:11:37.289 11531-12414/com.alhikmah.muslimbiye W/System.err: at com.github.barteksc.pdfviewer.RenderingAsyncTask.doInBackground(RenderingAsyncTask.java:34) 11-02 22:11:37.289 11531-12414/com.alhikmah.muslimbiye W/System.err: at android.os.AsyncTask$2.call(AsyncTask.java:287) 11-02 22:11:37.294 11531-12414/com.alhikmah.muslimbiye W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:234) 11-02 22:11:37.294 11531-12414/com.alhikmah.muslimbiye W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080) 11-02 22:11:37.294 11531-12414/com.alhikmah.muslimbiye W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573) 11-02 22:11:37.294 11531-12414/com.alhikmah.muslimbiye W/System.err: at java.lang.Thread.run(Thread.java:841) 11-02 22:11:37.294 11531-12414/com.alhikmah.muslimbiye A/libc: Fatal signal 11 (SIGSEGV) at 0x03040264 (code=1), thread 12414 (AsyncTask #3)
from androidpdfviewer.
Related Issues (20)
- What is the freetype and littlecms version you are using? HOT 1
- Is not working for jbr 17 HOT 1
- Password protected PDFs not working HOT 1
- VivoY72.gitignore
- 无法显示pdf中的签名信息 HOT 1
- Blank space before PDF HOT 1
- autoScrolly
- AndroidPdfViewer with Supporting Android API >=21 HOT 1
- Duplicate conflict 'lib/arm64-v8a/libc++_shared.so' with OpenCV lib
- .
- PDF page half portion shown blur on many pdfs.
- Unable to go till end of page if autoSpacing set to true
- Cant' compile after adding library Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
- Future of the project HOT 15
- Primer proyecto
- 使用PdfViewer加载本地Pdf文件预览时,pdf文件中的内容会出现拉伸 HOT 2
- ❗Repo not found or no token provided HOT 2
- facing issue in going to specific page in search in pdf in kotline andriod studio
- UnsatisfiedLinkError with PDFium on Android 15 Emulator with 16 KB Page Size
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from androidpdfviewer.