Permalink
Browse files

Fixed null pointer

  • Loading branch information...
1 parent c7d6ea6 commit ebe11f7a4b659d376ea3e63ba93ceb57c5b5c899 @hkerem hkerem committed Jun 1, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 mydlp-ui-service/src/main/java/com/mydlp/ui/service/LicenseServiceImpl.java
@@ -37,6 +37,9 @@ protected void init() {
protected void scheduleLicenseCheckFun() {
LicenseObject thriftResult = myDLPUIThriftService.getLicense();
+ if (thriftResult == null)
+ return;
+
if (!thriftResult.is_valid) {
licenseInformationDAO.invalidateLicense();
return;

0 comments on commit ebe11f7

Please sign in to comment.