Hitachi Vantara Pentaho Community Forums
Results 1 to 4 of 4

Thread: I change code,need help

  1. #1
    Join Date
    Aug 2003
    Posts
    11

    Default I change code,need help

    I change useSparse() function in mondrian.rolap.agg.Segment.java ,ignore follow code
    /* if (possibleCount == actualCount) {
    Util.assertTrue(!sparse);
    }
    */
    because sometimes I meet error when running mondrian ,when I change code ,it doesn't happened.
    Can anybody tell me why?

  2. #2
    Join Date
    Nov 1999
    Posts
    1,618

    Default RE: I change code,need help

    You need to make Tomcat see the new Segment.class, which means creating a new mondrian.war.
    First shutdown tomcat, and remove the mondrian.war and mondrian directory under webapps. Then run 'build deploy-war' (which will compile Segment.java, recreate mondrian.jar and mondrian.war, and copy mondrian.war to the right place). Then start tomcat again.

  3. #3
    Join Date
    Aug 2003
    Posts
    11

    Default RE: I change code,need help

    sorry,I mean that I want to know that code's function ( if (possibleCount == actualCount) {
    Util.assertTrue(!sparse);
    } ). Because sometimes that will cause error.Is it a bug?

  4. #4
    Join Date
    Nov 1999
    Posts
    1,618

    Default RE: I change code,need help

    Yes, it's a bug. Please log it ONLY IF YOU CAN PROVIDE A REPRODUCIBLE TEST CASE.
    (You never provided me with a test-case for the ArrayIndexOutOfBoundsException. I'm still waiting for that.)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.