|
From: <leg...@at...> - 2003-09-12 03:29:29
|
The following comment has been added to this issue:
Author: Gavin King
Created: Thu, 11 Sep 2003 10:28 PM
Body:
So the exception still occurs, even with that change?
Well, you need to submit actual working (broken) code, not code fragments. Code fragments are useless.
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-321
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HB-321
Summary: could not create JCS region: NullPointerException
Type: Bug
Status: Unassigned
Priority: Major
Project: Hibernate2
Components:
core
Versions:
2.0.3
Assignee:
Reporter: John Kristian
Created: Tue, 9 Sep 2003 6:42 PM
Updated: Wed, 10 Sep 2003 7:58 PM
Environment: Windows XP Professional, JBoss 3, Microsoft SQL Server 2000
Description:
With Hibernate 2.0.3 (but not 2.0.2), the following error occurs.
2003-09-09 16:25:11,453 ERROR [net.sf.hibernate.cache.JCSCache] could not create JCS region
java.lang.NullPointerException
at org.apache.jcs.engine.memory.lru.LRUMemoryCache.update(LRUMemoryCache.java:116)
at org.apache.jcs.engine.control.CompositeCache.update(CompositeCache.java:241)
at org.apache.jcs.engine.control.CompositeCache.update(CompositeCache.java:200)
at org.apache.jcs.access.CacheAccess.put(CacheAccess.java:311)
at org.apache.jcs.access.CacheAccess.put(CacheAccess.java:279)
at net.sf.hibernate.cache.JCSCache.put(JCSCache.java:36)
at net.sf.hibernate.cache.ReadWriteCache.put(ReadWriteCache.java:64)
at net.sf.hibernate.impl.SessionImpl.initializeEntity(SessionImpl.java:1966)
at net.sf.hibernate.loader.Loader.doFind(Loader.java:196)
at net.sf.hibernate.loader.Loader.loadEntity(Loader.java:587)
at net.sf.hibernate.loader.EntityLoader.load(EntityLoader.java:42)
at net.sf.hibernate.persister.EntityPersister.load(EntityPersister.java:396)
at net.sf.hibernate.impl.SessionImpl.doLoad(SessionImpl.java:1889)
at net.sf.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:1757)
at net.sf.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:1716)
at net.sf.hibernate.type.ManyToOneType.resolveIdentifier(ManyToOneType.java:62)
at net.sf.hibernate.type.EntityType.assemble(EntityType.java:93)
at net.sf.hibernate.collection.Set.<init>(Set.java:94)
at net.sf.hibernate.type.SetType.assembleCachedCollection(SetType.java:36)
at net.sf.hibernate.collection.CollectionPersister.getCachedCollection(CollectionPersister.java:308)
at net.sf.hibernate.type.PersistentCollectionType.getCollection(PersistentCollectionType.java:66)
at net.sf.hibernate.type.PersistentCollectionType.resolveIdentifier(PersistentCollectionType.java:177)
at net.sf.hibernate.type.PersistentCollectionType.assemble(PersistentCollectionType.java:129)
at net.sf.hibernate.impl.CacheEntry.assemble(CacheEntry.java:53)
at net.sf.hibernate.impl.CacheEntry.assemble(CacheEntry.java:45)
at net.sf.hibernate.impl.SessionImpl.doLoad(SessionImpl.java:1872)
at net.sf.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:1757)
at net.sf.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:1716)
at net.sf.hibernate.type.ManyToOneType.resolveIdentifier(ManyToOneType.java:62)
at net.sf.hibernate.type.EntityType.assemble(EntityType.java:93)
at net.sf.hibernate.impl.CacheEntry.assemble(CacheEntry.java:53)
at net.sf.hibernate.impl.CacheEntry.assemble(CacheEntry.java:45)
at net.sf.hibernate.impl.SessionImpl.doLoad(SessionImpl.java:1872)
at net.sf.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:1757)
at net.sf.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:1716)
at net.sf.hibernate.type.ManyToOneType.resolveIdentifier(ManyToOneType.java:62)
at net.sf.hibernate.type.EntityType.assemble(EntityType.java:93)
at net.sf.hibernate.collection.Set.<init>(Set.java:94)
at net.sf.hibernate.type.SetType.assembleCachedCollection(SetType.java:36)
at net.sf.hibernate.collection.CollectionPersister.getCachedCollection(CollectionPersister.java:308)
at net.sf.hibernate.type.PersistentCollectionType.getCollection(PersistentCollectionType.java:66)
at net.sf.hibernate.type.PersistentCollectionType.resolveIdentifier(PersistentCollectionType.java:177)
at net.sf.hibernate.type.PersistentCollectionType.assemble(PersistentCollectionType.java:129)
at net.sf.hibernate.impl.CacheEntry.assemble(CacheEntry.java:53)
at net.sf.hibernate.impl.CacheEntry.assemble(CacheEntry.java:45)
at net.sf.hibernate.impl.SessionImpl.doLoad(SessionImpl.java:1872)
at net.sf.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:1757)
at net.sf.hibernate.impl.SessionImpl.load(SessionImpl.java:1688)
at com.docent.lms.entities.reference.GeneratedUser$Factory.getById(GeneratedUser.java:456)
at com.docent.lms.web.Visit.getUser(Visit.java:252)
---------------------------------------------------------------------
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
|