Skip to content

Commit

Permalink
CHE-6025: Fix bug when Project wizard is not closed after importing m…
Browse files Browse the repository at this point in the history
…aven project (eclipse-che#6031)
  • Loading branch information
vinokurig authored Aug 17, 2017
1 parent ee09e10 commit 1e57af9
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,9 @@ public Element render(Node node, String domID, Tree.Joint joint, int depth) {
element.setAttribute("path", resource.getLocation().toString());

Project project = resource.getProject();
element.setAttribute("project", project.getLocation().toString());
if (project != null) {
element.setAttribute("project", project.getLocation().toString());
}
}

if (node instanceof HasAction) {
Expand Down

0 comments on commit 1e57af9

Please sign in to comment.