Petals Studio

Invalid directory for Maven templates => NPE

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.1.1
  • Fix Version/s: 1.2.0
  • Component/s: Petals Tools
  • Security Level: Public
  • Description:
    Hide

    Directories of Maven templates are read-only and can only be set with the Browse button.
    However, I recently reinstalled Windows 7, and my disk partitions changed. They are not identified by the same letters than before.

    Therefore, my former Eclipse preferences are not all correct.
    And when I complete a SU wizard with custom POM files, it results in a NPE.

    SU and SA wizards should check on the first page (choice page and SA page) that the Maven preferences are correct.
    When incorrect, the error message should provide a link to open the preferences.
    Besides, the preference page should display an error when the Maven preferences are incorrect.

    Show
    Directories of Maven templates are read-only and can only be set with the Browse button. However, I recently reinstalled Windows 7, and my disk partitions changed. They are not identified by the same letters than before. Therefore, my former Eclipse preferences are not all correct. And when I complete a SU wizard with custom POM files, it results in a NPE. SU and SA wizards should check on the first page (choice page and SA page) that the Maven preferences are correct. When incorrect, the error message should provide a link to open the preferences. Besides, the preference page should display an error when the Maven preferences are incorrect.
  • Environment:
    Windows 7 x64

Activity

Hide
Vincent Zurczak added a comment - Wed, 2 Feb 2011 - 21:31:23 +0100

Commit # 1915
Handle NPE, even if a user succeeded in making preferences invalid
Improve error management in the Maven preference page
Add validation in the SA, SU and KPI wizards to notify the user if its Maven preferences are invalid
Remove useless code in the EJB plug-in

Show
Vincent Zurczak added a comment - Wed, 2 Feb 2011 - 21:31:23 +0100 Commit # 1915 Handle NPE, even if a user succeeded in making preferences invalid Improve error management in the Maven preference page Add validation in the SA, SU and KPI wizards to notify the user if its Maven preferences are invalid Remove useless code in the EJB plug-in

People

Dates

  • Created:
    Mon, 31 Jan 2011 - 15:39:32 +0100
    Updated:
    Wed, 2 Feb 2011 - 21:34:14 +0100
    Resolved:
    Wed, 2 Feb 2011 - 21:31:23 +0100