[Mondrian] Mondrian 3.0 RolapSchema.java change

Richard Emberson remberson at edgedynamics.com
Tue Mar 18 13:59:44 EDT 2008


Just integrated with Mondrian 3.0 release.
Now getting an exception being thrown from the
RolapSchema.Pool get method, line 776:

             if (catalogUrl == null && catalogStr == null) {
                 throw MondrianResource.instance()
                     .ConnectStringMandatoryProperties.ex(
                     RolapConnectionProperties.Catalog.name(),
                     RolapConnectionProperties.CatalogContent.name());
             }

We use a DynamicSchemaProcessor so the variable "dynProcName" is
not null, but "catalogUrl" and "catalogStr" are both null ...
hence the exception.

Would you consider the following change:

             if (catalogUrl == null && catalogStr == null &&
                     dynProcName == null) {
                 throw MondrianResource.instance()
                     .ConnectStringMandatoryProperties.ex(
                     RolapConnectionProperties.Catalog.name(),
                     RolapConnectionProperties.CatalogContent.name());
             }

[Commenting out the above if-statement also is working.]

Richard

-- 
Quis custodiet ipsos custodes:
This email message is for the sole use of the intended recipient(s) and
may contain confidential information.  Any unauthorized review, use,
disclosure or distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply email and destroy all
copies of the original message.



More information about the Mondrian mailing list