-
Type:
Bug
-
Resolution: Cannot Reproduce
-
Priority:
Low
-
None
-
Affects Version/s: 1.2.5
-
Component/s: Content - Edit Files / Companion
-
1
-
Severity 3 - Minor
Issue Summary
Companion app failed to launch when user trying to edit attachment. Doing some investigation, this is caused by OS or Electron is providing a null value for filewindows where companion app is expacting a value. Due to this, companion app is not able to create a new pop up window and failed to launch.
Steps to Reproduce
There is no details steps to reproduce it.
Expected Results
User is able to download and edit the file
Actual Results
Companion app is no launching
The below exception is thrown in the companion app log file:
error: adc:browser 2022-05-18T13:00:18.310Z logged raw sentry error: {"extra":{"unhandledPromiseRejection":true,"node":"v12.13.0"},"message":"TypeError: Cannot read property 'setContentSize' of null","exception":[{"type":"TypeError","value":"Cannot read property 'setContentSize' of null","stacktrace":{"frames":[{"filename":"x86)\\Atlassian Companion\\resources\\app.asar\\node_modules\\tslib\\tslib.js","lineno":107,"colno":62,"function":"fulfilled (C:\\Program Files","in_app":false,"module":"tslib"},{"filename":"","lineno":null,"colno":null,"function":"Generator.next","in_app":false},{"filename":"x86)\\Atlassian Companion\\resources\\app.asar\\src\\browser\\socket\\transaction-types\\file\\lib\\FileManager.ts","lineno":92,"colno":22,"function":"FileManager.<anonymous> (C:\\Program Files","in_app":false,"module":"FileManager.ts"},
...
...
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available