Database connector error in CAF development

Hello Team,

I am actually new to CAF development. I have created a new project in UI perspective in webMethods and I have a database where I would like to expose my tables for insert, update and delete. I have created a database connector called ConnectorDB. I have drag and drop the connector on my view and publish the application to the MWS.

When i checked problems in designer I see something like this
Description Resource Path Location Type
Invalid data binding expression: []: Unable to resolve identifier: ConnectorDBRowSet faces-config.xml /AAError2/WebContent/WEB-INF ConnectorDB.rowSet CAF View DDB Problem

I try to login to the page where the database connector has been created, I get the nullpointer exception like below.

Problem accessing /AAError2/integration_process_error.view. Reason:

javax.el.ELException: java.lang.NullPointerException

Caused by:

javax.faces.el.EvaluationException: javax.el.ELException: java.lang.NullPointerException
at com.sun.faces.application.ValueBindingValueExpressionAdapter.getValue(
at com.webmethods.caf.faces.component.table.html.DataTable.getValue(
at com.webmethods.caf.faces.component.table.html.DataTable.getContentProvider(
at com.webmethods.caf.faces.component.table.html.DataTable.getContentProvider(
at com.webmethods.caf.faces.component.table.html.DataTable.sort(
at com.webmethods.caf.faces.component.table.html.DataTable.encodeBegin(
at com.webmethods.caf.faces.component.table.html.AsyncTable.encodeBegin(
at com.webmethods.caf.faces.component.util.ComponentUtils.renderComponent(
at com.webmethods.caf.faces.component.util.ComponentUtils.renderComponent(
at com.webmethods.caf.faces.component.util.ComponentUtils.renderComponent(

Can anyone help me on this please? I am not able to move further with this if the issue with database connector is not solved.

Thanking you in advance for your kind cooperation.

Lutchumaya Karri Veeranna

have u created d flow service fr the displayi details from the database!??-

Hello Yashwanth,

Thank you for your reply. In fact when I have created the MS SQL database connection in Designer, in MWS the server type was set to JDBC. So when I was opening the page in MWS, I was getting jdbc connection error.

So I updated the server type to MS SQL and publish my app again to MWS. Then it was fine . The table display well and data was retrieved from the database.

Kind Regards,