directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r821753 - /directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/EntryEditorUniversalListener.java
Date Mon, 05 Oct 2009 11:02:01 GMT
Author: seelmann
Date: Mon Oct  5 11:02:00 2009
New Revision: 821753

URL: http://svn.apache.org/viewvc?rev=821753&view=rev
Log:
Fixed NullPointerException

Modified:
    directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/EntryEditorUniversalListener.java

Modified: directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/EntryEditorUniversalListener.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/EntryEditorUniversalListener.java?rev=821753&r1=821752&r2=821753&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/EntryEditorUniversalListener.java
(original)
+++ directory/studio/trunk/ldapbrowser-ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/EntryEditorUniversalListener.java
Mon Oct  5 11:02:00 2009
@@ -235,6 +235,11 @@
      */
     public void entryUpdated( EntryModificationEvent event )
     {
+        if ( viewer == null || viewer.getTree() == null || viewer.getTree().isDisposed()
|| viewer.getInput() == null )
+        {
+            return;
+        }
+
         super.entryUpdated( event );
         expandFoldedAttributes();
 



Mime
View raw message