Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
ManifoldCF 1.3
-
None
Description
The following shows the test failure:
[junit] Loading window '' with data from url http://localhost:8346/mcf-crawl er-ui/index.jsp [junit] Getting url 'http://localhost:8346/mcf-crawler-ui/listauthorities.js p'... [junit] Loading window '' with data from url http://localhost:8346/mcf-crawl er-ui/listauthorities.jsp [junit] Form of type POST detected [junit] Getting url 'http://localhost:8346/mcf-crawler-ui/edi26676 [qtp26298 021-143] WARN org.eclipse.jetty.servlet.ServletHandler - /mcf-crawler-ui/execute .jsp [junit] org.apache.jasper.JasperException: An exception occurred processing JSP page /editauthority.jsp at line 490 [junit] [junit] 487: } [junit] 488: [junit] 489: if (className.length() > 0) [junit] 490: AuthorityConnectorFactory.outputConfigurationBod y(threadContext,className,new org.apache.manifoldcf.ui.jsp.JspWrapper(out,adminp rofile),pageContext.getRequest().getLocale(),parameters,tabName); [junit] 491: %> [junit] 492: <table class="displaytable"> [junit] 493: <tr><td class="separator" colspan="4"><h r/></td></tr> [junit] [junit] [junit] Stacktrace: [junit] at org.apache.jasper.servlet.JspServletWrapper.handleJspExceptio n(JspServletWrapper.java:521) [junit] at org.apache.jasper.servlet.JspServletWrapper.service(JspServle tWrapper.java:430) [junit] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServle t.java:313) [junit] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java: 260) [junit] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) [junit] at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder. java:547) [junit] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHand ler.java:480) [junit] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedH andler.java:119) [junit] at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHan dler.java:520) [junit] at org.eclipse.jetty.server.session.SessionHandler.doHandle(Sess ionHandler.java:227) [junit] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(Cont extHandler.java:941) [junit] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandl er.java:409) [junit] at org.eclipse.jetty.server.session.SessionHandler.doScope(Sessi onHandler.java:186) [junit] at org.eclipse.jetty.server.handler.ContextHandler.doScope(Conte xtHandler.java:875) [junit] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedH andler.java:117) [junit] at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:2 88) [junit] at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:1 15) [junit] at org.apache.jasper.runtime.PageContextImpl.doForward(PageConte xtImpl.java:709) [junit] at org.apache.jasper.runtime.PageContextImpl.forward(PageContext Impl.java:680) [junit] at org.apache.jsp.execute_jsp._jspService(execute_jsp.java:492) [junit] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.jav a:70) [junit] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) [junit] at org.apache.jasper.servlet.JspServletWrapper.service(JspServle tWrapper.java:388) [junit] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServle t.java:313) [junit] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java: 260) [junit] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) [junit] at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder. java:547) [junit] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHand ler.java:480) [junit] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedH andler.java:119) [junit] at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHan dler.java:520) [junit] at org.eclipse.jetty.server.session.SessionHandler.doHandle(Sess ionHandler.java:227) [junit] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(Cont extHandler.java:941) [junit] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandl er.java:409) [junit] at org.eclipse.jetty.server.session.SessionHandler.doScope(Sessi onHandler.java:186) [junit] at org.eclipse.jetty.server.handler.ContextHandler.doScope(Conte xtHandler.java:875) [junit] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedH andler.java:117) [junit] at org.eclipse.jetty.server.handler.ContextHandlerCollection.han dle(ContextHandlerCollection.java:250) [junit] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(Handle rWrapper.java:110) [junit] at org.eclipse.jetty.server.Server.handle(Server.java:349) [junit] at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpCon nection.java:441) [junit] at org.eclipse.jetty.server.HttpConnection$RequestHandler.conten t(HttpConnection.java:936) [junit] at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:8 01) [junit] at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.j ava:218) [junit] at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttp Connection.java:51) [junit] at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectC hannelEndPoint.java:586) [junit] at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectCh annelEndPoint.java:44) [junit] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598) [junit] at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533) [junit] at java.lang.Thread.run(Thread.java:724) [junit] Caused by: java.lang.NullPointerException [junit] at org.apache.manifoldcf.ui.util.Encoder.attributeEscape(Encoder.java:106) [junit] at org.apache.manifoldcf.authorities.authorities.jdbc.JDBCAuthority.outputConfigurationBody(JDBCAuthority.java:422) [junit] at org.apache.manifoldcf.authorities.interfaces.AuthorityConnectorFactory.outputConfigurationBody(AuthorityConnectorFactory.java:89) [junit] at org.apache.jsp.editauthority_jsp._jspService(editauthority_jsp.java:769) [junit] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) [junit] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) [junit] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388) [junit] ... 47 more [junit] Starting test