Exception When Adding Datasource database query Connector on Submit Button in Form

Hi there,

I want to trigger an data update while submitting a form in a human task. I added a datasource database query Connector on the submit button and I got the following exception when I run the process in the studio (subscription version 6.2.6). Basically the bar file can not be built if I have the connector and can be built when the connector is removed. The datasource is configured correctly and works for service tasks of other processes. Please advice. Thanks.

!ENTRY org.bonitasoft.studio.engine 1 0 2015-05-28 13:16:31.590
!INFO Building bar for process Pool1 (1.0 )…

!ENTRY org.bonitasoft.studio.common 4 0 2015-05-28 13:16:33.272
!ERROR
!STACK 0
java.lang.NullPointerException
at org.bonitasoft.studio.exporter.ex.form.FormsExporterEx.processActionConnectorParams(FormsExporterEx.java:1040)
at org.bonitasoft.studio.exporter.ex.form.FormsExporterEx.addPageConnectors(FormsExporterEx.java:217)
at org.bonitasoft.studio.exporter.ex.form.FormsExporterEx.addEntryPage(FormsExporterEx.java:209)
at org.bonitasoft.studio.exporter.form.FormsExporter.addEntryPageFlow(FormsExporter.java:1679)
at org.bonitasoft.studio.exporter.form.FormsExporter.exportEntryPageFlow(FormsExporter.java:235)
at org.bonitasoft.studio.exporter.ex.form.FormsExporterEx.exportEntryPageFlow(FormsExporterEx.java:1237)
at org.bonitasoft.studio.exporter.form.FormsExporter.addTask(FormsExporter.java:360)
at org.bonitasoft.studio.exporter.form.FormsExporter.addActivities(FormsExporter.java:336)
at org.bonitasoft.studio.exporter.form.FormsExporter.createXmlForms(FormsExporter.java:188)
at org.bonitasoft.studio.exporter.ex.FormsXMLExporterEx.exportFormsXML(FormsXMLExporterEx.java:61)
at org.bonitasoft.studio.application.ex.contribution.ApplicationResourcesProviderEx.addFormsXML(ApplicationResourcesProviderEx.java:46)
at org.bonitasoft.studio.exporter.ApplicationResourcesProvider.addResourcesForConfiguration(ApplicationResourcesProvider.java:93)
at org.bonitasoft.studio.engine.export.BarExporter.createBusinessArchive(BarExporter.java:140)
at org.bonitasoft.studio.engine.export.BarExporter.createBusinessArchive(BarExporter.java:107)
at org.bonitasoft.studio.engine.export.BarExporter.createBusinessArchive(BarExporter.java:186)
at org.bonitasoft.studio.engine.operation.DeployProcessOperation.deployProcess(DeployProcessOperation.java:183)
at org.bonitasoft.studio.engine.operation.DeployProcessOperation.deploy(DeployProcessOperation.java:164)
at org.bonitasoft.studio.engine.operation.DeployProcessOperation.run(DeployProcessOperation.java:116)
at org.bonitasoft.studio.engine.command.RunProcessCommand$2.run(RunProcessCommand.java:210)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

!ENTRY org.bonitasoft.studio.common 4 0 2015-05-28 13:16:33.278
!ERROR Pool1
!STACK 0
java.lang.Exception: Pool1
at org.bonitasoft.studio.application.ex.contribution.ApplicationResourcesProviderEx.addFormsXML(ApplicationResourcesProviderEx.java:59)
at org.bonitasoft.studio.exporter.ApplicationResourcesProvider.addResourcesForConfiguration(ApplicationResourcesProvider.java:93)
at org.bonitasoft.studio.engine.export.BarExporter.createBusinessArchive(BarExporter.java:140)
at org.bonitasoft.studio.engine.export.BarExporter.createBusinessArchive(BarExporter.java:107)
at org.bonitasoft.studio.engine.export.BarExporter.createBusinessArchive(BarExporter.java:186)
at org.bonitasoft.studio.engine.operation.DeployProcessOperation.deployProcess(DeployProcessOperation.java:183)
at org.bonitasoft.studio.engine.operation.DeployProcessOperation.deploy(DeployProcessOperation.java:164)
at org.bonitasoft.studio.engine.operation.DeployProcessOperation.run(DeployProcessOperation.java:116)
at org.bonitasoft.studio.engine.command.RunProcessCommand$2.run(RunProcessCommand.java:210)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)