Skip to content

Commit

Permalink
[CONTINUUM-1337] Fix NPE during profile creation
Browse files Browse the repository at this point in the history
Submitted by: Olivier Lamy

git-svn-id: https://svn.apache.org/repos/asf/maven/continuum/trunk@554654 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Emmanuel Venisse committed Jul 9, 2007
1 parent 23ff451 commit deebb83
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ profile.jdk.name.label = Jdk name
profile.jdk.name.message = The JDK name
profile.jdk.path.label = Jdk path
profile.jdk.path.message = The JDK Path (JAVA_HOME value)

profile.no.installations = No installations available
# ----------------------------------------------------------------------
# Page: Installations List
# ----------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
</ww:form>
</td>
</tr>
<ww:if test="profile.id != ''">
<ww:if test="profile.id != '' && ${not empty allInstallations} ">
<tr>
<td>
<ww:form action="addInstallationProfile!addInstallation.action" method="get">
Expand Down Expand Up @@ -114,6 +114,15 @@
</td>
</tr>
</ww:if>
<ww:else>
<tr>
<td>
<ww:if test="${empty allInstallations}">
<div class="warningmessage" style="color: red"><ww:text name="profile.no.installations" /></div>
</ww:if>
</td>
</tr>
</ww:else>
</table>
</div>
</body>
Expand Down

0 comments on commit deebb83

Please sign in to comment.