[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-6145) Warning: Conflict for 'org.jboss.tools.vpe.source.maxmin': HandlerActivation in VPE

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Mon Apr 5 08:52:37 EDT 2010


    [ https://jira.jboss.org/jira/browse/JBIDE-6145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12523799#action_12523799 ] 

Viacheslav Kabanovich commented on JBIDE-6145:
----------------------------------------------

The issue was found while working on JBIDE-5746. It is related to it, but requires separate solution.

VpeEditorPart activates three handlers (org.jboss.tools.vpe.visual.maxmin, org.jboss.tools.vpe.source.maxmin, org.jboss.tools.vpe.jumping) in ActivationListener (implemenst IPartListener). Debugging studio, I have found that when the described steps are exactly repeated, method partActivated for the first editor is invoked twice, which results in duplicate activation of handlers. After that, when the second editor is activated, deactivation of the first editor turns out ineffective. That looks like a problem of Eclipse, but there is a simple work around for us.

> Warning: Conflict for 'org.jboss.tools.vpe.source.maxmin': HandlerActivation in VPE
> -----------------------------------------------------------------------------------
>
>                 Key: JBIDE-6145
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-6145
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jsp/jsf/xml source editing
>    Affects Versions: 3.1.0.GA
>            Reporter: Viacheslav Kabanovich
>            Assignee: Viacheslav Kabanovich
>            Priority: Minor
>             Fix For: 3.1.1
>
>
> Start studio and open two xhtml files in JBoss Tools HTML Editor. Make active Source tabs. Close studio with one of the open xhtml files active. Restart studio and make sure that on opening it activated xhtml file and the second one is present as an inactive tab. Click mouse in the text area of the first xhtml, then select tab of the second xhtml.
> Warning message appears in error log:
> !ENTRY org.eclipse.ui.workbench 2 0 2010-04-05 17:30:30.141
> !MESSAGE A handler conflict occurred.  This may disable some commands.
> !SUBENTRY 1 org.eclipse.ui.workbench 2 0 2010-04-05 17:30:30.141
> !MESSAGE Conflict for 'org.jboss.tools.vpe.source.maxmin':
> HandlerActivation(commandId=org.jboss.tools.vpe.source.maxmin,
> 	handler=org.jboss.tools.vpe.editor.VpeEditorPart$12 at 1a7ec5b,
> 	expression=,sourcePriority=0)
> HandlerActivation(commandId=org.jboss.tools.vpe.source.maxmin,
> 	handler=org.jboss.tools.vpe.editor.VpeEditorPart$12 at 18e588c,
> 	expression=,sourcePriority=0)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list