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

NullPointerException during CLI Prompt

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 4.2.0.Final
    • None
    • None
    • Hide

      1. Install Git Bash in Windows.
      2. Download and unzip Windup.
      3. Download the "simple-sample-app.ear" sample application.
      4. Create a directory for the report.
      5. In the directory, create a blank text file (ie ensure that the directory isn't empty).
      6. Run Windup in a Git Bash terminal window, setting the target directory to the directory created in step 4. Make sure not to have the "-overwrite" or "-batch" options enabled: ./rhamt-cli --input /path/to/simple-sample-app.ear --output /path/to/output/ --source weblogic --target eap:7 --packages com.acme

      Show
      1. Install Git Bash in Windows. 2. Download and unzip Windup. 3. Download the "simple-sample-app.ear" sample application. 4. Create a directory for the report. 5. In the directory, create a blank text file (ie ensure that the directory isn't empty). 6. Run Windup in a Git Bash terminal window, setting the target directory to the directory created in step 4. Make sure not to have the "- overwrite" or " -batch" options enabled: ./rhamt-cli --input /path/to/simple-sample-app.ear --output /path/to/output/ --source weblogic --target eap:7 --packages com.acme

    Description

      When running Windup using "Git Bash" in Windows, a NullPointerException was encountered during migrations where a CLI prompt would occur.

      For example, in the "Steps to Reproduce", we place a file in the target directory before running Windup. Normally, without the "overwrite" parameter, Windup would prompt the user to decide whether to delete the contents of the directory. Instead, an NPE was logged.

      A copy of the console output, containing the command that was executed and the exception stack trace, is attached.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tterris@redhat.com Trevor Terris
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: