Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature(plugin): Document Viewer #1520

Merged
merged 9 commits into from
May 9, 2017
Merged

feature(plugin): Document Viewer #1520

merged 9 commits into from
May 9, 2017

Conversation

danielsogl
Copy link
Owner

Not ready yet

fix #1029

@ihadeed ihadeed merged commit 6855fe8 into danielsogl:master May 9, 2017
@danielsogl danielsogl deleted the document-viewer branch May 14, 2017 14:15
@GunaSekhar1
Copy link

Hi Daniel,

I am getting following error, when I try to open a PDF using document view plugin

plugins/cordova-plugin-document-viewer/www/sitewaertsdocumentviewer.js:344 Error in SitewaertsDocumentViewer.viewDocument():

"java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.io.File.exists()' on a null object reference
at de.sitewaerts.cordova.documentviewer.DocumentViewerPlugin.canGetFile(DocumentViewerPlugin.java:679)
at de.sitewaerts.cordova.documentviewer.DocumentViewerPlugin.doExecute(DocumentViewerPlugin.java:352)
at de.sitewaerts.cordova.documentviewer.DocumentViewerPlugin.access$000(DocumentViewerPlugin.java:49)
at de.sitewaerts.cordova.documentviewer.DocumentViewerPlugin$1.run(DocumentViewerPlugin.java:185)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Plugin Request: Document Viewer (for PDF viewing)
3 participants