Git Product home page Git Product logo

Comments (3)

m-khl avatar m-khl commented on August 18, 2024

i found the way to reproduce

firstly I enabled XmlaTester, but still the real connection is passed where the proxy was. Then, I've found that mondrian/tui/XmlaSupport.java is used to instantiate the test servlet. When I put Olap4jXmlaServlet there bug is reproduced. please find codechange, properties and failed test output.

m-khl/mondrian-sandbox@8ebd0fd

from mondrian.

m-khl avatar m-khl commented on August 18, 2024

Hi,
once again, using mondrian.xmla.impl.Olap4jXmlaServlet with mondrian.olap4j.MondrianOlap4jDriver leads to the trivial issues:

Caused by: java.lang.ClassCastException: com.sun.proxy.$Proxy20 cannot be cast to mondrian.olap4j.MondrianOlap4jConnection
    at mondrian.olap4j.MondrianOlap4jExtra.getDataSources(MondrianOlap4jExtra.java:278)
    at mondrian.xmla.RowsetDefinition$DiscoverDatasourcesRowset.populateImpl(RowsetDefinition.java:1596)
    at mondrian.xmla.Rowset.populate(Rowset.java:221)
    at mondrian.xmla.Rowset.unparse(Rowset.java:193)
    at mondrian.xmla.XmlaHandler.discover(XmlaHandler.java:2861)
    ... 30 more

and

Caused by: java.lang.ClassCastException: com.sun.proxy.$Proxy20 cannot be cast to mondrian.olap4j.MondrianOlap4jConnection
    at mondrian.olap4j.MondrianOlap4jExtra.setPreferList(MondrianOlap4jExtra.java:56)
    at mondrian.xmla.XmlaHandler.executeQuery(XmlaHandler.java:1692)
    at mondrian.xmla.XmlaHandler.execute(XmlaHandler.java:751)
    at mondrian.xmla.XmlaHandler.process(XmlaHandler.java:666)
    at mondrian.xmla.impl.DefaultXmlaServlet.handleSoapBody(DefaultXmlaServlet.java:505)
    ... 28 more

@julianhyde please meet the trivial cure:
m-khl/mondrian-sandbox@1af873c

from mondrian.

lucboudreau avatar lucboudreau commented on August 18, 2024

@m-khl Thanks for reporting this. I've filed this case to fix it:

http://jira.pentaho.com/browse/MONDRIAN-2108

from mondrian.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.