jn-npp-plugin icon indicating copy to clipboard operation
jn-npp-plugin copied to clipboard

TypeError, 'styleSheet' is null or not an object, number=-2146823281

Open iG8R opened this issue 2 years ago • 2 comments

Describe the bug Hi. I encountered the following errors when trying to open some dialog windows of jN plugin's menus.

name=TypeError
message='styleSheet' is null or not an object
number=-2146823281
description='styleSheet' is null or not an object
'null' is null or not an object
line: 182, pos: 4

To Reproduce Steps to reproduce the behavior:

  1. Try to open "Settings" from the "Smart Highlighter", "JSHint" and "CSS Lint" menus.
  2. See the above-mentioned errors.

Expected behavior There has to appear the "Settings" window instead of errors.

Environment

  • OS: Microsoft Windows [Version 10.0.19045.2673] 64bit
  • Notepad++ Version: 8.6 64bit portable
  • jN Version: jN_2.2.185.9_x64

Screenshots

NotepadPP-jN-TypeError-Video_2023-12-06_03-56-49.webm

iG8R avatar Dec 06 '23 02:12 iG8R

I assume it is a compatibility issue related to Internet Explorer present on your PC, which is used for dialogs. I will take a look in it, but cannot promise fast solution, because I could not reproduce on my PC. https://learn.microsoft.com/de-de/previous-versions/windows/internet-explorer/ie-developer/platform-apis/jj160786(v=vs.85)

sieukrem avatar Dec 08 '23 20:12 sieukrem

Thanks a lot! I'll be waiting for good news.

PS. Just in case - Edge Version 120.0.2210.61 (Official build) (64-bit)

iG8R avatar Dec 08 '23 20:12 iG8R