|
From: <leg...@at...> - 2003-08-11 10:21:14
|
The following issue has been updated:
Updater: Gavin King (mailto:ga...@in...)
Date: Mon, 11 Aug 2003 5:20 AM
Comment:
Thanks. This is why we do betas ;)
Changes:
priority changed from Major
---------------------------------------------------------------------
For a full history of the issue, see:
http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-246&page=history
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-246
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HB-246
Summary: NPE in NormalizedEntityPersister.getIdentifierColumnNames()
Type: Bug
Status: Unassigned
Priority: Critical
Project: Hibernate2
Components:
core
Versions:
2.1 beta 1
Assignee:
Reporter: Thomas Jenny
Created: Mon, 11 Aug 2003 4:50 AM
Updated: Mon, 11 Aug 2003 5:20 AM
Description:
the mapping of my project worked fine in hibernate 2.0.x;
with 2.1.beta1, the following exception is thrown when I try to
build the session factory:
java.lang.NullPointerException
at net.sf.hibernate.persister.NormalizedEntityPersister.getIdentifierColumnNames(NormalizedEntityPersister.java:1075)
at net.sf.hibernate.persister.AbstractEntityPersister.<init>(AbstractEntityPersister.java:699)
at net.sf.hibernate.persister.NormalizedEntityPersister.<init>(NormalizedEntityPersister.java:646)
at net.sf.hibernate.persister.PersisterFactory.create(PersisterFactory.java:32)
at net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:137)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:647)
at ...
Looking at the code in AbstractEntityPersister and NormalizedEntityPersister, it seems that the constructor of the super class is calling getIdentifierColumnNames(), but the fields used in this getter haven't been initialized yet.
---------------------------------------------------------------------
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
|