Joined: Mon Mar 24, 2008 3:29 am Posts: 1 Location: chennai
|
Hi Guys,
I am getting following exception while trying to call query.list(); don't know exactly what makes to cause this error.
It looks the resultSet it fetches is null, so only it returns NullPointerException. It might be because of the data I send to the DB.
Please let me know if any one have any answer.
Caused by: java.lang.NullPointerException
at org.hibernate.loader.custom.CustomLoader$Metadata.<init>(CustomLoader.java:521)
at org.hibernate.loader.custom.CustomLoader.autoDiscoverTypes(CustomLoader.java:494)
at org.hibernate.loader.Loader.getResultSet(Loader.java:1796)
at org.hibernate.loader.Loader.doQuery(Loader.java:674)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
at org.hibernate.loader.Loader.doList(Loader.java:2220)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
at org.hibernate.loader.Loader.list(Loader.java:2099)
at org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:289)
at org.hibernate.impl.SessionImpl.listCustomQuery(SessionImpl.java:1695)
at org.hibernate.impl.AbstractSessionImpl.list(AbstractSessionImpl.java:142)
at org.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:152)
at com.ml.credit.dal.or.cdw.CDWORMapping.save(CDWORMapping.java:108)
at com.ml.cce.log.2008_03_20.1
Regards
Bals
|
|