Community
Participate
Working Groups
When a refresh is triggered in a common navigator view (e.g. Project Explorer) for a Tracing project, the refresh sometimes fail due to an InvocationTargetException (The resource tree is locked for modifications). This can occur because the refresh triggers a WorkspaceModifyOperation which creates a resourceChanged event that recursively triggers another refresh. The exception is then caught and the refresh does not complete. The proposed solution is to execute the refresh by executing asynchronously in the UI thread a runnable that iterates through all views in the active page, and for each view that is an instance of a CommonNavigator, retrieve its CommonViewer and invoke the refresh() method.
Pushed to master branch. commit 64f985e9df123996bbefa7e764da52552dc3b02c
Updated solution due to possible NullPointerException when refresh occurs during shutdown. Added null check for active workbench window. Pushed to master branch. commit 6ef5cb3bfe66bde629f24b0123c3962844a3dbc4
Delivered in 0.10.0