-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
kind/bugOutline of a bug - must adhere to the bug report template.Outline of a bug - must adhere to the bug report template.severity/P1Has a major impact to usage or development of the system.Has a major impact to usage or development of the system.
Milestone
Description
Description
Opening an editor that does not correspond to an existing file system resource throws an exception on workspace side.
Reproduction Steps
Open any editor that does not correspond to an existing resource.
For instance for a maven project : Assistant => Generate Effective Pom
It results in the following exceptions :
OS and version:
Ubuntu 16.04 with Che 6.8.0-SNAPSHOT
Diagnostics:
FileTrackingOperationEvent listeners (e.g. EditorWorkingCopyManager, JavaReconciler) throw exceptions when the event is fired.
However the class SyntheticFile is documented as if it prevents this issue.
But the EditorAgentImpl ignores it.
Here is the flow :
- EditorAgentImpl.initEditor() fires a FileEvent (with the OPEN state)
- FileOpenCloseEventListener process the FileEvent transmitting FileTrackingOperationDto to the server
- EditorFileOperationHandler deserializes the event and fires it on the server side
- FileTrackingOperationEvent listeners process the event and throw exception
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugOutline of a bug - must adhere to the bug report template.Outline of a bug - must adhere to the bug report template.severity/P1Has a major impact to usage or development of the system.Has a major impact to usage or development of the system.
