Message:
The following issue has been closed.
Resolver: Gavin King
Date: Mon, 24 Nov 2003 7:49 PM
The user did not respond or give sufficient information.
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-482
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HB-482
Summary: NPE in net.sf.hibernate.impl.SessionImpl
Type: Bug
Status: Closed
Priority: Major
Resolution: REJECTED
Project: Hibernate2
Versions:
2.1 beta 4
Assignee:
Reporter: Michail Jekimov
Created: Thu, 20 Nov 2003 8:50 AM
Updated: Mon, 24 Nov 2003 7:49 PM
Environment: WinXP Professional, JDK 1.4, Tomcat 4.1.24
Description:
I get a NPE in the following method in
if (!ce.initialized)
It happens sporadically but rather often.
/**
* called by a collection that wants to initialize itself
*/
public void initialize(PersistentCollection collection, boolean writing) throws HibernateException {
CollectionEntry ce = getCollectionEntry(collection);
if ( !ce.initialized ) {
if ( log.isTraceEnabled() ) log.trace( "initializing collection " + MessageHelper.infoString(ce.loadedPersister, ce.loadedKey) );
try {
ce.loadedPersister.getInitializer().initialize(ce.loadedKey, this);
}
catch (SQLException sqle) {
throw new JDBCException("SQLException initializing collection", sqle);
}
}
}
---------------------------------------------------------------------
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
|