IzPack
  1. IzPack
  2. IZPACK-645

Null pointer exception at automated install

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.3
    • Fix Version/s: 4.3.4, 5.0
    • Component/s: Installer
    • Labels:
      None
    • Patch Submitted:
      Yes
    • Number of attachments :
      2

      Description

      I am getting a Null Pointer Exception when doing an automated install.

      java.lang.NullPointerException
      java.lang.NullPointerException
      at com.izforge.izpack.panels.UserPathPanelAutomationHelper.runAutomated(Unknown Source)
      at com.izforge.izpack.installer.AutomatedInstaller.installPanel(Unknown Source)
      at com.izforge.izpack.installer.AutomatedInstaller.doInstall(Unknown Source)
      at com.izforge.izpack.installer.Installer.main(Unknown Source)

      The UserPathPanel is optional in installer and was not selected when sabing the xml file. When running the xml file for automated it will fail with above error. A git pack has been included.

      1. NPE_UserPathPanel.patch
        3.31 MB
        Laurian Vostinar
      2. UserPathPanelAutomationHelper.java.patch
        0.4 kB
        Stuart Wallis

        Activity

        Hide
        Julien Ponge added a comment -

        Well this patch is huge and makes edits were it should not (e.g., the KEYS files, the README file, etc).

        Would you be able to come up with one that focuses only on the fix of this issue?

        Thanks

        Show
        Julien Ponge added a comment - Well this patch is huge and makes edits were it should not (e.g., the KEYS files, the README file, etc). Would you be able to come up with one that focuses only on the fix of this issue? Thanks
        Hide
        Stuart Wallis added a comment -

        Added simpler/smaller patch from 4.3.3 source.

        Show
        Stuart Wallis added a comment - Added simpler/smaller patch from 4.3.3 source.
        Hide
        Julien Ponge added a comment -

        Fixed in both branches, thanks.

        Show
        Julien Ponge added a comment - Fixed in both branches, thanks.

          People

          • Assignee:
            Julien Ponge
            Reporter:
            Laurian Vostinar
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: