Hello Team,
I am having an issue with database connector.
I have create a database connector in my folder and import it to the default.view file.
The table is created but when I run the page. I am getting the below error NullPointer. After adding the database configurator the the view do i have to do any binding or configuration.
Thanking you in advance.
[h=2]HTTP ERROR 500[/h] Problem accessing /Error2/default.view. Reason:
java.lang.NullPointerException[h=3]Caused by:[/h]
javax.faces.FacesException: java.lang.NullPointerException at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:128) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) at com.webMethods.caf.faces.servlet.CAFFacesServlet.service(CAFFacesServlet.java:140) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166) at com.webMethods.caf.faces.servlet.GZIPFilter.doFilter(GZIPFilter.java:42) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.webMethods.caf.faces.servlet.MultipartFilter.doFilter(MultipartFilter.java:70) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451) Caused by: java.lang.NullPointerException at com.webMethods.portal.service.sql.core.JNDIConnection.getAutoCommit(JNDIConnection.java:53) at com.webMethods.caf.faces.data.sql.RowSetTableContentProvider.openConnection(RowSetTableContentProvider.java:411) at com.webMethods.caf.faces.data.sql.RowSetTableContentProvider.openRowSet(RowSetTableContentProvider.java:361) at com.webMethods.caf.faces.data.sql.RowSetTableContentProvider.ensureRowSetOpen(RowSetTableContentProvider.java:295) at com.webMethods.caf.faces.data.sql.RowSetTableContentProvider.isRowAvailable(RowSetTableContentProvider.java:1057) at com.webMethods.caf.faces.component.table.html.DataTable.isRowAvailable(DataTable.java:247) at com.webMethods.caf.faces.component.table.html.DataTable.saveDescendantState(DataTable.java:1639) at com.webMethods.caf.faces.component.table.html.DataTable.setRowIndex(DataTable.java:398) at com.webMethods.caf.faces.component.table.html.DataTable.getContentProvider(DataTable.java:1751) at com.webMethods.caf.faces.component.table.html.DataTable.getContentProvider(DataTable.java:1701) at com.webMethods.caf.faces.component.table.html.DataTable.sort(DataTable.java:1775) at com.webMethods.caf.faces.component.table.html.DataTable.encodeBegin(DataTable.java:790) at com.webMethods.caf.faces.component.table.html.AsyncTable.encodeBegin(AsyncTable.java:111) at com.webMethods.caf.faces.component.util.ComponentUtils.renderComponent(ComponentUtils.java:82) at com.webMethods.caf.faces.component.util.ComponentUtils.renderComponent(ComponentUtils.java:90) at com.webMethods.caf.faces.component.util.ComponentUtils.renderComponent(ComponentUtils.java:90) at com.webMethods.caf.faces.view.BaseViewHandler.renderResponse(BaseViewHandler.java:275) at com.webMethods.caf.faces.view.BaseViewHandler.renderView(BaseViewHandler.java:126) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) … 25 more