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

Uncaught TypeError: Cannot read property 'url' of null #214

Open
chubby1968 opened this issue Jul 9, 2018 · 0 comments
Open

Uncaught TypeError: Cannot read property 'url' of null #214

chubby1968 opened this issue Jul 9, 2018 · 0 comments

Comments

@chubby1968
Copy link

chubby1968 commented Jul 9, 2018

Steps to reproduce:

  1. Build pdf using LaTeX-package with SyncTex
  2. Wait a while

Notes:

  • This causes the pdf-viewer to no longer update on new builds.
  • The project folder is located in a onedrive business directory.

Atom: 1.28.1 x64
Electron: 2.0.4
OS: Microsoft Windows 10 Enterprise
Thrown From: pdf-view package 0.70.0

Stack Trace

Uncaught TypeError: Cannot read property 'url' of null

At C:\Users\user\.atom\packages\pdf-view\node_modules\pdfjs-dist\build\pdf.js:2217

TypeError: Cannot read property 'url' of null
    at Object.getDocument (/packages/pdf-view/node_modules/pdfjs-dist/build/pdf.js:2217:14)
    at PdfEditorView.updatePdf (/packages/pdf-view/lib/pdf-editor-view.js:483:11)
    at needsUpdateCallback (/packages/pdf-view/lib/pdf-editor-view.js:59:14)
    at /packages/pdf-view/lib/pdf-editor-view.js:72:9
    at Function.module.exports.Emitter.simpleDispatch (~/AppData/Local/atom/app-1.28.1/resources/app/node_modules/event-kit/lib/emitter.js:27:20)
    at Emitter.module.exports.Emitter.emit (~/AppData/Local/atom/app-1.28.1/resources/app/node_modules/event-kit/lib/emitter.js:156:34)
    at File.module.exports.File.handleNativeChangeEvent (~/AppData/Local/atom/app-1.28.1/resources/app/node_modules/pathwatcher/lib/file.js:441:37)
    at PathWatcher.<anonymous> (~/AppData/Local/atom/app-1.28.1/resources/app/node_modules/pathwatcher/lib/file.js:475:54)
    at PathWatcher.onChange (~/AppData/Local/atom/app-1.28.1/resources/app/node_modules/pathwatcher/lib/main.js:162:32)
    at ~/AppData/Local/atom/app-1.28.1/resources/app/node_modules/pathwatcher/lib/main.js:200:36
    at Function.module.exports.Emitter.simpleDispatch (~/AppData/Local/atom/app-1.28.1/resources/app/node_modules/event-kit/lib/emitter.js:27:20)
    at Emitter.module.exports.Emitter.emit (~/AppData/Local/atom/app-1.28.1/resources/app/node_modules/event-kit/lib/emitter.js:156:34)
    at HandleWatcher.onEvent (~/AppData/Local/atom/app-1.28.1/resources/app/node_modules/pathwatcher/lib/main.js:81:37)
    at ~/AppData/Local/atom/app-1.28.1/resources/app/node_modules/pathwatcher/lib/main.js:238:51

Commands

     -1:15.4.0 intentions:highlight (input.hidden-input)
 10x -1:14.9.0 core:move-right (input.hidden-input)
  2x -1:13 intentions:highlight (input.hidden-input)
     -1:10.4.0 core:save (input.hidden-input)
  2x -1:09.2.0 intentions:highlight (input.hidden-input)
     -1:08.6.0 latex:build (input.hidden-input)
     -0:58.5.0 intentions:highlight (input.hidden-input)
     -0:58.2.0 core:copy (input.hidden-input)
     -0:57.4.0 intentions:highlight (input.hidden-input)
     -0:57.3.0 core:paste (input.hidden-input)
     -0:38.7.0 intentions:highlight (input.hidden-input)
     -0:38.6.0 core:save (input.hidden-input)
     -0:38.3.0 intentions:highlight (input.hidden-input)
     -0:38 latex:build (input.hidden-input)
     -0:28.7.0 intentions:highlight (input.hidden-input)
     -0:28.4.0 latex:build (input.hidden-input)

Non-Core Packages

busy-signal 1.4.3 
intentions 1.1.5 
language-latex 1.1.1 
latex 0.50.0 
linter 2.2.0 
linter-spell 0.15.0 
linter-spell-latex 0.11.0 
linter-ui-default 1.7.1 
pdf-view 0.70.0 
remote-sync 4.1.8 
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

No branches or pull requests

1 participant