-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
Looking through the StoreIterator code I noticed the logging statement potentially causes a NPE. It is reasonable to expect that the call to fetchNext() above the logging statement will return null from time to time. If logging is enabled, then this will produce a NPE.
The logging statement should look something like:
log.debug("next() is "+ ((this.next != null) ? this.next.getId().toString() : "null"));
Acceptance criteria