ozeigermann 2004/12/14 17:01:23
Modified: src/share/org/apache/slide/store ExtendedStore.java
Log:
Fixed NPE bug #32701
Revision Changes Path
1.27 +8 -5
jakarta-slide/src/share/org/apache/slide/store/ExtendedStore.java
Index: ExtendedStore.java
===================================================================
RCS file:
/home/cvs/jakarta-slide/src/share/org/apache/slide/store/ExtendedStore.java,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- ExtendedStore.java 24 Nov 2004 16:20:42 -0000 1.26
+++ ExtendedStore.java 15 Dec 2004 01:01:22 -0000 1.27
@@ -1285,7 +1285,10 @@
// this might indicate the physical store has been changed from
other sources than Slide
// and there no longer is an object at this uri
// so invalidate caches to at least display this in the next request
- removeObjectHierachyFromCache(uri.getParentUri());
+ Uri parentUri = uri.getParentUri();
+ if (parentUri != null) {
+ removeObjectHierachyFromCache(parentUri);
+ }
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]