chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@apache.org
Subject svn commit: r1389525 - /chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/model/ClientModel.java
Date Mon, 24 Sep 2012 19:32:03 GMT
Author: fmui
Date: Mon Sep 24 19:32:02 2012
New Revision: 1389525

URL: http://svn.apache.org/viewvc?rev=1389525&view=rev
Log:
Workbench: avoid NPE

Modified:
    chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/model/ClientModel.java

Modified: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/model/ClientModel.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/model/ClientModel.java?rev=1389525&r1=1389524&r2=1389525&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/model/ClientModel.java
(original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/model/ClientModel.java
Mon Sep 24 19:32:02 2012
@@ -190,7 +190,9 @@ public class ClientModel {
     }
 
     public synchronized void reloadFolder() throws Exception {
-        loadFolder(currentFolder.getId(), false);
+        if (currentFolder != null) {
+            loadFolder(currentFolder.getId(), false);
+        }
     }
 
     public synchronized void loadObject(String objectId) throws Exception {



Mime
View raw message