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

dependencies graph fails when exploded archive

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.2.0.Final
    • 4.2.0-SNAPSHOT
    • None
    • None
    • 5
    • Hide

      0. I used the web console for that, should be the same for the CLI though
      1. clone and build git@github.com:jeichler/weblogic-jms-case.git, branch rhamt-reproducer (well any branch works for that matter)
      2. also unzip the resulting war
      3. start the web console
      4. create project, add the war and also add the unzipped war as exploded archive (via server path and checking the exploded app box)
      5. run the analysis

      Show
      0. I used the web console for that, should be the same for the CLI though 1. clone and build git@github.com:jeichler/weblogic-jms-case.git, branch rhamt-reproducer (well any branch works for that matter) 2. also unzip the resulting war 3. start the web console 4. create project, add the war and also add the unzipped war as exploded archive (via server path and checking the exploded app box) 5. run the analysis
    • Sprint 55

    Description

      see reproduction.

      resulting error:

      11:23:20,717 SEVERE [freemarker.runtime] (/reports/templates/dependency_graph.ftl_dependency_graph_report.2.html) Error executing FreeMarker template: freemarker.core.InvalidReferenceException: The following has evaluated to null or missing:
      ==> reportModel.projectModel.rootFileModel.SHA1Hash  [in template "reports/templates/dependency_graph.ftl" at line 135, column 29]
      ----
      Tip: It's the step after the last dot that caused this error, not those before it.
      ----
      Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
      ----
      ----
      FTL stack trace ("~" means nesting-related):
              - Failed at: ${reportModel.projectModel.rootFileMo...  [in template "reports/templates/dependency_graph.ftl" at line 135, column 27]
      ----
              at freemarker.core.InvalidReferenceException.getInstance(InvalidReferenceException.java:134)
              at freemarker.core.EvalUtil.coerceModelToTextualCommon(EvalUtil.java:465)
              at freemarker.core.EvalUtil.coerceModelToStringOrMarkup(EvalUtil.java:387)
              at freemarker.core.EvalUtil.coerceModelToStringOrMarkup(EvalUtil.java:356)
              at freemarker.core.DollarVariable.calculateInterpolatedStringOrMarkup(DollarVariable.java:96)
              at freemarker.core.DollarVariable.accept(DollarVariable.java:59)
              at freemarker.core.Environment.visit(Environment.java:326)
              at freemarker.core.Environment.visit(Environment.java:332)
              at freemarker.core.Environment.visit(Environment.java:332)
              at freemarker.core.Environment.process(Environment.java:305)
              at freemarker.template.Template.process(Template.java:378)
              at org.jboss.windup.reporting.freemarker.FreeMarkerIterationOperation.perform(FreeMarkerIterationOperation.java:142)
              at org.jboss.windup.reporting.rules.rendering.RenderReportRuleProvider$FreeMarkerThreadedRenderer$1.call(RenderReportRuleProvider.java:136)
              at org.jboss.windup.reporting.rules.rendering.RenderReportRuleProvider$FreeMarkerThreadedRenderer$1.call(RenderReportRuleProvider.java:120)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
              at java.lang.Thread.run(Thread.java:748)
      

      Attachments

        Activity

          People

            mrizzi@redhat.com Marco Rizzi
            jaeichle@redhat.com Janine Eichler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: