PDA

View Full Version : Exception in taglib and xmlaTest examples



mondrian_benbuchanan
11-23-2006, 10:32 AM
I have installed mondrian 2.2.2 on tomcat 5.5 with the foodmart database in mysql 5 on winxp. The JPivot examples all work fine, however the taglib and xmlaTest examples produce exceptions with the root causes below. Do I need to configure more files? Any idea on the reason for these exceptions?
Thanks very much
Ben
Root causes:
# Various queries formatted using the Mondrian tag-library:
javax.servlet.ServletException: javax.servlet.jsp.JspException: null
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:854)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
org.apache.jsp.taglib_jsp._jspService(taglib_jsp.java:171)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
java.lang.NullPointerException
mondrian.web.taglib.ResultCache.getResult(ResultCache.java:78)
mondrian.web.taglib.ResultCache.getDOM(ResultCache.java:89)
mondrian.web.taglib.TransformTag.doEndTag(TransformTag.java:53)
org.apache.jsp.taglib_jsp._jspx_meth_mdx_transform_0(taglib_jsp.java:442)
org.apache.jsp.taglib_jsp._jspService(taglib_jsp.java:103)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
# XML for Analysis tester:
java.lang.ArrayIndexOutOfBoundsException: -1
org.apache.jsp.xmlaTest_jsp._jspService(xmlaTest_jsp.java:124)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)