Author: bstansberry(a)jboss.com
Date: 2008-02-27 10:52:37 -0500 (Wed, 27 Feb 2008)
New Revision: 5375
Modified:
core/trunk/src/main/java/org/jboss/cache/interceptors/InvalidationInterceptor.java
Log:
[JBCACHE-1297] Avoid NPE in getNodeVersion
Modified:
core/trunk/src/main/java/org/jboss/cache/interceptors/InvalidationInterceptor.java
===================================================================
---
core/trunk/src/main/java/org/jboss/cache/interceptors/InvalidationInterceptor.java 2008-02-27
15:41:00 UTC (rev 5374)
+++
core/trunk/src/main/java/org/jboss/cache/interceptors/InvalidationInterceptor.java 2008-02-27
15:52:37 UTC (rev 5375)
@@ -344,6 +344,7 @@
{
if (w == null) return null;
WorkspaceNode wn = w.getNode(f);
+ if (wn == null) return null; // JBCACHE-1297
DataVersion v = wn.getVersion();
if (wn.isVersioningImplicit())
Show replies by date