Uncaught TypeError: Cannot read property 'offsetHeight' of undefined #830
Comments
Hi @capriel, what were you doing when this error occurred? |
I had this error this morning. Any solution? |
@bnanchen It would help if you could answer my questions above. |
@50Wliu the error occurred when I opened a C++ project in atom. |
I ran into this issue, outside of safe mode, when changing |
[Enter steps to reproduce:] I am not able to reproduce this error. What I did was:
Atom: 1.17.0-beta4 x64 Stack TraceUncaught TypeError: Cannot read property 'offsetHeight' of undefined
Commands
Non-Core Packages
|
[Enter steps to reproduce:] I couldn't cause this error again. Atom: 1.17.0 x64 Stack TraceUncaught TypeError: Cannot read property 'offsetHeight' of undefined
Commands
Non-Core Packages
|
This error just appeared here in my PHP source file when I entered "if (" (closing bracket was automatically added by Atom). I can't reproduce, though. I removed the line and when I try to repeat the error does not pop up again. On the developer console I see that error as being located in |
I also got this error. I was changing the name of a Python class (closed source so can't release). Essentially, the class was already defined like this: class SomeController(ControllerBase):
def __ini__(self): # ... I had my cursor at the start of SomeController then (with vim-mode) I pressed 'cw' to Change Word, which deleted the SomeController portion with my cursor at the position of the carrot here: Before: class ^SomeController(ControllerBase):
def __ini__(self): # ... Type 'cw' (vim mode): class ^(ControllerBase):
def __ini__(self): # ... I started to type the new class name: class Anot^(ControllerBase):
def __ini__(self): # ... And received this error after typing a few characters. As with others, I can't seem to reproduce this a second time. Error report below. If I find a way to reproduce, I'll comment again with instructions. [Enter steps to reproduce:]
Atom: 1.17.0 x64 Stack TraceUncaught TypeError: Cannot read property 'offsetHeight' of undefined
Commands
Non-Core Packages
|
I had intended to provide a reproduction of this but the weekend came and I forgot what actions I did in the file I was in to reproduce the error. That said, I do recall that by closing out of Atom completely (not just the file) and re-opening the editor, and re-do'ing what had initially caused the error would in fact reproduce the error. Closing just the file, or using Undo/Redo would NOT reproduce the error. |
Hi! I wasn't having this bug until I installed the package Narrow. |
I just saved my file... ._. TypeError: Cannot read property 'offsetHeight' of undefined |
I just launch atom: Atom: 1.18.0 x64 Stack TraceUncaught TypeError: Cannot read property 'offsetHeight' of undefined
Commands
Non-Core Packages
|
It happened a second time! Atom: 1.18.0 x64 Stack TraceUncaught TypeError: Cannot read property 'offsetHeight' of undefined
Commands
Non-Core Packages
|
In my case, I just restarted Atom due to an update of minimap-linter, and then started rewriting a comment in my Python code when I got this error. I wrote the comment prior to the restart, and didn't have issues. Just like all the others, I can not reproduce the error (haven't tried restarting though). [Enter steps to reproduce:]
Atom: 1.18.0 x64 Stack TraceUncaught TypeError: Cannot read property 'offsetHeight' of undefined
Commands
Non-Core Packages
|
[Enter steps to reproduce:] it happened randomly Atom: 1.18.0 x64 Stack TraceUncaught TypeError: Cannot read property 'offsetHeight' of undefined
Commands
Non-Core Packages
Update:i got the error while editing a |
I just got the error while editing a .VBA file. I placed my cursor with my mouse at the end of a line that reads:
I then pressed [Enter] and began to type This was the first time I had began typing something since launching the application after a reboot. Atom: 1.19.0 ia32 Stack TraceUncaught TypeError: Cannot read property 'offsetHeight' of undefined
Commands
Non-Core Packages
|
[Enter steps to reproduce:]
Atom: 1.18.0 x64 Stack TraceUncaught TypeError: Cannot read property 'offsetHeight' of undefined
Commands
Non-Core Packages
|
@50Wliu I think you can remove the tag |
Got this error after opening up atom and starting to add a gem to my gemfile.
EDIT: When redoing what I did the first time, I don't get the error.
Atom: 1.17.0 x64 Stack TraceUncaught TypeError: Cannot read property 'offsetHeight' of undefined
Commands
Non-Core Packages
|
@yvan-sraka we generally do not remove the Neither of those two have happened here: we haven't been able to find a consistent reproduction case outside of safe mode, and there hasn't been anything in common from the steps to reproduce thus far. |
Atom: 1.19.4 x64 Stack TraceUncaught TypeError: Cannot read property 'offsetHeight' of undefined
Commands
Non-Core Packages
|
Hi, I just got this error when opening up Atom this morning. [Enter steps to reproduce:]
Atom: 1.20.0 x64 Stack TraceUncaught TypeError: Cannot read property 'offsetHeight' of undefined
Commands
Non-Core Packages
|
this happened to me when I typed
|
[Enter steps to reproduce:]
Only disbling autocomplete plus works. Also text is randomly missing after this bug and you cant sees what you type, so Atom is useless then, because you are writing blind. Atom: 1.20.0 x64 Stack TraceUncaught TypeError: Cannot read property 'offsetHeight' of undefined
Commands
Non-Core Packages
|
[Enter steps to reproduce:]
Its kinda impossible to reproduce since it happens randomly, however most of the time it happens when i'm editing a *.todo file. Atom: 1.20.1 x64 Stack TraceUncaught TypeError: Cannot read property 'offsetHeight' of undefined
Commands
Non-Core Packages
|
This error happened to me, when I just started a python script with a "import sys" Slack Trace: |
I encountered the issue when I started typing while Atom was lagging just after a workspace transition on Mac OS. It's a common symptom on my laptop that windows can take a moment to 'wake up' after being off screen for an extended period, and I imagine if it's related to the window manager then something could gitch during that period. Atom: 1.20.1 x64 Stack TraceUncaught TypeError: Cannot read property 'offsetHeight' of undefined
Commands
Non-Core Packages
|
There's a null check for this now in #895, so this exception should no longer occur. |
[Enter steps to reproduce:]
Atom: 1.15.0 x64
Electron: 1.3.13
OS: Mac OS X 10.10.5
Thrown From: autocomplete-plus package 2.35.0
Stack Trace
Uncaught TypeError: Cannot read property 'offsetHeight' of undefined
Commands
Non-Core Packages
The text was updated successfully, but these errors were encountered: