Author: vrubezhny
Date: 2008-01-16 08:43:15 -0500 (Wed, 16 Jan 2008)
New Revision: 5737
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/SeamRuntimeListFieldEditor.java
Log:
http://jira.jboss.org/jira/browse/JBIDE-1537 Error in creating seam runtime
Issue is fixed
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/SeamRuntimeListFieldEditor.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/SeamRuntimeListFieldEditor.java 2008-01-16
11:53:16 UTC (rev 5736)
+++
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/SeamRuntimeListFieldEditor.java 2008-01-16
13:43:15 UTC (rev 5737)
@@ -511,7 +511,7 @@
String seamVersion = getSeamVersion(homeDir
.getValueAsString());
- if (validSeamVersions != null) {
+ if (seamVersion != null && validSeamVersions != null) {
for (SeamVersion ver : validSeamVersions) {
if (seamVersion.matches(ver.toString().replace(".",
"\\.")