[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-9430) JBT 3.3 aggregate build failed: results/buildResults.xsl:200: Fatal Error! A sequence of more than one item is not allowed as the first argument of tokenize()

Nick Boldt (JIRA) jira-events at lists.jboss.org
Sun Jul 31 01:32:23 EDT 2011


JBT 3.3 aggregate build failed: results/buildResults.xsl:200: Fatal Error! A sequence of more than one item is not allowed as the first argument of tokenize()
--------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: JBIDE-9430
                 URL: https://issues.jboss.org/browse/JBIDE-9430
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: Build/Releng, updatesite
    Affects Versions: 3.3.0.M3
            Reporter: Nick Boldt
            Assignee: Nick Boldt
             Fix For: 3.3.0.M3


     [xslt] mnt/hudson_workspace/workspace/jbosstools-3.3_trunk.aggregate/sources/results/buildResults.xsl:200: Fatal Error! A sequence of more than one item is not allowed as the first argument of tokenize() ("http://anonsvn.jboss.org/repos...", "http://anonsvn.jboss.org/repos...") 

https://hudson.qa.jboss.com/hudson/job/jbosstools-3.3_trunk.aggregate/3339/console

Possible solution:

{code}
diff --git a/build/results/buildResults.xsl b/build/results/buildResults.xsl
index 27346f1..da19686 100644
--- a/build/results/buildResults.xsl
+++ b/build/results/buildResults.xsl
@@ -197,7 +197,7 @@
                                                                                                        </li>

                                                                                                        <xsl:for-each
-                                                                                                               select="tokenize(//property[contains(@name,'build.properties.SVN_REVISION') and contains(@name,$COMPONENT)]/@value,',')">
+                                                                                                               select="tokenize(//property[contains(@name,'build.properties.SVN_REVISION') and contains(@name,$COMPONENT)][1]/@value,',')">
                                                                                                                <li>SVN: <xsl:value-of select="." /></li>
                                                                                                        </xsl:for-each>
                                                                                                        </ul>
{code}

--
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