java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • When executing the HQL query: select o.codHistoricoBloqueio , o.codHistoricoContrato.codSwspsubinteractid.numSolicitacao , o.swdatecreated , o.dscStatusBloqueio , o.dscMotivoBloqueio , o.dscTipoBloqueio , o.dscObservacaoBloqueio , o.vlrCobradoBloqueio , o.swcreatedby , o.dscCanal from br.com.sysmap.tcac.bean.SolHistoricoBloqueio as o left outer join o.codHistoricoContrato where o.codSwagreementid.swagreementid = 3038963.0 Is throwing a NullPointerException. The variable fromElement is null when getting from dot.getImpliedJoin(). It´s ok if i remove the "left outer join o.codHistoricoContrato". java.lang.NullPointerException at org.hibernate.hql.ast.HqlSqlWalker.createFromJoinElement(HqlSqlWalker.java:264) at org.hibernate.hql.antlr.HqlSqlBaseWalker.joinElement(HqlSqlBaseWalker.java:3022) at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:2841) at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:2719) at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:513) at org.hibernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:371) at org.hibernate.hql.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:201) at org.hibernate.hql.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:151) at org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:189) at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:130) at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:83) at org.hibernate.impl.SessionFactoryImpl.getQuery(SessionFactoryImpl.java:424) at org.hibernate.impl.SessionImpl.getQueries(SessionImpl.java:870) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:820) at org.hibernate.impl.QueryImpl.list(QueryImpl.java:74) at br.com.sysmap.sunlight.dao.hibernate.HibBaseDAO$3.doInHibernate(HibBaseDAO.java:357) at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:312) at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:288) at br.com.sysmap.sunlight.dao.hibernate.HibBaseDAO.listWithFields(HibBaseDAO.java:256) at br.com.sysmap.sunlight.service.impl.BaseServiceImpl.listWithFields(BaseServiceImpl.java:151) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:288) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:57) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174) at $Proxy50.listWithFields(Unknown Source) at br.com.sysmap.sunlight.web.components.SLDataSource.getCollection(SLDataSource.java:261) at br.com.sysmap.sunlight.web.components.SLAbstractGrid.getCollection(SLAbstractGrid.java:124) at br.com.sysmap.sunlight.web.components.SLSummary.getCollection(SLSummary.java:81) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.taglibs.standard.lang.jstl.ArraySuffix.evaluate(ArraySuffix.java:278) at org.apache.taglibs.standard.lang.jstl.ComplexValue.evaluate(ComplexValue.java:107) at org.apache.taglibs.standard.lang.jstl.ELEvaluator.evaluate(ELEvaluator.java:204) at org.apache.taglibs.standard.lang.jstl.ELEvaluator.evaluate(ELEvaluator.java:163) at org.apache.taglibs.standard.lang.jstl.Evaluator.evaluate(Evaluator.java:101) at org.apache.taglibs.standard.lang.jstl.Evaluator.evaluate(Evaluator.java:129) at org.apache.taglibs.standard.lang.support.ExpressionEvaluatorManager.evaluate(ExpressionEvaluatorManager.java:75) at org.displaytag.tags.el.ExpressionEvaluator.eval(ExpressionEvaluator.java:65) at org.displaytag.tags.el.ELTableTag.evaluateExpressions(ELTableTag.java:381) at org.displaytag.tags.el.ELTableTag.doStartTag(ELTableTag.java:319) at org.apache.jsp.tag.web.summary_tag._jspx_meth_display_table_0(org.apache.jsp.tag.web.summary_tag:808) at org.apache.jsp.tag.web.summary_tag.doTag(org.apache.jsp.tag.web.summary_tag:298) at org.apache.jsp.pages.BloqueioDesbloqueio_jsp._jspx_meth_sl_summary_0(org.apache.jsp.pages.BloqueioDesbloqueio_jsp:435) at org.apache.jsp.pages.BloqueioDesbloqueio_jsp.access$23(org.apache.jsp.pages.BloqueioDesbloqueio_jsp:421) at org.apache.jsp.pages.BloqueioDesbloqueio_jsp$BloqueioDesbloqueio_jspHelper.invoke0(org.apache.jsp.pages.BloqueioDesbloqueio_jsp:999) at org.apache.jsp.pages.BloqueioDesbloqueio_jsp$BloqueioDesbloqueio_jspHelper.invoke(org.apache.jsp.pages.BloqueioDesbloqueio_jsp:1153) at org.apache.jsp.tag.web.screen_tag$screen_tagHelper.invoke0(org.apache.jsp.tag.web.screen_tag:473) at org.apache.jsp.tag.web.screen_tag$screen_tagHelper.invoke(org.apache.jsp.tag.web.screen_tag:503) at org.apache.jsp.tag.web.form_tag.doTag(org.apache.jsp.tag.web.form_tag:226) at org.apache.jsp.tag.web.screen_tag._jspx_meth_sl_form_0(org.apache.jsp.tag.web.screen_tag:401) at org.apache.jsp.tag.web.screen_tag._jspx_meth_c_when_0(org.apache.jsp.tag.web.screen_tag:369) at org.apache.jsp.tag.web.screen_tag._jspx_meth_c_choose_0(org.apache.jsp.tag.web.screen_tag:335) at org.apache.jsp.tag.web.screen_tag._jspx_meth_html_html_0(org.apache.jsp.tag.web.screen_tag:253) at org.apache.jsp.tag.web.screen_tag.doTag(org.apache.jsp.tag.web.screen_tag:173) at org.apache.jsp.pages.BloqueioDesbloqueio_jsp._jspx_meth_sl_screen_0(org.apache.jsp.pages.BloqueioDesbloqueio_jsp:98) at org.apache.jsp.pages.BloqueioDesbloqueio_jsp._jspService(org.apache.jsp.pages.BloqueioDesbloqueio_jsp:68) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063) at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263) at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386) at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:318) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:172) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:534)
    via by Ezio Anselmo Mazarim Fernandes,
  • When executing the HQL query: select o.codHistoricoBloqueio , o.codHistoricoContrato.codSwspsubinteractid.numSolicitacao , o.swdatecreated , o.dscStatusBloqueio , o.dscMotivoBloqueio , o.dscTipoBloqueio , o.dscObservacaoBloqueio , o.vlrCobradoBloqueio , o.swcreatedby , o.dscCanal from br.com.sysmap.tcac.bean.SolHistoricoBloqueio as o left outer join o.codHistoricoContrato where o.codSwagreementid.swagreementid = 3038963.0 Is throwing a NullPointerException. The variable fromElement is null when getting from dot.getImpliedJoin(). It´s ok if i remove the "left outer join o.codHistoricoContrato". java.lang.NullPointerException at org.hibernate.hql.ast.HqlSqlWalker.createFromJoinElement(HqlSqlWalker.java:264) at org.hibernate.hql.antlr.HqlSqlBaseWalker.joinElement(HqlSqlBaseWalker.java:3022) at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:2841) at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:2719) at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:513) at org.hibernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:371) at org.hibernate.hql.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:201) at org.hibernate.hql.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:151) at org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:189) at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:130) at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:83) at org.hibernate.impl.SessionFactoryImpl.getQuery(SessionFactoryImpl.java:424) at org.hibernate.impl.SessionImpl.getQueries(SessionImpl.java:870) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:820) at org.hibernate.impl.QueryImpl.list(QueryImpl.java:74) at br.com.sysmap.sunlight.dao.hibernate.HibBaseDAO$3.doInHibernate(HibBaseDAO.java:357) at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:312) at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:288) at br.com.sysmap.sunlight.dao.hibernate.HibBaseDAO.listWithFields(HibBaseDAO.java:256) at br.com.sysmap.sunlight.service.impl.BaseServiceImpl.listWithFields(BaseServiceImpl.java:151) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:288) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:57) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174) at $Proxy50.listWithFields(Unknown Source) at br.com.sysmap.sunlight.web.components.SLDataSource.getCollection(SLDataSource.java:261) at br.com.sysmap.sunlight.web.components.SLAbstractGrid.getCollection(SLAbstractGrid.java:124) at br.com.sysmap.sunlight.web.components.SLSummary.getCollection(SLSummary.java:81) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.taglibs.standard.lang.jstl.ArraySuffix.evaluate(ArraySuffix.java:278) at org.apache.taglibs.standard.lang.jstl.ComplexValue.evaluate(ComplexValue.java:107) at org.apache.taglibs.standard.lang.jstl.ELEvaluator.evaluate(ELEvaluator.java:204) at org.apache.taglibs.standard.lang.jstl.ELEvaluator.evaluate(ELEvaluator.java:163) at org.apache.taglibs.standard.lang.jstl.Evaluator.evaluate(Evaluator.java:101) at org.apache.taglibs.standard.lang.jstl.Evaluator.evaluate(Evaluator.java:129) at org.apache.taglibs.standard.lang.support.ExpressionEvaluatorManager.evaluate(ExpressionEvaluatorManager.java:75) at org.displaytag.tags.el.ExpressionEvaluator.eval(ExpressionEvaluator.java:65) at org.displaytag.tags.el.ELTableTag.evaluateExpressions(ELTableTag.java:381) at org.displaytag.tags.el.ELTableTag.doStartTag(ELTableTag.java:319) at org.apache.jsp.tag.web.summary_tag._jspx_meth_display_table_0(org.apache.jsp.tag.web.summary_tag:808) at org.apache.jsp.tag.web.summary_tag.doTag(org.apache.jsp.tag.web.summary_tag:298) at org.apache.jsp.pages.BloqueioDesbloqueio_jsp._jspx_meth_sl_summary_0(org.apache.jsp.pages.BloqueioDesbloqueio_jsp:435) at org.apache.jsp.pages.BloqueioDesbloqueio_jsp.access$23(org.apache.jsp.pages.BloqueioDesbloqueio_jsp:421) at org.apache.jsp.pages.BloqueioDesbloqueio_jsp$BloqueioDesbloqueio_jspHelper.invoke0(org.apache.jsp.pages.BloqueioDesbloqueio_jsp:999) at org.apache.jsp.pages.BloqueioDesbloqueio_jsp$BloqueioDesbloqueio_jspHelper.invoke(org.apache.jsp.pages.BloqueioDesbloqueio_jsp:1153) at org.apache.jsp.tag.web.screen_tag$screen_tagHelper.invoke0(org.apache.jsp.tag.web.screen_tag:473) at org.apache.jsp.tag.web.screen_tag$screen_tagHelper.invoke(org.apache.jsp.tag.web.screen_tag:503) at org.apache.jsp.tag.web.form_tag.doTag(org.apache.jsp.tag.web.form_tag:226) at org.apache.jsp.tag.web.screen_tag._jspx_meth_sl_form_0(org.apache.jsp.tag.web.screen_tag:401) at org.apache.jsp.tag.web.screen_tag._jspx_meth_c_when_0(org.apache.jsp.tag.web.screen_tag:369) at org.apache.jsp.tag.web.screen_tag._jspx_meth_c_choose_0(org.apache.jsp.tag.web.screen_tag:335) at org.apache.jsp.tag.web.screen_tag._jspx_meth_html_html_0(org.apache.jsp.tag.web.screen_tag:253) at org.apache.jsp.tag.web.screen_tag.doTag(org.apache.jsp.tag.web.screen_tag:173) at org.apache.jsp.pages.BloqueioDesbloqueio_jsp._jspx_meth_sl_screen_0(org.apache.jsp.pages.BloqueioDesbloqueio_jsp:98) at org.apache.jsp.pages.BloqueioDesbloqueio_jsp._jspService(org.apache.jsp.pages.BloqueioDesbloqueio_jsp:68) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063) at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263) at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386) at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:318) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:172) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:534)
    via by Ezio Anselmo Mazarim Fernandes,
  • null pointer exception
    via by sakthi ramaraj,
  • null pointer exception
    via by sakthi ramaraj,
  • HQL composite jointure NullPointerException
    via Stack Overflow by tvirgil
    ,
    • java.lang.NullPointerException at org.hibernate.hql.ast.HqlSqlWalker.createFromJoinElement(HqlSqlWalker.java:264) at org.hibernate.hql.antlr.HqlSqlBaseWalker.joinElement(HqlSqlBaseWalker.java:3022) at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:2841) at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:2719) at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:513) at org.hibernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:371) at org.hibernate.hql.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:201) at org.hibernate.hql.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:151) at org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:189) at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:130) at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:83) at org.hibernate.impl.SessionFactoryImpl.getQuery(SessionFactoryImpl.java:424) at org.hibernate.impl.SessionImpl.getQueries(SessionImpl.java:870) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:820) at org.hibernate.impl.QueryImpl.list(QueryImpl.java:74) at br.com.sysmap.sunlight.dao.hibernate.HibBaseDAO$3.doInHibernate(HibBaseDAO.java:357) at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:312) at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:288) at br.com.sysmap.sunlight.dao.hibernate.HibBaseDAO.listWithFields(HibBaseDAO.java:256) at br.com.sysmap.sunlight.service.impl.BaseServiceImpl.listWithFields(BaseServiceImpl.java:151) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:288) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:57) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174) at $Proxy50.listWithFields(Unknown Source) at br.com.sysmap.sunlight.web.components.SLDataSource.getCollection(SLDataSource.java:261) at br.com.sysmap.sunlight.web.components.SLAbstractGrid.getCollection(SLAbstractGrid.java:124) at br.com.sysmap.sunlight.web.components.SLSummary.getCollection(SLSummary.java:81) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.taglibs.standard.lang.jstl.ArraySuffix.evaluate(ArraySuffix.java:278) at org.apache.taglibs.standard.lang.jstl.ComplexValue.evaluate(ComplexValue.java:107) at org.apache.taglibs.standard.lang.jstl.ELEvaluator.evaluate(ELEvaluator.java:204) at org.apache.taglibs.standard.lang.jstl.ELEvaluator.evaluate(ELEvaluator.java:163) at org.apache.taglibs.standard.lang.jstl.Evaluator.evaluate(Evaluator.java:101) at org.apache.taglibs.standard.lang.jstl.Evaluator.evaluate(Evaluator.java:129) at org.apache.taglibs.standard.lang.support.ExpressionEvaluatorManager.evaluate(ExpressionEvaluatorManager.java:75) at org.displaytag.tags.el.ExpressionEvaluator.eval(ExpressionEvaluator.java:65) at org.displaytag.tags.el.ELTableTag.evaluateExpressions(ELTableTag.java:381) at org.displaytag.tags.el.ELTableTag.doStartTag(ELTableTag.java:319) at org.apache.jsp.tag.web.summary_tag._jspx_meth_display_table_0(org.apache.jsp.tag.web.summary_tag:808) at org.apache.jsp.tag.web.summary_tag.doTag(org.apache.jsp.tag.web.summary_tag:298) at org.apache.jsp.pages.BloqueioDesbloqueio_jsp._jspx_meth_sl_summary_0(org.apache.jsp.pages.BloqueioDesbloqueio_jsp:435) at org.apache.jsp.pages.BloqueioDesbloqueio_jsp.access$23(org.apache.jsp.pages.BloqueioDesbloqueio_jsp:421) at org.apache.jsp.pages.BloqueioDesbloqueio_jsp$BloqueioDesbloqueio_jspHelper.invoke0(org.apache.jsp.pages.BloqueioDesbloqueio_jsp:999) at org.apache.jsp.pages.BloqueioDesbloqueio_jsp$BloqueioDesbloqueio_jspHelper.invoke(org.apache.jsp.pages.BloqueioDesbloqueio_jsp:1153) at org.apache.jsp.tag.web.screen_tag$screen_tagHelper.invoke0(org.apache.jsp.tag.web.screen_tag:473) at org.apache.jsp.tag.web.screen_tag$screen_tagHelper.invoke(org.apache.jsp.tag.web.screen_tag:503) at org.apache.jsp.tag.web.form_tag.doTag(org.apache.jsp.tag.web.form_tag:226) at org.apache.jsp.tag.web.screen_tag._jspx_meth_sl_form_0(org.apache.jsp.tag.web.screen_tag:401) at org.apache.jsp.tag.web.screen_tag._jspx_meth_c_when_0(org.apache.jsp.tag.web.screen_tag:369) at org.apache.jsp.tag.web.screen_tag._jspx_meth_c_choose_0(org.apache.jsp.tag.web.screen_tag:335) at org.apache.jsp.tag.web.screen_tag._jspx_meth_html_html_0(org.apache.jsp.tag.web.screen_tag:253) at org.apache.jsp.tag.web.screen_tag.doTag(org.apache.jsp.tag.web.screen_tag:173) at org.apache.jsp.pages.BloqueioDesbloqueio_jsp._jspx_meth_sl_screen_0(org.apache.jsp.pages.BloqueioDesbloqueio_jsp:98) at org.apache.jsp.pages.BloqueioDesbloqueio_jsp._jspService(org.apache.jsp.pages.BloqueioDesbloqueio_jsp:68) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063) at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263) at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386) at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:318) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:172) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:534)
    No Bugmate found.