[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-9099) OpenOn on JSF composite component throws AssertionFailedException

Victor Rubezhny (JIRA) jira-events at lists.jboss.org
Fri Jun 10 13:25:59 EDT 2011


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

Victor Rubezhny commented on JBIDE-9099:
----------------------------------------

An error message will be displayed in the Status line if the position couldn't be found for composite component interface or attribute. This will prevent appearing of Assert stack traces. 

But the problem with PositionHolder functionality is still to be fixed.

> OpenOn on JSF composite component throws AssertionFailedException
> -----------------------------------------------------------------
>
>                 Key: JBIDE-9099
>                 URL: https://issues.jboss.org/browse/JBIDE-9099
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JSF, jsp/jsf/xml source editing
>    Affects Versions: 3.3.0.M2
>            Reporter: Alexey Kazakov
>            Assignee: Victor Rubezhny
>             Fix For: 3.3.0.M3
>
>
> EXECUTE: Import Seam-booking example (See http://seamframework.org/Seam3/Contribute for details how to get this example from Seam git repository.
> EXECUTE: Open src/main/webapp/resources/components/model/displayHotel.xhtml
> EXECUTE: Ctrl+Click on attribute "value" in <p:output label="Name" value="#{cc.attrs.value.name}"/>
> {color:red}FAILURE:{color} AssertionFailedException is thrown in Eclipse Log:
> {code}
> org.eclipse.core.runtime.AssertionFailedException: assertion failed: 
> 	at org.eclipse.core.runtime.Assert.isTrue(Assert.java:110)
> 	at org.eclipse.core.runtime.Assert.isTrue(Assert.java:96)
> 	at org.eclipse.jface.text.Position.<init>(Position.java:62)
> 	at org.eclipse.jface.text.source.SourceViewer.setRangeIndication(SourceViewer.java:1108)
> 	at org.eclipse.jface.text.source.projection.ProjectionViewer.setRangeIndication(ProjectionViewer.java:1342)
> 	at org.eclipse.wst.sse.ui.StructuredTextEditor.updateRangeIndication(StructuredTextEditor.java:3371)
> 	at org.eclipse.wst.sse.ui.StructuredTextEditor$StructuredSelectionProvider.setSelection(StructuredTextEditor.java:731)
> 	at org.jboss.tools.common.text.ext.util.StructuredSelectionHelper.setSelectionAndReveal(StructuredSelectionHelper.java:65)
> 	at org.jboss.tools.common.text.ext.util.StructuredSelectionHelper.setSelectionAndRevealInActiveEditor(StructuredSelectionHelper.java:35)
> 	at org.jboss.tools.jsf.text.ext.hyperlink.JSF2CCAttrsHyperlink.doHyperlink(JSF2CCAttrsHyperlink.java:85)
> 	at org.jboss.tools.common.text.ext.hyperlink.xpl.AbstractBaseHyperlink.open(AbstractBaseHyperlink.java:278)
>         ...
> {code}
> {color:green}ASSERT:{color} No errors, <cc:attribute name="value" required="true"/> is selected.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list