Skip to content
This repository
Browse code

Fix NullPointerException for glossary push: https://bugzilla.redhat.c…

  • Loading branch information...
commit dacfdb3a70aef7d134c5a39ccb5914f93c6085e7 1 parent 836d741
Alex Eng authored June 05, 2012
2  ...a-client-commands/src/main/java/org/zanata/client/commands/glossary/push/AbstractGlossaryPushReader.java
@@ -42,7 +42,7 @@
42 42
 
43 43
    protected LocaleId getLocaleFromMap(String localLocale)
44 44
    {
45  
-      if (!getOpts().getLocaleMapList().isEmpty())
  45
+      if (getOpts() != null && !getOpts().getLocaleMapList().isEmpty())
46 46
       {
47 47
          for (LocaleMapping loc : getOpts().getLocaleMapList())
48 48
          {

0 notes on commit dacfdb3

Please sign in to comment.
Something went wrong with that request. Please try again.