Community
Participate
Working Groups
Launch RSE as debuggee with assertions enabled (JRE options -ea -eas in the Launch). Create an FTP connection (supposedly any connection type would work too). When logging in, do save the username but not the password. Expand it 2 levels deep. Quit & restart RSE (with "Restore System View" preference). On restart, it tries to re-open the connection but before showing the password prompt there is an error dialog (Unknown Error... details: error). Error log shows this exception: org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.AssertionError) at org.eclipse.swt.SWT.error(SWT.java:3563) [...] Caused by: java.lang.AssertionError at org.eclipse.rse.internal.ui.view.SystemView.refreshRemoteObject(SystemView.java:2981) at org.eclipse.rse.internal.ui.view.SystemViewPart$RestoreStateRunnable.runInUIThread(SystemViewPart.java:1728) at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:94) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123) ... 23 more This is most probably a regression of the fix for bug #196662.
Created attachment 75763 [details] Patch to fix the assertion Attached patch fixes the assertion, but it's unclear whether RSE can restore the previous systemView state (this might be a regression)
Patch applied: [198650] Fix assertion when restoring workbench state SystemView.java 1.148
Marking fixed since the assertion is fixed. Not properly restoring the RSE view is covered in bug #199424.