mondrian.xmla.XmlaException: Mondrian Error:XMLA SOAP Body processing error

Pentaho BI Platform Tracking | Julian Hyde | 6 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Michele Rossi wrote: I have just started working on the XMLA task with the intention of creating that Olap4j Servlet user guide but I found that the latest build of mondrian (from changelist 14503) no longer works with my "locale" which I think it's UK. The exception I get is 2011-08-03 11:51:56,843 ERROR [mondrian.xmla.XmlaServlet] - <Errors when handling XML/A message> mondrian.xmla.XmlaException: Mondrian Error:XMLA SOAP Body processing error at mondrian.xmla.impl.DefaultXmlaServlet.handleSoapBody(DefaultXmlaServlet.java:561) at mondrian.xmla.XmlaServlet.doPost(XmlaServlet.java:315) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:883) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2258) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.RuntimeException: Unknown LCID 2057 at mondrian.olap.Util.lcidToLocale(Util.java:1755) at mondrian.xmla.Rowset.setProperty(Rowset.java:155) at mondrian.xmla.RowsetDefinition$DiscoverDatasourcesRowset.setProperty(RowsetDefinition.java:1629) at mondrian.xmla.Rowset.<init>(Rowset.java:119) at mondrian.xmla.RowsetDefinition$DiscoverDatasourcesRowset.<init>(RowsetDefinition.java:1573) at mondrian.xmla.RowsetDefinition$1.getRowset(RowsetDefinition.java:83) at mondrian.xmla.XmlaHandler.discover(XmlaHandler.java:2767) at mondrian.xmla.XmlaHandler.process(XmlaHandler.java:608) at mondrian.xmla.impl.DefaultXmlaServlet.handleSoapBody(DefaultXmlaServlet.java:557) ... 17 more It's caused by the method below which only supports US_EN (open\mondrian\src\main\mondrian\olap\Util.java) /** * Converts a locale identifier (LCID) as used by Windows into a Java * locale. * * <p>For example, {@code lcidToLocale(1033)} returns "en_US", because * 1033 (hex 0409) is US english.</p> * * @param lcid Locale identifier * @return Locale * @throws RuntimeException if locale id is unkown */ public static Locale lcidToLocale(short lcid) { switch (lcid) { case 0x0409: // 1033 return Locale.US; // TODO: fill out this list default: throw new RuntimeException("Unknown LCID " + lcid); } } Could we default to Locale.US instead of throwing the exception if the specified locale is not found in that list? This is a total blocker for me :)

    Pentaho BI Platform Tracking | 6 years ago | Julian Hyde
    mondrian.xmla.XmlaException: Mondrian Error:XMLA SOAP Body processing error
  2. 0

    Michele Rossi wrote: I have just started working on the XMLA task with the intention of creating that Olap4j Servlet user guide but I found that the latest build of mondrian (from changelist 14503) no longer works with my "locale" which I think it's UK. The exception I get is 2011-08-03 11:51:56,843 ERROR [mondrian.xmla.XmlaServlet] - <Errors when handling XML/A message> mondrian.xmla.XmlaException: Mondrian Error:XMLA SOAP Body processing error at mondrian.xmla.impl.DefaultXmlaServlet.handleSoapBody(DefaultXmlaServlet.java:561) at mondrian.xmla.XmlaServlet.doPost(XmlaServlet.java:315) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:883) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2258) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.RuntimeException: Unknown LCID 2057 at mondrian.olap.Util.lcidToLocale(Util.java:1755) at mondrian.xmla.Rowset.setProperty(Rowset.java:155) at mondrian.xmla.RowsetDefinition$DiscoverDatasourcesRowset.setProperty(RowsetDefinition.java:1629) at mondrian.xmla.Rowset.<init>(Rowset.java:119) at mondrian.xmla.RowsetDefinition$DiscoverDatasourcesRowset.<init>(RowsetDefinition.java:1573) at mondrian.xmla.RowsetDefinition$1.getRowset(RowsetDefinition.java:83) at mondrian.xmla.XmlaHandler.discover(XmlaHandler.java:2767) at mondrian.xmla.XmlaHandler.process(XmlaHandler.java:608) at mondrian.xmla.impl.DefaultXmlaServlet.handleSoapBody(DefaultXmlaServlet.java:557) ... 17 more It's caused by the method below which only supports US_EN (open\mondrian\src\main\mondrian\olap\Util.java) /** * Converts a locale identifier (LCID) as used by Windows into a Java * locale. * * <p>For example, {@code lcidToLocale(1033)} returns "en_US", because * 1033 (hex 0409) is US english.</p> * * @param lcid Locale identifier * @return Locale * @throws RuntimeException if locale id is unkown */ public static Locale lcidToLocale(short lcid) { switch (lcid) { case 0x0409: // 1033 return Locale.US; // TODO: fill out this list default: throw new RuntimeException("Unknown LCID " + lcid); } } Could we default to Locale.US instead of throwing the exception if the specified locale is not found in that list? This is a total blocker for me :)

    Pentaho BI Platform Tracking | 6 years ago | Julian Hyde
    mondrian.xmla.XmlaException: Mondrian Error:XMLA SOAP Body processing error
  3. 0

    Porting project JBoss AS 6 to JBoss AS 7

    Stack Overflow | 5 years ago | Rounak
    java.lang.RuntimeException: com.sun.faces.config.ConfigurationException : CONFIGURATION FAILED! Class org.jboss.as.web.deployment.jsf.JandexAnnotationPr ovider is not an instance of com.sun.faces.spi.AnnotationProvider at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureLi stener.java:292) [jsf-impl.jar:] at org.apache.catalina.core.StandardContext.contextListenerStart(Standar dContext.java:3368) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.apache.catalina.core.StandardContext.start(StandardContext.java:3 821) [jbossweb-7.0.1.Final.jar:7.0.2.Final] at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentS ervice.java:70) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(Se rviceControllerImpl.java:1824) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceCont rollerImpl.java:1759) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor. java:1110) [:1.7.0] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor .java:603) [:1.7.0]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error initializing GroovyPageView

    Stack Overflow | 3 years ago | mrquad
    org.codehaus.groovy.grails.web.mapping.exceptions.UrlMappingException: Error map ping onto view [/index]: Error initializing GroovyPageView
  6. 0

    Android Asynctask method does not display the data

    Stack Overflow | 3 years ago | user3316775
    java.lang.RuntimeException: An error occured while executing doInBackground() android.os.AsyncTask$3.done(AsyncTask.java:278) java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273) java.util.concurrent.FutureTask.setException(FutureTask.java:124) java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307) java.util.concurrent.FutureTask.run(FutureTask.java:137) android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:208) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      Unknown LCID 2057

      at mondrian.olap.Util.lcidToLocale()
    2. mondrian.olap
      Util.lcidToLocale
      1. mondrian.olap.Util.lcidToLocale(Util.java:1755)
      1 frame
    3. mondrian.xmla
      XmlaHandler.process
      1. mondrian.xmla.Rowset.setProperty(Rowset.java:155)
      2. mondrian.xmla.RowsetDefinition$DiscoverDatasourcesRowset.setProperty(RowsetDefinition.java:1629)
      3. mondrian.xmla.Rowset.<init>(Rowset.java:119)
      4. mondrian.xmla.RowsetDefinition$DiscoverDatasourcesRowset.<init>(RowsetDefinition.java:1573)
      5. mondrian.xmla.RowsetDefinition$1.getRowset(RowsetDefinition.java:83)
      6. mondrian.xmla.XmlaHandler.discover(XmlaHandler.java:2767)
      7. mondrian.xmla.XmlaHandler.process(XmlaHandler.java:608)
      7 frames
    4. mondrian.xmla.impl
      DefaultXmlaServlet.handleSoapBody
      1. mondrian.xmla.impl.DefaultXmlaServlet.handleSoapBody(DefaultXmlaServlet.java:557)
      1 frame
    5. mondrian.xmla
      XmlaServlet.doPost
      1. mondrian.xmla.XmlaServlet.doPost(XmlaServlet.java:315)
      1 frame
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      2 frames
    7. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
      8 frames
    8. Grizzly HTTP
      NioEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:883)
      2. org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
      3. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2258)
      3 frames
    9. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      3. java.lang.Thread.run(Thread.java:662)
      3 frames