Actifsource

#6769 [Bug/TplEd] Open find/replace dialog exception inside template

Actifsource code generator for any programming language
Release: Actifsource V11.1.0

As soon as the find/replace dialog is opened within a template (Ctrl + F), an exception occurs.

Message: RootResourceEditContext?[:ch.actifsource.ui.search.template.service.TemplateSearchService:5aa0723d-fc11-11eb-9582-0548a44b961f] not equals RootResourceEditContext?[:ch.actifsource.ui.search.template.service.TemplateSearchService:5aa0723d-fc11-11eb-9582-0548a44b961f]

ch.actifsource.util.AssertionFailure?: RootResourceEditContext?[:ch.actifsource.ui.search.template.service.TemplateSearchService:5aa0723d-fc11-11eb-9582-0548a44b961f] not equals RootResourceEditContext?[:ch.actifsource.ui.search.template.service.TemplateSearchService:5aa0723d-fc11-11eb-9582-0548a44b961f]

    at ch.actifsource.util.Assert.fail(Assert.java:41)
    at ch.actifsource.util.Assert.assertEquals(Assert.java:218)
    at ch.actifsource.ui.builder.dynamical.DynamicRootBuilder?.createEditorSession(DynamicRootBuilder?.java:125)
    at ch.actifsource.ui.builder.dynamical.DynamicRootBuilder?.<init>(DynamicRootBuilder?.java:84)
    at ch.actifsource.ui.editor.builder.EditorBuilder?.createDynamicContent(EditorBuilder?.java:86)
    at ch.actifsource.ui.editor.builder.EditorBuilder?$1.visit(EditorBuilder?.java:52)
    at ch.actifsource.ui.builder.input.DynamicResourceInput?.accept(DynamicResourceInput?.java:53)
    at ch.actifsource.ui.editor.builder.EditorBuilder?.createContent(EditorBuilder?.java:48)
    at ch.actifsource.ui.editor.propertypage.page.ResourceEditorComponent?.createNewEditorContent(ResourceEditorComponent?.java:994)
    at ch.actifsource.ui.editor.propertypage.page.ResourceEditorComponent?.createControl(ResourceEditorComponent?.java:878)
    at ch.actifsource.ui.search.template.ui.lineeditor.SearchLineEditorComponent?.getOrCreateControl(SearchLineEditorComponent?.java:143)
    at ch.actifsource.ui.search.template.ui.TemplateSearchGUI.createSearchLineSection(TemplateSearchGUI.java:118)
    at ch.actifsource.ui.search.template.ui.TemplateSearchGUI.createControl(TemplateSearchGUI.java:90)
    at ch.actifsource.ui.search.template.service.TemplateSearchService?.createInputPanel(TemplateSearchService?.java:187)
    at ch.actifsource.ui.search.dialog.AsFindReplaceDialog?.createInputPanel(AsFindReplaceDialog?.java:341)
    at ch.actifsource.ui.search.dialog.AsFindReplaceDialog?.createContents(AsFindReplaceDialog?.java:315)
    at org.eclipse.jface.window.Window.create(Window.java:431)
    at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1094)
    at ch.actifsource.ui.search.dialog.AsFindReplaceDialog?.create(AsFindReplaceDialog?.java:267)
    at org.eclipse.jface.window.Window.open(Window.java:788)
    at ch.actifsource.ui.search.dialog.AsFindReplaceDialog?.open(AsFindReplaceDialog?.java:234)
    at ch.actifsource.ui.search.dialog.AsFindReplaceAction?$AsFindReplaceDialogStub?.openDialog(AsFindReplaceAction?.java:117)
    at ch.actifsource.ui.search.dialog.AsFindReplaceAction?$AsFindReplaceDialogStub?.openDialog(AsFindReplaceAction?.java:147)
    at ch.actifsource.ui.search.dialog.AsFindReplaceAction?.run(AsFindReplaceAction?.java:259)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:474)
    at org.eclipse.jface.commands.ActionHandler?.execute(ActionHandler?.java:121)
    at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:97)
    at jdk.internal.reflect.GeneratedMethodAccessor163.invoke(Unknown Source)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl?.invoke(DelegatingMethodAccessorImpl?.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:564)
    at org.eclipse.e4.core.internal.di.MethodRequestor?.execute(MethodRequestor?.java:58)
    at org.eclipse.e4.core.internal.di.InjectorImpl?.invokeUsingClass(InjectorImpl?.java:319)
    at org.eclipse.e4.core.internal.di.InjectorImpl?.invoke(InjectorImpl?.java:253)
    at org.eclipse.e4.core.contexts.ContextInjectionFactory?.invoke(ContextInjectionFactory?.java:173)
    at org.eclipse.e4.core.commands.internal.HandlerServiceHandler?.execute(HandlerServiceHandler?.java:156)
    at org.eclipse.core.commands.Command.executeWithChecks(Command.java:488)
    at org.eclipse.core.commands.ParameterizedCommand?.executeWithChecks(ParameterizedCommand?.java:487)
    at org.eclipse.e4.core.commands.internal.HandlerServiceImpl?.executeHandler(HandlerServiceImpl?.java:213)
    at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher?.executeCommand(KeyBindingDispatcher?.java:308)
    at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher?.press(KeyBindingDispatcher?.java:584)
    at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher?.processKeyEvent(KeyBindingDispatcher?.java:653)
    at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher?.filterKeySequenceBindings(KeyBindingDispatcher?.java:443)
    at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher?$KeyDownFilter?.handleEvent(KeyBindingDispatcher?.java:96)
    at org.eclipse.swt.widgets.EventTable?.sendEvent(EventTable?.java:89)