[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-2329) There is a java.lang.IndexOutOfBoundsException if we try use hiperlinks on some EL.

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Wed Jun 11 17:31:15 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBIDE-2329?page=all ]

Max Rydahl Andersen updated JBIDE-2329:
---------------------------------------

    Fix Version/s: 2.1.2

same problem exists in 2.1.x - if easy to fix lets fix it there too, if not then fine since it is not critical

> There is a java.lang.IndexOutOfBoundsException if we try use hiperlinks on some EL.
> -----------------------------------------------------------------------------------
>
>                 Key: JBIDE-2329
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-2329
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jsp/jsf/xml source editing
>    Affects Versions: 2.1.1
>            Reporter: Alexey Kazakov
>         Assigned To: Victor Rubezhny
>             Fix For: 3.0.alpha, 2.1.2
>
>
> Try to press Ctrl and move mouse on "contains":
> <h:outputText value=" yes" rendered="#{siteUser.groups.contains('user')}"/>
> I get a lot of :
> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> 	at java.util.ArrayList.RangeCheck(ArrayList.java:546)
> 	at java.util.ArrayList.get(ArrayList.java:321)
> 	at org.jboss.tools.seam.text.ext.hyperlink.SeamBeanHyperlinkPartitioner.findJavaElements(SeamBeanHyperlinkPartitioner.java:288)
> 	at org.jboss.tools.seam.text.ext.hyperlink.SeamBeanHyperlinkPartitioner.recognize(SeamBeanHyperlinkPartitioner.java:235)
> 	at org.jboss.tools.common.text.ext.hyperlink.AbstractHyperlinkPartitioner.getChildPartitionType(AbstractHyperlinkPartitioner.java:49)
> 	at org.jboss.tools.common.text.ext.hyperlink.AbstractHyperlinkPartitioner.getChildPartitionType(AbstractHyperlinkPartitioner.java:56)
> 	at org.jboss.tools.common.text.ext.hyperlink.AbstractHyperlinkPartitioner.getChildPartitionType(AbstractHyperlinkPartitioner.java:56)
> 	at org.jboss.tools.common.text.ext.hyperlink.AbstractHyperlinkPartitioner.getChildPartitionType(AbstractHyperlinkPartitioner.java:56)
> 	at org.jboss.tools.common.text.ext.hyperlink.HyperlinkDetector.getPartitionTypes(HyperlinkDetector.java:79)
> 	at org.jboss.tools.common.text.ext.hyperlink.xpl.BaseHyperlinkDetector.getPartitionType(BaseHyperlinkDetector.java:120)
> 	at org.jboss.tools.common.text.ext.hyperlink.xpl.BaseHyperlinkDetector.getHyperlinks(BaseHyperlinkDetector.java:51)
> 	at org.jboss.tools.common.text.ext.hyperlink.xpl.BaseHyperlinkDetector.detectHyperlinks(BaseHyperlinkDetector.java:132)

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

        



More information about the jbosstools-issues mailing list