Continuum

profile without jdk causes NPE in mail notification

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.1-beta-1
  • Fix Version/s: 1.1-beta-2
  • Component/s: Core - Profiles
  • Labels:
    None
  • Complexity:
    Intermediate
  • Number of attachments :
    1

Description

profile without jdk causes NPE in mail notification

Activity

Hide
Olivier Lamy added a comment -

Then fix os without JAVA_HOME by replacing with System.getProperty("java.home")

Show
Olivier Lamy added a comment - Then fix os without JAVA_HOME by replacing with System.getProperty("java.home")
Hide
Emmanuel Venisse added a comment -

Applied. Thanks.
I changed System.getProperty( "JAVA_HOME") by System.getenv("JAVA_HOME") because the first one return "$JAVA_HOME" instead of null on OSX

Show
Emmanuel Venisse added a comment - Applied. Thanks. I changed System.getProperty( "JAVA_HOME") by System.getenv("JAVA_HOME") because the first one return "$JAVA_HOME" instead of null on OSX

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: