atom-community / atom-community/atom-ide-datatip

Uncaught TypeError: Illegal invocation

Open
#145 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
33
Forks
8
PR merge metrics
No merged PRs in 30d

Description

### Prerequisites

* [ ] Put an X between the brackets on this line if you have done all of the following:
* Reproduced the problem in Safe Mode:
* Followed all applicable steps in the debugging guide:
* Checked the FAQs on the message board for common solutions:
* Checked that your issue isn't already filed:
* Checked that there is not already an Atom package that provides the described functionality:

### Description

### Steps to Reproduce

1.
2.
3.

**Expected behavior:**

**Actual behavior:**

### Versions

**Atom**: 1.60.0 x64
**Electron**: 9.4.4
**OS**: Ubuntu 22.04
**Thrown From**: [atom-ide-datatip](https://github.com/atom-community/atom-ide-datatip) package 0.25.0

### Stack Trace

Uncaught TypeError: Illegal invocation

```
At /home/fx/.atom/packages/atom-ide-datatip/dist/main.js:1

TypeError: Illegal invocation
at HTMLDocument.Z (/packages/atom-ide-datatip/dist/main.js:1:7942)
```

### Commands

```
-2:15.1.0 intentions:highlight (input.hidden-input)
6x -2:14.9.0 editor:move-to-beginning-of-word (input.hidden-input)
5x -2:13.4.0 editor:move-to-end-of-word (input.hidden-input)
-2:11.3.0 intentions:highlight (input.hidden-input)
-2:09.2.0 editor:move-to-first-character-of-line (input.hidden-input)
-2:08.4.0 editor:move-to-end-of-screen-line (input.hidden-input)
-2:05.6.0 intentions:highlight (input.hidden-input)
-2:05.5.0 core:move-to-top (input.hidden-input)
-2:04.5.0 core:move-to-bottom (input.hidden-input)
-2:02.8.0 intentions:highlight (input.hidden-input)
-2:02.6.0 core:save (input.hidden-input)
-1:35.6.0 intentions:highlight (input.hidden-input)
-1:35 find-and-replace:use-selection-as-replace-pattern (input.hidden-input)
-1:31.2.0 omnisharp-atom:solution-status (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
-0:59.4.0 core:move-left (input.hidden-input)
-0:58.8.0 intentions:show (input.hidden-input)
```

### Non-Core Packages

```
atom-ide-base 3.4.0
atom-ide-code-format 1.0.3
atom-ide-datatip 0.25.0
atom-ide-definitions 0.4.2
atom-ide-hyperclick 1.0.11
atom-ide-markdown-service 2.1.0
atom-ide-outline 3.2.0
atom-ide-signature-help 0.16.0
atom-ide-ui 0.13.0
busy-signal 2.0.1
ide-csharp 0.6.2
ide-rust 1.1.2
intentions 2.1.1
language-rust 0.4.12
linter 3.4.0
linter-ui-default 3.4.1
omnisharp-atom 0.31.2
```

### Additional Information

Contributor guide

Open the contributing guide

Research direction

The stack trace points to dist/main.js:1 in atom-ide-datatip, specifically HTMLDocument.Z; start by reproducing the error with Atom 1.60.0 and package version 0.25.0 on Ubuntu 22.04. Trace the failing invocation and confirm that the uncaught TypeError no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, typescript
Domain
desktop-dev, devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.