You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ X] I can simulate the issue easily - Force it to break
Description
Error occurs when starting up Rocket.Chat within user profile.
When starting up the client in fullscreen and closing the client without resizing the window or unmaximizing will cause this issue to occur. You can sign in successfully and use the client until you close the client or restart the computer.
Once you have shut down the client and attempt to restart it, you will receive the following error.
A JavaScript error occurred in the main process Uncaught Exception: TypeError: Error processing argument at index 1, conversion failure from 7.5 at afterMainWindow (/opt/Rocket.Chat+/resources/app/asar/app/background.js:489:20) at App.<anonymous>(/opt/Rocket.Chat+/resources/app.asar/app/background.js:648:5) at emitTwo (events.js:111:20) at App.emit (events.js:194:7)
You need to mouse over to the top left hand corner and close the hidden window before being able to click OK on the error.
You can also manually reproduce if you edit the file located in ~/.config/Rocket.Chat+/window-state-main.json and in the "y" value enter any non-integer (example: 7.5, 15.5)
Workaround
To currently workaround, users need to edit this .json file, and remove any .x numbers and ensure all values are integers. (Example: 7.5 is turned into 7, 20.5 turned into 20)
Expected Behavior
Is there a way to force the client to not accidentally create this malformed .json file?
Can we edit it so it will allow decimals? (Like the cool kids on the number line)
The text was updated successfully, but these errors were encountered:
AlexanderPlaza
changed the title
JacaScript
JavaScript error occurred in the Main Process - 2.9.0
Sep 15, 2017
My Setup
Operating System: Ubuntu 16.04.3 LTS - 4.10.0-33-generic
App Version: 2.9.0
Hardware: Lenovo T400
Display: 1080 X 800 (16:10)
Launcher Icon Size: 54
Description
Error occurs when starting up Rocket.Chat within user profile.
When starting up the client in fullscreen and closing the client without resizing the window or unmaximizing will cause this issue to occur. You can sign in successfully and use the client until you close the client or restart the computer.
Once you have shut down the client and attempt to restart it, you will receive the following error.
A JavaScript error occurred in the main process Uncaught Exception: TypeError: Error processing argument at index 1, conversion failure from 7.5 at afterMainWindow (/opt/Rocket.Chat+/resources/app/asar/app/background.js:489:20) at App.<anonymous>(/opt/Rocket.Chat+/resources/app.asar/app/background.js:648:5) at emitTwo (events.js:111:20) at App.emit (events.js:194:7)
You need to mouse over to the top left hand corner and close the hidden window before being able to click OK on the error.
You can also manually reproduce if you edit the file located in ~/.config/Rocket.Chat+/window-state-main.json and in the "y" value enter any non-integer (example: 7.5, 15.5)
Workaround
To currently workaround, users need to edit this .json file, and remove any .x numbers and ensure all values are integers. (Example: 7.5 is turned into 7, 20.5 turned into 20)
Expected Behavior
The text was updated successfully, but these errors were encountered: