[OSUSER-5] the seesionFactory is null in propertySet module when using OSUser Created: 11/Nov/03  Updated: 11/Nov/03

Status: Open
Project: osuser
Component/s: www
Affects Version/s: current
Fix Version/s: milestone 1

Type: Bug Priority: Blocker
Reporter: simonxikun Assignee: osuser-issues
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Windows 2000
Platform: PC


Issuezilla Id: 5

 Description   

when using OSUser with hibernate provider, I set email by user.setEmail(), but I
get the NullPointException. After tracking some code, I find that in PropertySet
module, it could build the SessionFactory of hibernate.

16:24:12,647 DEBUG HibernatePropertySet:120 - Setting up property set with
hibernate provider passed in args.
16:24:12,657 INFO DefaultHibernateConfigurationProvider:49 - ***shit session
factory is null**added by simon xikun*
16:24:12,677 INFO HibernatePropertySetDAOImpl:40 - in the
HibernatePropertySetDAOImpl's constructor method, the sssionFactory is null
added by simonxikun
16:24:12,687 INFO HibernatePropertySetDAOImpl:98 - session factory is null ----
added by simon xikun

I added some log code in the source code and get the info above.


Generated at Tue Apr 28 20:41:56 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.