Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-4107

Deleting external datasource can cause an NPE when trying to edit the Data Provider that's was referencing it

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • FUTURE
    • jBPM 6.0.0.Beta5
    • Dashboard Builder

      If I delete an external data source and then go and edit the Data Provider that referenced that data source, an NPE is seen in the error log:

      Thread id=http-/127.0.0.1:8080-5
      Thread begin date=Mon Aug 26 16:09:30 CDT 2013
      Thread group=main
      Request URL=/teiid-dashboard/workspace/en/0/data-providers
      Request IP=127.0.0.1
      Request date=Mon Aug 26 16:09:30 CDT 2013
      Request header:user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:23.0) Gecko/20100101 Firefox/23.0
      Request header:referer=http://localhost:8080/teiid-dashboard/workspace/en/0/external-connections
      Request header:cookie=JSESSIONID=YZ2Bln86xuxEN8TtyOPnwkfm; dashbuilderNavigationPoint=en-1ry-0; __utma=111872281.2146976862.1371568238.1371568238.1371568238.1; __utmz=111872281.1371568238.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); region_left_web_2_0_cookie=1
      Tx id=2099616677
      Tx Isolation=2
      Tx Auto commit=false
      JSP=/envelopes/Teiid_Envelope/shared.jsp
      JSP=regular_layout.jsp
      JSP=/layouts/Default_template_with_sliding_menu/slider_menu.jsp
      JSP=/panels/manager/show.jsp
      Error id=1377551370660
      Error date=Mon Aug 26 16:09:30 CDT 2013
      Error stack trace=java.lang.NullPointerException
      at org.apache.jsp.components.bam.provider.manager.data_005fprovider_005fedit_005fproperties_jsp._jspService(data_005fprovider_005fedit_005fproperties_jsp.java:418)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:69)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:365)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:309)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:242)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:832)
      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:718)
      at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:655)
      at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:940)
      at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:607)
      at org.jboss.dashboard.ui.taglib.factory.UseComponentTag.doEndTag(UseComponentTag.java:42)
      at org.apache.jsp.panels.manager.show_jsp._jspx_meth_factory_005fuseComponent_005f0(show_jsp.java:85)
      at org.apache.jsp.panels.manager.show_jsp._jspService(show_jsp.java:60)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:69)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:365)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:309)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:242)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:832)
      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:718)
      at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:655)
      at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:940)
      at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:607)
      at org.jboss.dashboard.ui.taglib.JSPIncludeTag.doStartTag(JSPIncludeTag.java:77)
      at org.apache.jsp.section.render_005fsimple_005fregion_jsp._jspService(render_005fsimple_005fregion_jsp.java:1159)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:69)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:365)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:309)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:242)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:832)
      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:718)
      at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:655)
      at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:940)
      at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:607)
      at org.jboss.dashboard.ui.taglib.RegionTag$1.txFragment(RegionTag.java:78)
      at org.jboss.dashboard.database.hibernate.HibernateTransaction.executeFragment(HibernateTransaction.java:254)
      at org.jboss.dashboard.database.hibernate.HibernateTxFragment.executeChild(HibernateTxFragment.java:194)
      at org.jboss.dashboard.database.hibernate.HibernateTxFragment.execute(HibernateTxFragment.java:168)
      at org.jboss.dashboard.ui.taglib.RegionTag.doEndTag(RegionTag.java:52)
      at org.apache.jsp.layouts.Default_005ftemplate_005fwith_005fsliding_005fmenu.slider_005fmenu_jsp._jspx_meth_panel_005fregion_005f6(slider_005fmenu_jsp.java:523)
      at org.apache.jsp.layouts.Default_005ftemplate_005fwith_005fsliding_005fmenu.slider_005fmenu_jsp._jspService(slider_005fmenu_jsp.java:315)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:69)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:365)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:309)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:242)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:832)
      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:718)
      at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:655)
      at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:940)
      at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:607)
      at org.jboss.dashboard.ui.taglib.JSPIncludeTag.doStartTag(JSPIncludeTag.java:77)
      at org.apache.jsp.templates.regular_005flayout_jsp._jspService(regular_005flayout_jsp.java:157)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:69)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:365)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:309)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:242)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:832)
      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:718)
      at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:655)
      at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:940)
      at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:607)
      at org.jboss.dashboard.ui.taglib.JSPIncludeTag.doStartTag(JSPIncludeTag.java:77)
      at org.apache.jsp.templates.content_jsp._jspx_meth_mvc_005finclude_005f0(content_jsp.java:115)
      at org.apache.jsp.templates.content_jsp._jspService(content_jsp.java:69)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:69)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:365)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:309)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:242)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:832)
      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:718)
      at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:655)
      at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:940)
      at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:607)
      at org.jboss.dashboard.ui.taglib.EnvelopeContentTag$1.txFragment(EnvelopeContentTag.java:46)
      at org.jboss.dashboard.database.hibernate.HibernateTransaction.executeFragment(HibernateTransaction.java:254)
      at org.jboss.dashboard.database.hibernate.HibernateTxFragment.executeChild(HibernateTxFragment.java:194)
      at org.jboss.dashboard.database.hibernate.HibernateTxFragment.execute(HibernateTxFragment.java:168)
      at org.jboss.dashboard.ui.taglib.EnvelopeContentTag.doStartTag(EnvelopeContentTag.java:44)
      at org.apache.jsp.envelopes.Teiid_005fEnvelope.shared_jsp._jspx_meth_panel_005fenvelopeContent_005f0(shared_jsp.java:264)
      at org.apache.jsp.envelopes.Teiid_005fEnvelope.shared_jsp._jspService(shared_jsp.java:170)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:69)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:365)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:309)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:242)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:832)
      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:718)
      at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:655)
      at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:940)
      at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:607)
      at org.jboss.dashboard.ui.taglib.JSPIncludeTag.doStartTag(JSPIncludeTag.java:77)
      at org.apache.jsp.templates.standard_005ftemplate_jsp._jspService(standard_005ftemplate_jsp.java:198)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:69)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:365)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:309)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:242)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:832)
      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:718)
      at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:655)
      at org.jboss.dashboard.ui.controller.responses.ShowScreenResponse.execute(ShowScreenResponse.java:45)
      at org.jboss.dashboard.ui.controller.requestChain.RequestRenderer.processRequest(RequestRenderer.java:31)
      at org.jboss.dashboard.ui.controller.requestChain.RequestChainProcessor.doRequestProcessing(RequestChainProcessor.java:61)
      at org.jboss.dashboard.ui.controller.requestChain.RequestChainProcessor.doRequestProcessing(RequestChainProcessor.java:63)
      at org.jboss.dashboard.ui.controller.requestChain.RequestChainProcessor.doRequestProcessing(RequestChainProcessor.java:63)
      at org.jboss.dashboard.ui.controller.ControllerServlet$4.txFragment(ControllerServlet.java:211)
      at org.jboss.dashboard.database.hibernate.HibernateTransaction.executeFragment(HibernateTransaction.java:254)
      at org.jboss.dashboard.database.hibernate.HibernateTxFragment.executeInitiator(HibernateTxFragment.java:179)
      at org.jboss.dashboard.database.hibernate.HibernateTxFragment.execute(HibernateTxFragment.java:167)
      at org.jboss.dashboard.ui.controller.ControllerServlet.processTheView(ControllerServlet.java:207)
      at org.jboss.dashboard.ui.controller.ControllerServlet$2.doWork(ControllerServlet.java:169)
      at org.jboss.dashboard.factory.Factory.runWork(Factory.java:295)
      at org.jboss.dashboard.factory.Factory.doWork(Factory.java:323)
      at org.jboss.dashboard.ui.controller.ControllerServlet.service(ControllerServlet.java:148)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:481)
      at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920)
      at java.lang.Thread.run(Thread.java:722)

              david.magallanes David Gutierrez
              van.halbert Van Halbert (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: