Skip to content
Browse files

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

  • Loading branch information...
1 parent 836d741 commit dacfdb3a70aef7d134c5a39ccb5914f93c6085e7 @aeng aeng committed
View
2 ...ds/src/main/java/org/zanata/client/commands/glossary/push/AbstractGlossaryPushReader.java
@@ -42,7 +42,7 @@
protected LocaleId getLocaleFromMap(String localLocale)
{
- if (!getOpts().getLocaleMapList().isEmpty())
+ if (getOpts() != null && !getOpts().getLocaleMapList().isEmpty())
{
for (LocaleMapping loc : getOpts().getLocaleMapList())
{

0 comments on commit dacfdb3

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