java.lang.NullPointerException

Hibernate JIRA | udd | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    I have a web application wherein I make a simple query - select conviction from Conviction conviction with a custom where clause. When there is no matching data, the exception as mentioned below is not thrown but when there is a matching row found, the exception is thrown back. I believe this bug relates to the bug in Hibernate when the classes are packaged in a signed JAR. The only reason I am getting this error is because all my classes are packaged in a JAR file and the same query works when the class is locally used on a command line. Hibernate: select conviction0_.CONVICTION_ID as CONVICTION1_8_, conviction0_.OFFENSE_COUNTRY as OFFE NSE2_8_, conviction0_.OFFENSE_STATE as OFFENSE3_8_, conviction0_.OFFENSE_CODE as OFFENSE4_8_, convic tion0_.OFFENSE_DATE as OFFENSE5_8_, conviction0_.OFFENSE_CITY as OFFENSE6_8_, conviction0_.OFFENSE_C OUNTY as OFFENSE7_8_, conviction0_.CONVICTION_DATE as CONVICTION8_8_, conviction0_.OFFENSE_CMV as OF FENSE9_8_, conviction0_.OFFENSE_HAZMAT as OFFENSE10_8_, conviction0_.OFFENSE_CDL as OFFENSE11_8_, co nviction0_.OFFENSE_ACCIDENT as OFFENSE12_8_, conviction0_.ACCIDENT_SEVERITY as ACCIDENT13_8_, convic tion0_.ACCIDENT_LOC as ACCIDENT14_8_, conviction0_.ACCIDENT_DATE as ACCIDENT15_8_, conviction0_.CASE _NO as CASE16_8_, conviction0_.COURT_NAME as COURT17_8_, conviction0_.JOP_PRECINCTNO as JOP18_8_, co nviction0_.JOP_PLACENO as JOP19_8_, conviction0_.COURT_CITY as COURT20_8_, conviction0_.COURT_COUNTY as COURT21_8_, conviction0_.DWI_EDINFO as DWI22_8_, conviction0_.DWIED_EXTDATE as DWIED23_8_, convi ction0_.DRUGED_REQ as DRUGED24_8_, conviction0_.IGNT_INTLCK as IGNT25_8_, conviction0_.COURT_ORDER_N OENF as COURT26_8_, conviction0_.ACD_DETAIL as ACD27_8_, conviction0_.OUTSTATE_COURT_CITY as OUTSTAT E28_8_, conviction0_.OUTSTATE_COURT_COUNTY as OUTSTATE29_8_, conviction0_.REP_AGENCY as REP30_8_, co nviction0_.ENFACTION_BEGDATE as ENFACTION31_8_, conviction0_.ENFACTION_ENDDATE as ENFACTION32_8_, co nviction0_.STATUS as STATUS8_, conviction0_.NOTICE_DATE as NOTICE34_8_, conviction0_.LIC_SURRENDER a s LIC35_8_, conviction0_.APPLICANT_ID as APPLICANT36_8_ from CONVICTION conviction0_ where convictio n0_.APPLICANT_ID=? and conviction0_.OFFENSE_DATE=? and conviction0_.OFFENSE_CODE=? and conviction0_. OFFENSE_COUNTY=? java.lang.NullPointerException at org.hibernate.tuple.AbstractEntityTuplizer.createProxy(AbstractEntityTuplizer.java:372) at org.hibernate.persister.entity.AbstractEntityPersister.createProxy(AbstractEntityPersiste r.java:3121) at org.hibernate.event.def.DefaultLoadEventListener.createProxyIfNecessary(DefaultLoadEventL istener.java:232) at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.jav a:173) at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:87) at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:869) at org.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:838) at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:266) at org.hibernate.type.EntityType.resolve(EntityType.java:303) at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:113) at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:842) at org.hibernate.loader.Loader.doQuery(Loader.java:717) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224) at org.hibernate.loader.Loader.doList(Loader.java:2150) at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029) at org.hibernate.loader.Loader.list(Loader.java:2024) at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:369) at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:300) at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:146) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1093) at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79) at txdps.dl.bpr.di.data.dao.ConvictionDAO.search(ConvictionDAO.java:87) at txdps.dl.bpr.di.business.ActionBusiness.search(ActionBusiness.java:18) at txdps.dl.bpr.di.controller.ConvictionController.getTargetPage(ConvictionController.java:1 59) at org.springframework.web.servlet.mvc.AbstractWizardFormController.processFormSubmission(Ab stractWizardFormController.java:503) at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(Abstract FormController.java:256) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.j ava:139) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControlle rHandlerAdapter.java:44) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:684) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:625) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:392 ) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:357) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.jav a:1006) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletC ontext.java:6718) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:37 64) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

    Hibernate JIRA | 1 decade ago | Neeraj Narayan
    java.lang.NullPointerException
  2. 0

    I have a web application wherein I make a simple query - select conviction from Conviction conviction with a custom where clause. When there is no matching data, the exception as mentioned below is not thrown but when there is a matching row found, the exception is thrown back. I believe this bug relates to the bug in Hibernate when the classes are packaged in a signed JAR. The only reason I am getting this error is because all my classes are packaged in a JAR file and the same query works when the class is locally used on a command line. Hibernate: select conviction0_.CONVICTION_ID as CONVICTION1_8_, conviction0_.OFFENSE_COUNTRY as OFFE NSE2_8_, conviction0_.OFFENSE_STATE as OFFENSE3_8_, conviction0_.OFFENSE_CODE as OFFENSE4_8_, convic tion0_.OFFENSE_DATE as OFFENSE5_8_, conviction0_.OFFENSE_CITY as OFFENSE6_8_, conviction0_.OFFENSE_C OUNTY as OFFENSE7_8_, conviction0_.CONVICTION_DATE as CONVICTION8_8_, conviction0_.OFFENSE_CMV as OF FENSE9_8_, conviction0_.OFFENSE_HAZMAT as OFFENSE10_8_, conviction0_.OFFENSE_CDL as OFFENSE11_8_, co nviction0_.OFFENSE_ACCIDENT as OFFENSE12_8_, conviction0_.ACCIDENT_SEVERITY as ACCIDENT13_8_, convic tion0_.ACCIDENT_LOC as ACCIDENT14_8_, conviction0_.ACCIDENT_DATE as ACCIDENT15_8_, conviction0_.CASE _NO as CASE16_8_, conviction0_.COURT_NAME as COURT17_8_, conviction0_.JOP_PRECINCTNO as JOP18_8_, co nviction0_.JOP_PLACENO as JOP19_8_, conviction0_.COURT_CITY as COURT20_8_, conviction0_.COURT_COUNTY as COURT21_8_, conviction0_.DWI_EDINFO as DWI22_8_, conviction0_.DWIED_EXTDATE as DWIED23_8_, convi ction0_.DRUGED_REQ as DRUGED24_8_, conviction0_.IGNT_INTLCK as IGNT25_8_, conviction0_.COURT_ORDER_N OENF as COURT26_8_, conviction0_.ACD_DETAIL as ACD27_8_, conviction0_.OUTSTATE_COURT_CITY as OUTSTAT E28_8_, conviction0_.OUTSTATE_COURT_COUNTY as OUTSTATE29_8_, conviction0_.REP_AGENCY as REP30_8_, co nviction0_.ENFACTION_BEGDATE as ENFACTION31_8_, conviction0_.ENFACTION_ENDDATE as ENFACTION32_8_, co nviction0_.STATUS as STATUS8_, conviction0_.NOTICE_DATE as NOTICE34_8_, conviction0_.LIC_SURRENDER a s LIC35_8_, conviction0_.APPLICANT_ID as APPLICANT36_8_ from CONVICTION conviction0_ where convictio n0_.APPLICANT_ID=? and conviction0_.OFFENSE_DATE=? and conviction0_.OFFENSE_CODE=? and conviction0_. OFFENSE_COUNTY=? java.lang.NullPointerException at org.hibernate.tuple.AbstractEntityTuplizer.createProxy(AbstractEntityTuplizer.java:372) at org.hibernate.persister.entity.AbstractEntityPersister.createProxy(AbstractEntityPersiste r.java:3121) at org.hibernate.event.def.DefaultLoadEventListener.createProxyIfNecessary(DefaultLoadEventL istener.java:232) at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.jav a:173) at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:87) at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:869) at org.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:838) at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:266) at org.hibernate.type.EntityType.resolve(EntityType.java:303) at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:113) at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:842) at org.hibernate.loader.Loader.doQuery(Loader.java:717) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224) at org.hibernate.loader.Loader.doList(Loader.java:2150) at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029) at org.hibernate.loader.Loader.list(Loader.java:2024) at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:369) at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:300) at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:146) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1093) at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79) at txdps.dl.bpr.di.data.dao.ConvictionDAO.search(ConvictionDAO.java:87) at txdps.dl.bpr.di.business.ActionBusiness.search(ActionBusiness.java:18) at txdps.dl.bpr.di.controller.ConvictionController.getTargetPage(ConvictionController.java:1 59) at org.springframework.web.servlet.mvc.AbstractWizardFormController.processFormSubmission(Ab stractWizardFormController.java:503) at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(Abstract FormController.java:256) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.j ava:139) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControlle rHandlerAdapter.java:44) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:684) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:625) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:392 ) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:357) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.jav a:1006) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletC ontext.java:6718) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:37 64) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

    Hibernate JIRA | 1 decade ago | udd
    java.lang.NullPointerException
  3. 0

    I have a web application wherein I make a simple query - select conviction from Conviction conviction with a custom where clause. When there is no matching data, the exception as mentioned below is not thrown but when there is a matching row found, the exception is thrown back. I believe this bug relates to the bug in Hibernate when the classes are packaged in a signed JAR. The only reason I am getting this error is because all my classes are packaged in a JAR file and the same query works when the class is locally used on a command line. Hibernate: select conviction0_.CONVICTION_ID as CONVICTION1_8_, conviction0_.OFFENSE_COUNTRY as OFFE NSE2_8_, conviction0_.OFFENSE_STATE as OFFENSE3_8_, conviction0_.OFFENSE_CODE as OFFENSE4_8_, convic tion0_.OFFENSE_DATE as OFFENSE5_8_, conviction0_.OFFENSE_CITY as OFFENSE6_8_, conviction0_.OFFENSE_C OUNTY as OFFENSE7_8_, conviction0_.CONVICTION_DATE as CONVICTION8_8_, conviction0_.OFFENSE_CMV as OF FENSE9_8_, conviction0_.OFFENSE_HAZMAT as OFFENSE10_8_, conviction0_.OFFENSE_CDL as OFFENSE11_8_, co nviction0_.OFFENSE_ACCIDENT as OFFENSE12_8_, conviction0_.ACCIDENT_SEVERITY as ACCIDENT13_8_, convic tion0_.ACCIDENT_LOC as ACCIDENT14_8_, conviction0_.ACCIDENT_DATE as ACCIDENT15_8_, conviction0_.CASE _NO as CASE16_8_, conviction0_.COURT_NAME as COURT17_8_, conviction0_.JOP_PRECINCTNO as JOP18_8_, co nviction0_.JOP_PLACENO as JOP19_8_, conviction0_.COURT_CITY as COURT20_8_, conviction0_.COURT_COUNTY as COURT21_8_, conviction0_.DWI_EDINFO as DWI22_8_, conviction0_.DWIED_EXTDATE as DWIED23_8_, convi ction0_.DRUGED_REQ as DRUGED24_8_, conviction0_.IGNT_INTLCK as IGNT25_8_, conviction0_.COURT_ORDER_N OENF as COURT26_8_, conviction0_.ACD_DETAIL as ACD27_8_, conviction0_.OUTSTATE_COURT_CITY as OUTSTAT E28_8_, conviction0_.OUTSTATE_COURT_COUNTY as OUTSTATE29_8_, conviction0_.REP_AGENCY as REP30_8_, co nviction0_.ENFACTION_BEGDATE as ENFACTION31_8_, conviction0_.ENFACTION_ENDDATE as ENFACTION32_8_, co nviction0_.STATUS as STATUS8_, conviction0_.NOTICE_DATE as NOTICE34_8_, conviction0_.LIC_SURRENDER a s LIC35_8_, conviction0_.APPLICANT_ID as APPLICANT36_8_ from CONVICTION conviction0_ where convictio n0_.APPLICANT_ID=? and conviction0_.OFFENSE_DATE=? and conviction0_.OFFENSE_CODE=? and conviction0_. OFFENSE_COUNTY=? java.lang.NullPointerException at org.hibernate.tuple.AbstractEntityTuplizer.createProxy(AbstractEntityTuplizer.java:372) at org.hibernate.persister.entity.AbstractEntityPersister.createProxy(AbstractEntityPersiste r.java:3121) at org.hibernate.event.def.DefaultLoadEventListener.createProxyIfNecessary(DefaultLoadEventL istener.java:232) at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.jav a:173) at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:87) at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:869) at org.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:838) at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:266) at org.hibernate.type.EntityType.resolve(EntityType.java:303) at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:113) at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:842) at org.hibernate.loader.Loader.doQuery(Loader.java:717) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224) at org.hibernate.loader.Loader.doList(Loader.java:2150) at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029) at org.hibernate.loader.Loader.list(Loader.java:2024) at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:369) at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:300) at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:146) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1093) at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79) at txdps.dl.bpr.di.data.dao.ConvictionDAO.search(ConvictionDAO.java:87) at txdps.dl.bpr.di.business.ActionBusiness.search(ActionBusiness.java:18) at txdps.dl.bpr.di.controller.ConvictionController.getTargetPage(ConvictionController.java:1 59) at org.springframework.web.servlet.mvc.AbstractWizardFormController.processFormSubmission(Ab stractWizardFormController.java:503) at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(Abstract FormController.java:256) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.j ava:139) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControlle rHandlerAdapter.java:44) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:684) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:625) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:392 ) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:357) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.jav a:1006) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletC ontext.java:6718) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:37 64) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

    Hibernate JIRA | 1 decade ago | Neeraj Narayan
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I have a web application wherein I make a simple query - select conviction from Conviction conviction with a custom where clause. When there is no matching data, the exception as mentioned below is not thrown but when there is a matching row found, the exception is thrown back. I believe this bug relates to the bug in Hibernate when the classes are packaged in a signed JAR. The only reason I am getting this error is because all my classes are packaged in a JAR file and the same query works when the class is locally used on a command line. Hibernate: select conviction0_.CONVICTION_ID as CONVICTION1_8_, conviction0_.OFFENSE_COUNTRY as OFFE NSE2_8_, conviction0_.OFFENSE_STATE as OFFENSE3_8_, conviction0_.OFFENSE_CODE as OFFENSE4_8_, convic tion0_.OFFENSE_DATE as OFFENSE5_8_, conviction0_.OFFENSE_CITY as OFFENSE6_8_, conviction0_.OFFENSE_C OUNTY as OFFENSE7_8_, conviction0_.CONVICTION_DATE as CONVICTION8_8_, conviction0_.OFFENSE_CMV as OF FENSE9_8_, conviction0_.OFFENSE_HAZMAT as OFFENSE10_8_, conviction0_.OFFENSE_CDL as OFFENSE11_8_, co nviction0_.OFFENSE_ACCIDENT as OFFENSE12_8_, conviction0_.ACCIDENT_SEVERITY as ACCIDENT13_8_, convic tion0_.ACCIDENT_LOC as ACCIDENT14_8_, conviction0_.ACCIDENT_DATE as ACCIDENT15_8_, conviction0_.CASE _NO as CASE16_8_, conviction0_.COURT_NAME as COURT17_8_, conviction0_.JOP_PRECINCTNO as JOP18_8_, co nviction0_.JOP_PLACENO as JOP19_8_, conviction0_.COURT_CITY as COURT20_8_, conviction0_.COURT_COUNTY as COURT21_8_, conviction0_.DWI_EDINFO as DWI22_8_, conviction0_.DWIED_EXTDATE as DWIED23_8_, convi ction0_.DRUGED_REQ as DRUGED24_8_, conviction0_.IGNT_INTLCK as IGNT25_8_, conviction0_.COURT_ORDER_N OENF as COURT26_8_, conviction0_.ACD_DETAIL as ACD27_8_, conviction0_.OUTSTATE_COURT_CITY as OUTSTAT E28_8_, conviction0_.OUTSTATE_COURT_COUNTY as OUTSTATE29_8_, conviction0_.REP_AGENCY as REP30_8_, co nviction0_.ENFACTION_BEGDATE as ENFACTION31_8_, conviction0_.ENFACTION_ENDDATE as ENFACTION32_8_, co nviction0_.STATUS as STATUS8_, conviction0_.NOTICE_DATE as NOTICE34_8_, conviction0_.LIC_SURRENDER a s LIC35_8_, conviction0_.APPLICANT_ID as APPLICANT36_8_ from CONVICTION conviction0_ where convictio n0_.APPLICANT_ID=? and conviction0_.OFFENSE_DATE=? and conviction0_.OFFENSE_CODE=? and conviction0_. OFFENSE_COUNTY=? java.lang.NullPointerException at org.hibernate.tuple.AbstractEntityTuplizer.createProxy(AbstractEntityTuplizer.java:372) at org.hibernate.persister.entity.AbstractEntityPersister.createProxy(AbstractEntityPersiste r.java:3121) at org.hibernate.event.def.DefaultLoadEventListener.createProxyIfNecessary(DefaultLoadEventL istener.java:232) at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.jav a:173) at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:87) at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:869) at org.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:838) at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:266) at org.hibernate.type.EntityType.resolve(EntityType.java:303) at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:113) at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:842) at org.hibernate.loader.Loader.doQuery(Loader.java:717) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224) at org.hibernate.loader.Loader.doList(Loader.java:2150) at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029) at org.hibernate.loader.Loader.list(Loader.java:2024) at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:369) at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:300) at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:146) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1093) at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79) at txdps.dl.bpr.di.data.dao.ConvictionDAO.search(ConvictionDAO.java:87) at txdps.dl.bpr.di.business.ActionBusiness.search(ActionBusiness.java:18) at txdps.dl.bpr.di.controller.ConvictionController.getTargetPage(ConvictionController.java:1 59) at org.springframework.web.servlet.mvc.AbstractWizardFormController.processFormSubmission(Ab stractWizardFormController.java:503) at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(Abstract FormController.java:256) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.j ava:139) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControlle rHandlerAdapter.java:44) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:684) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:625) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:392 ) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:357) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.jav a:1006) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletC ontext.java:6718) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:37 64) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

    Hibernate JIRA | 1 decade ago | udd
    java.lang.NullPointerException
  6. 0

    Hibernate problem!

    Coderanch | 1 decade ago | Shamu Somasundaram
    java.lang.NullPointerException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.hibernate.tuple.AbstractEntityTuplizer.createProxy()
    2. Hibernate
      AbstractEntityPersister.createProxy
      1. org.hibernate.tuple.AbstractEntityTuplizer.createProxy(AbstractEntityTuplizer.java:372)
      2. org.hibernate.persister.entity.AbstractEntityPersister.createProxy(AbstractEntityPersister.java:3121)
      2 frames
    3. Hibernate
      SessionImpl.internalLoad
      1. org.hibernate.event.def.DefaultLoadEventListener.createProxyIfNecessary(DefaultLoadEventListener.java:232)
      2. org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:173)
      3. org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:87)
      4. org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:869)
      5. org.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:838)
      5 frames
    4. Hibernate
      QueryLoader.list
      1. org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:266)
      2. org.hibernate.type.EntityType.resolve(EntityType.java:303)
      3. org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:113)
      4. org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:842)
      5. org.hibernate.loader.Loader.doQuery(Loader.java:717)
      6. org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
      7. org.hibernate.loader.Loader.doList(Loader.java:2150)
      8. org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029)
      9. org.hibernate.loader.Loader.list(Loader.java:2024)
      10. org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:369)
      10 frames
    5. Hibernate HQL/JP-QL Parser
      QueryTranslatorImpl.list
      1. org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:300)
      1 frame
    6. Hibernate
      QueryImpl.list
      1. org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:146)
      2. org.hibernate.impl.SessionImpl.list(SessionImpl.java:1093)
      3. org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
      3 frames
    7. txdps.dl.bpr
      ConvictionController.getTargetPage
      1. txdps.dl.bpr.di.data.dao.ConvictionDAO.search(ConvictionDAO.java:87)
      2. txdps.dl.bpr.di.business.ActionBusiness.search(ActionBusiness.java:18)
      3. txdps.dl.bpr.di.controller.ConvictionController.getTargetPage(ConvictionController.java:159)
      3 frames
    8. Spring MVC
      FrameworkServlet.doPost
      1. org.springframework.web.servlet.mvc.AbstractWizardFormController.processFormSubmission(AbstractWizardFormController.java:503)
      2. org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:256)
      3. org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:139)
      4. org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44)
      5. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:684)
      6. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:625)
      7. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:392)
      8. org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:357)
      8 frames
    9. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      2 frames
    10. Atmosphere weblogic
      WebAppServletContext$ServletInvocationAction.run
      1. weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
      2. weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
      3. weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
      4. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
      4 frames
    11. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    12. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      1 frame
    13. Atmosphere weblogic
      ServletRequestImpl.execute
      1. weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
      2. weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
      2 frames
    14. weblogic.kernel
      ExecuteThread.run
      1. weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
      2. weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
      2 frames