Comments (5)
Hi Richard,
Can you check whether you see anything in the Dev Tools console?
And can you post your exact Chrome version?
(could not reproduce the error with latest Chrome and Brave)
from sysreptor.
Google Chrome | 114.0.5735.106 (Official Build) (64-bit)
-- | --
Revision | 5148e93c94b4990618801dd6918f26936be770f9-refs/branch-heads/5735_90@{#9}
OS | Linux
JavaScript | V8 11.4.183.19
Console Output:
Raw Console Output
api.js:140 Uncaught (in promise) Error: Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.
at getDocument (api.js:140:1)
at Object.open (app.js:655:1)
at index.js:97:31
getDocument @ api.js:140
open @ app.js:655
(anonymous) @ index.js:97
postMessage (async)
_postMessage @ contentscript.js:1
_write @ contentscript.js:1
_onData @ contentscript.js:1
_onMessage @ contentscript.js:1
postMessage (async)
_postMessage @ inpage.js:1
_write @ inpage.js:1
_handshake @ inpage.js:1
l @ inpage.js:1
(anonymous) @ inpage.js:1
(anonymous) @ inpage.js:1
1.../../shared/modules/provider-injection @ inpage.js:1
i @ inpage.js:1
e @ inpage.js:1
(anonymous) @ inpage.js:1
(anonymous) @ contentscript.js:1
1.../../shared/constants/app @ contentscript.js:1
i @ contentscript.js:1
e @ contentscript.js:1
(anonymous) @ contentscript.js:1
api.js:140 Uncaught (in promise) Error: Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.
at getDocument (api.js:140:1)
at Object.open (app.js:655:1)
at index.js:97:31
getDocument @ api.js:140
open @ app.js:655
(anonymous) @ index.js:97
postMessage (async)
_postMessage @ inpage.js:1
_write @ inpage.js:1
_onData @ inpage.js:1
_onMessage @ inpage.js:1
postMessage (async)
_postMessage @ contentscript.js:1
_write @ contentscript.js:1
_handshake @ contentscript.js:1
l @ contentscript.js:1
(anonymous) @ contentscript.js:1
ie @ contentscript.js:1
1.../../shared/constants/app @ contentscript.js:1
i @ contentscript.js:1
e @ contentscript.js:1
(anonymous) @ contentscript.js:1
2api.js:140 Uncaught (in promise) Error: Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.
at getDocument (api.js:140:1)
at Object.open (app.js:655:1)
at index.js:97:31
getDocument @ api.js:140
open @ app.js:655
(anonymous) @ index.js:97
postMessage (async)
_postMessage @ inpage.js:1
_write @ inpage.js:1
b @ inpage.js:1
_ @ inpage.js:1
v.uncork @ inpage.js:1
_onData @ inpage.js:1
_onMessage @ inpage.js:1
postMessage (async)
_postMessage @ contentscript.js:1
_write @ contentscript.js:1
_onData @ contentscript.js:1
_onMessage @ contentscript.js:1
postMessage (async)
_postMessage @ inpage.js:1
_write @ inpage.js:1
_handshake @ inpage.js:1
l @ inpage.js:1
(anonymous) @ inpage.js:1
(anonymous) @ inpage.js:1
1.../../shared/modules/provider-injection @ inpage.js:1
i @ inpage.js:1
e @ inpage.js:1
(anonymous) @ inpage.js:1
(anonymous) @ contentscript.js:1
1.../../shared/constants/app @ contentscript.js:1
i @ contentscript.js:1
e @ contentscript.js:1
(anonymous) @ contentscript.js:1
3api.js:140 Uncaught (in promise) Error: Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.
at getDocument (api.js:140:1)
at Object.open (app.js:655:1)
at index.js:97:31
from sysreptor.
Can you try to run the rendering process in an incognito tab? Maybe there is some browser caching issue.
If this does not work, can you rebuild your containers by going to deploy
and running docker compose -f docker-compose.yml build --no-cache --pull
and docker compose -f docker-compose.yml up -d
(The output looks quite strange because the line numbers of the js files do not fit to the current or last version of pdfjs.)
from sysreptor.
Strange. It works in incognito. I ran the commands as well to rebuild it.
I will investigate further, seems to be a "my" issue.
from sysreptor.
I suspect that one of your JavaScript files of the old version was cached (but not in incognito mode).
We will have a look if we can resolve this issue on our side (e.g. by setting http headers).
from sysreptor.
Related Issues (20)
- [Feature request] Drag and drop steps HOT 10
- [Feature Request] Screen Offset while editing HOT 1
- Guest user restrictions not working HOT 5
- [BUG] Large enum item list slows down the app considerably HOT 2
- [Feature Request] - New Role "Project Admin"
- Can't modify/save items properly in report preview data HOT 4
- Grey out buttons, menus, actions when user does not have permissions
- [Feature Request] Option to change the colour palette of the severity for a finding. HOT 3
- [repo addition] add offsec templates to git HOT 4
- [feature request] naming assets when pasted HOT 4
- [BUG] switching split-view and render jumps the page HOT 2
- [Feature Request] - Add HTML export option button. HOT 1
- superuser password HOT 1
- [Feature request] OWASP Risk Rating Methodology HOT 1
- docker compose fails with "FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory" HOT 1
- Report Fields Not Saved as Default HOT 8
- [feature request] report name template HOT 1
- [ DOCS ] - Finding Import HOT 2
- [ ENHANCEMENT ] - ZeusCloud Import HOT 2
- macOS: Permission denied: '/data/uploadedassets' HOT 1
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 sysreptor.