nrm.clas.persistence.PersistenceLayerException

Error finding documents by case

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web44

  • via Unknown by Shorn Tolley,
  • via Unknown by Shorn Tolley,
  • Stack trace

    • nrm.clas.persistence.PersistenceLayerException: Error finding documents by case at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at nrm.clas.ExceptionUtil.instantiateException(ExceptionUtil.java:89) at nrm.clas.ExceptionUtil.createNestedException(ExceptionUtil.java:127) at nrm.clas.ExceptionUtil.createPersistenceLayerException(ExceptionUtil.java:312) at nrm.clas.ExceptionUtil.createPersistenceLayerException(ExceptionUtil.java:291) at nrm.clas.persistence.document.DocumentPersistenceManagerImpl.findDocumentsByCaseDTOs(DocumentPersistenceManagerImpl.java:162) at nrm.clas.persistence.document.test.DocumentPersistenceManagerTest.testFindDocumentsByCaseDTOsWithEmptyCriteria(DocumentPersistenceManagerTest.java:45) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at nrm.clas.test.ClasTestCase.run(ClasTestCase.java:508) Caused by: nrm.clas.common.persistence.PersistenceException: find at nrm.clas.persistence.BasePersistenceManagerImpl.handleError(BasePersistenceManagerImpl.java:97) at nrm.clas.persistence.BasePersistenceManagerImpl.handleError(BasePersistenceManagerImpl.java:116) at nrm.clas.persistence.BasePersistenceManagerImpl.find(BasePersistenceManagerImpl.java:365) at nrm.clas.persistence.document.DocumentPersistenceManagerImpl.findDocumentsByCaseDTOs(DocumentPersistenceManagerImpl.java:159) ... 14 more Caused by: net.sf.hibernate.QueryException: could not instantiate: class nrm.clas.dto.document.CaseDocumentDTO at net.sf.hibernate.hql.QueryTranslator.getResultColumnOrRow(QueryTranslator.java:993) at net.sf.hibernate.loader.Loader.doQuery(Loader.java:221) at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:132) at net.sf.hibernate.loader.Loader.doList(Loader.java:949) at net.sf.hibernate.loader.Loader.list(Loader.java:940) at net.sf.hibernate.hql.QueryTranslator.list(QueryTranslator.java:833) at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1475) at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1454) at nrm.clas.persistence.BasePersistenceManagerImpl.find(BasePersistenceManagerImpl.java:359) ... 17 more Caused by: java.lang.NullPointerException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at net.sf.hibernate.hql.QueryTranslator.getResultColumnOrRow(QueryTranslator.java:990) ... 25 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    rprp
    2 times, last one
    Unknown visitor
    Unknown visitorOnce,