Message:
The following issue has been closed.
Resolver: Gavin King
Date: Sat, 13 Sep 2003 1:20 AM
Thanks. Actually this only affected CVS, not the current release. Good you found it!
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-333
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HB-333
Summary: NullPointer in SessionFactoryImpl.close
Type: Bug
Status: Closed
Priority: Minor
Resolution: FIXED
Project: Hibernate2
Components:
core
Fix Fors:
2.1 final
Versions:
2.1 beta 3
Assignee:
Reporter: Ralph Schaer
Created: Sat, 13 Sep 2003 12:39 AM
Updated: Sat, 13 Sep 2003 1:20 AM
Environment: windows xp, java 1.4.2_01, hibernate cvs version 09/13/2003
Description:
When my program calls the close method of SessionFactory it throws a NullPointerException in line 520
queryCache.destroy();
queryCache is null when query cache is disabled.
see the constructor
if ( settings.isQueryCacheEnabled() ) {
queryCache = new QueryCache( settings.getCacheProvider(), properties );
}
else {
queryCache = null;
}
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
|