Uploaded image for project: 'WINDUP - Red Hat Application Migration Toolkit'
  1. WINDUP - Red Hat Application Migration Toolkit
  2. WINDUP-2525

<where> parameter in <artifact> condition doesn't work

    XMLWordPrintable

Details

    Description

      <where> parameter in <artifact> condition doesn't work as expected: the parameter works in the <when> condition but then it can not be used in the <perform> action because it throws the exception

      WARNING: Failed to generate parameterized Hint title due to: The value of required parameter [substitution] was null.
      org.ocpsoft.rewrite.exception.ParameterizationException: The value of required parameter [substitution] was null.
      	at org.ocpsoft.rewrite.param.RegexParameterizedPatternBuilder.extractBoundValues(RegexParameterizedPatternBuilder.java:236)
      	at org.ocpsoft.rewrite.param.RegexParameterizedPatternBuilder.build(RegexParameterizedPatternBuilder.java:111)
      	at org.ocpsoft.rewrite.param.RegexParameterizedPatternBuilder.build(RegexParameterizedPatternBuilder.java:103)
      	at org.jboss.windup.reporting.config.Hint.performParameterized(Hint.java:141)
      	at org.jboss.windup.reporting.config.Hint.performParameterized(Hint.java:39)
      	at org.jboss.windup.config.parameters.ParameterizedIterationOperation.perform(ParameterizedIterationOperation.java:74)
      	at org.jboss.windup.config.operation.iteration.AbstractIterationOperation.perform(AbstractIterationOperation.java:65)
      	at org.jboss.windup.config.parameters.ParameterizedIterationOperation.perform(ParameterizedIterationOperation.java:45)
      	at org.jboss.windup.config.operation.GraphOperation.perform(GraphOperation.java:24)
      	at org.ocpsoft.rewrite.config.DefaultOperationBuilder$DefaultOperationBuilderInternal.perform(DefaultOperationBuilder.java:55)
      	at org.jboss.windup.config.operation.Iteration.perform(Iteration.java:312)
      	at org.jboss.windup.config.operation.Iteration.perform(Iteration.java:252)
      	at org.ocpsoft.rewrite.config.RuleBuilder.perform(RuleBuilder.java:168)
      	at org.jboss.windup.config.RuleSubset.perform(RuleSubset.java:290)
      	at org.jboss.windup.exec.WindupProcessorImpl.execute(WindupProcessorImpl.java:214)
      

      Thanks to johnpoth for reporting this.

      Attachments

        Activity

          People

            mrizzi@redhat.com Marco Rizzi
            mrizzi@redhat.com Marco Rizzi
            Mark Brophy Mark Brophy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: