You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by bu...@apache.org on 2003/12/01 20:58:43 UTC
DO NOT REPLY [Bug 25122] New: -
store.get always returns null
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25122>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25122
store.get always returns null
Summary: store.get always returns null
Product: Avalon
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: Critical
Priority: Other
Component: Excalibur
AssignedTo: dev@avalon.apache.org
ReportedBy: ronald@innovation.ch
A bug in AbstractReadWriteStore.java causes get() to always return null.
Here's the patch, against the current CVS:
Index: src/java/org/apache/excalibur/store/impl/AbstractReadWriteStore.java
===================================================================
RCS file:
/home/cvspublic/avalon-excalibur/store/src/java/org/apache/excalibur/store/impl/AbstractReadWriteStore.java,v
retrieving revision 1.1.1.1
diff -u -b -B -w -r1.1.1.1 AbstractReadWriteStore.java
--- src/java/org/apache/excalibur/store/impl/AbstractReadWriteStore.java
9 Nov 2003 12:47:17 -0000 1.1.1.1
+++ src/java/org/apache/excalibur/store/impl/AbstractReadWriteStore.java
1 Dec 2003 19:27:34 -0000
@@ -90,7 +90,7 @@
sync.acquire();
try
{
- this.doGet(key);
+ value = this.doGet(key);
}
finally
{
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org