[jbosstools-commits] JBoss Tools SVN: r43466 - trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Thu Sep 6 07:37:25 EDT 2012
Author: fbricon
Date: 2012-09-06 07:37:24 -0400 (Thu, 06 Sep 2012)
New Revision: 43466
Modified:
trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/IdentifyMavenDependencyPage.java
Log:
JBIDE-12548 : Fixed unhandled event loop exception when converting to maven project
Modified: trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/IdentifyMavenDependencyPage.java
===================================================================
--- trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/IdentifyMavenDependencyPage.java 2012-09-06 11:10:35 UTC (rev 43465)
+++ trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/IdentifyMavenDependencyPage.java 2012-09-06 11:37:24 UTC (rev 43466)
@@ -576,7 +576,9 @@
}
public List<Dependency> getDependencies() {
-
+ if (dependenciesViewer == null || dependenciesViewer.getTable().isDisposed()) {
+ return Collections.emptyList();
+ }
Object[] selection = dependenciesViewer.getCheckedElements();
List<Dependency> dependencies = new ArrayList<Dependency>(selection.length);
for (Object o : selection) {
More information about the jbosstools-commits
mailing list