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

Forge + Surefire hide exception's message and cause

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • 2.x Future
    • 2.0.0.Alpha1
    • None
    • None

      Forge wraps exceptions. And during that, it 1) changes the name, 2) hides the message.

      Example:
      org.jboss.windup.util.exception.WindupException_$$_javassist_15b124f6-0ec8-431e-b7f9-cd561373c32c: null
      at org.jboss.windup.rules.apps.java.scan.operation.UnzipArchiveToTemporaryFolder.perform(UnzipArchiveToTemporaryFolder.java:46)
      at org.jboss.windup.rules.apps.java.scan.operation.UnzipArchiveToTemporaryFolder.perform(UnzipArchiveToTemporaryFolder.java:23)

      When you look at the line throwing the exception, it's clear that the message can't be null.

      STR:
      1) Checkout 408fca
      2) `mvn clean install`.

            lincolnthree Lincoln Baxter III (Inactive)
            ozizka_jira Ondrej Zizka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: