summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxma2007-08-10 04:32:33 (EDT)
committer xgu2007-08-10 04:32:33 (EDT)
commit6badb3b47c2864ff55c5f3a77702571309592a5d (patch)
treefde4e95725be493319b78193f86e5efc0b590d20
parent6ab5c9bf390504149b0676d44aeeaba8a875a88c (diff)
downloadorg.eclipse.datatools.enablement.oda-6badb3b47c2864ff55c5f3a77702571309592a5d.zip
org.eclipse.datatools.enablement.oda-6badb3b47c2864ff55c5f3a77702571309592a5d.tar.gz
org.eclipse.datatools.enablement.oda-6badb3b47c2864ff55c5f3a77702571309592a5d.tar.bz2
Fix a possible NPE
-rw-r--r--plugins/org.eclipse.datatools.enablement.oda.ws.ui/src/org/eclipse/datatools/enablement/oda/ws/ui/util/WSUIUtil.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/org.eclipse.datatools.enablement.oda.ws.ui/src/org/eclipse/datatools/enablement/oda/ws/ui/util/WSUIUtil.java b/plugins/org.eclipse.datatools.enablement.oda.ws.ui/src/org/eclipse/datatools/enablement/oda/ws/ui/util/WSUIUtil.java
index b8decec..248595a 100644
--- a/plugins/org.eclipse.datatools.enablement.oda.ws.ui/src/org/eclipse/datatools/enablement/oda/ws/ui/util/WSUIUtil.java
+++ b/plugins/org.eclipse.datatools.enablement.oda.ws.ui/src/org/eclipse/datatools/enablement/oda/ws/ui/util/WSUIUtil.java
@@ -225,9 +225,11 @@ public class WSUIUtil extends WSUtil
// no exception in conversion; go ahead and assign to specified
// dataSetDesign
- paramDesign.setDerivedMetaData( true );
dataSetDesign.setParameters( paramDesign );
-
+ if ( isNull( paramDesign ) )
+ return;
+
+ paramDesign.setDerivedMetaData( true );
if ( paramDesign.getParameterDefinitions( ).size( ) > 0 )
{
WSConsole.getInstance( )