question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot set property 'setHash' of null

See original GitHub issue

Hi I am Pavel Panov. I have tried to use <ngx-extended-pdf-viewer>. But I have got this error. image My code is like this.

        <ngx-extended-pdf-viewer 
            *ngIf="base64src"
            [base64Src]="base64src"
            height="500px"
            delayFirstView="1000"
            [useBrowserLocale]="false"
            [zoom]="'auto'"
            [language]="currentLang"
            [showSidebarButton]="false"
            [showOpenFileButton]="false"
            [showPrintButton]="false"
            [filenameForDownload]="fileName">
        </ngx-extended-pdf-viewer>

When I change ‘useBrowserLocale’ property to “True”, there is no error like this [useBrowserLocale]=“true” In this case, I can’t change the language for pdf viewer. How to fix this problem? Thanks.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
szymonlackicommented, Jun 10, 2019

Hello. Sorry for silence. I will tell you is it works tomorrow on my job where i Will check it

pon., 10 cze 2019, 23:16 użytkownik Stephan Rauh notifications@github.com napisał:

@vishnu-dev https://github.com/vishnu-dev, @szymonlacki https://github.com/szymonlacki, @master0615 https://github.com/master0615 Does this solve your issue? Please give me a short “thumbs up” so I can close the issue. Or continue the investigation if it’s a “thumbs down”.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/stephanrauh/ngx-extended-pdf-viewer/issues/87?email_source=notifications&email_token=AI62RX63IC3NNSA4XU7S63LPZ3ABJA5CNFSM4HWI57LKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXLIJMQ#issuecomment-500597938, or mute the thread https://github.com/notifications/unsubscribe-auth/AI62RX3JNLH3SQ6GSNPNWS3PZ3ABJANCNFSM4HWI57LA .

0reactions
stephanrauhcommented, Jun 11, 2019

@szymonlacki Off-topic: You’ve published your private e-mail address with the latest answer. Assuming that you didn’t want to do that, I’ve removed it from the text in order to protect your privacy. Of course I can restore the original message again if you prefer that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeError: Cannot set property 'setHash' of null - Stack Overflow
1 Answer 1 ... Adding useBrowserLocale="true" in HTML properties solved the issue. Share. Share a link to this answer.
Read more >
Cannot read property 'setHash' of undefined | SAP Community
Hi All , I am getting the below error when I am navigating from one view to other based on some event -...
Read more >
HashSet<T> Class (System.Collections.Generic)
Returns the elements of the specified sequence or the specified value in a singleton collection if the sequence is empty. Distinct<TSource>(IEnumerable<TSource>).
Read more >
HashSet in std::collections - Rust
Creates an empty HashSet with at least the specified capacity. The hash set will be able to hold at least capacity elements without...
Read more >
Set-property with null-value is not set to null, when mapping ...
Set -property with null-value is not set to null, when mapping bean to new object. The generated code is: if ( set !=...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found