[jbosstools-issues] [JBoss JIRA] Issue Comment Edited: (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
Mon Aug 1 00:08:23 EDT 2011


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

Nick Boldt edited comment on JBIDE-9430 at 8/1/11 12:07 AM:
------------------------------------------------------------

Problem was addition of new /staging.previous/ URLs into composite*.xml files, which the URL parser did not need to collect. This led to duplicate entries in the XML list of properties, and therefore the "sequence of more than one item".

Fixed in trunk. Respinning: https://hudson.qa.jboss.com/hudson/job/jbosstools-3.3_trunk.aggregate/3341

      was (Author: nickboldt):
    Problem was addition of new /staging.previous/ URLs into composite*.xml files, which the URL parser did not need to collect. This led to duplicate entries in the XML list of properties, and therefore the "sequence of more than one item".

Fixed in trunk. Respinning.
  
> 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