[169029] NPE when input argument is null when calling API method getTypeCode
diff --git a/plugins/org.eclipse.datatools.connectivity.oda.flatfile/META-INF/MANIFEST.MF b/plugins/org.eclipse.datatools.connectivity.oda.flatfile/META-INF/MANIFEST.MF
index 3ae315d..032872b 100644
--- a/plugins/org.eclipse.datatools.connectivity.oda.flatfile/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.datatools.connectivity.oda.flatfile/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@
 Bundle-ManifestVersion: 2
 Bundle-Name: %plugin.name
 Bundle-SymbolicName: org.eclipse.datatools.connectivity.oda.flatfile; singleton:=true
-Bundle-Version: 3.0.3.200612141
+Bundle-Version: 3.0.3.200701101
 Bundle-Activator: org.eclipse.datatools.connectivity.oda.flatfile.plugin.FlatfilePlugin
 Bundle-Vendor: Eclipse.org
 Bundle-Localization: plugin
diff --git a/plugins/org.eclipse.datatools.connectivity.oda.flatfile/src/org/eclipse/datatools/connectivity/oda/flatfile/DataTypes.java b/plugins/org.eclipse.datatools.connectivity.oda.flatfile/src/org/eclipse/datatools/connectivity/oda/flatfile/DataTypes.java
index b2745a3..1607abe 100644
--- a/plugins/org.eclipse.datatools.connectivity.oda.flatfile/src/org/eclipse/datatools/connectivity/oda/flatfile/DataTypes.java
+++ b/plugins/org.eclipse.datatools.connectivity.oda.flatfile/src/org/eclipse/datatools/connectivity/oda/flatfile/DataTypes.java
@@ -43,6 +43,9 @@
      */
     public static int getTypeCode( String typeName ) throws OdaException
     {
+        if( typeName == null || typeName.trim().length() == 0 )
+            return STRING;      // default data type
+              
         String preparedTypeName = typeName.trim().toUpperCase();
         
         if( preparedTypeName == NULL_LITERAL )