sshogun
08-15-2002, 12:04 PM
I tried building both mondrian 0.2 and 0.3 and the build test fails on both.
For database, I am using mySql and the rest of the software used are the recommeneded ones.
Any ideas?
test:
[java] Error in test 'non empty 1(mondrian.test.Main$2)': java.lang.NullPointerException
[java] at mondrian.olap.OlapElementBase.hashCode(OlapElementBase.java:42)
[java] at mondrian.rolap.PrivateHierarchyUsage.hashCode(PrivateHierarchyUsage.java:45)
[java] at java.util.HashMap.get(HashMap.java:266)
[java] at mondrian.rolap.RolapHierarchy.getUsage(RolapHierarchy.java:348)
[java] at mondrian.rolap.RolapHierarchy.setForeignKey(RolapHierarchy.java:154)
[java] at mondrian.rolap.RolapHierarchy.<init>(RolapHierarchy.java:98)
[java] at mondrian.rolap.RolapDimension.newHierarchy(RolapDimension.java:71)
[java] at mondrian.rolap.RolapCube.<init>(RolapCube.java:53)
[java] at mondrian.rolap.RolapConnection.loadSchema(RolapConnection.java:125)
[java] at mondrian.rolap.RolapConnection.<init>(RolapConnection.java:64)
[java] at mondrian.olap.DriverManager.getConnection(DriverManager.java:38)
[java] at mondrian.test.TestContext.getFoodMartConnection(TestContext.java:87)
[java] at mondrian.test.FoodMartTestCase.getConnection(FoodMartTestCase.java:40)
[java] at mondrian.test.FoodMartTestCase.runQuery(FoodMartTestCase.java:34)
[java] at mondrian.test.FoodMartTestCase.assertSize(FoodMartTestCase.java:47)
[java] at mondrian.test.Main$2.runTest(Main.java:371)
[java] at junit.framework.TestCase.runBare(TestCase.java:140)
[java] at junit.framework.TestResult$1.protect(TestResult.java:106)
[java] at junit.framework.TestResult.runProtected(TestResult.java:124)
[java] at junit.framework.TestResult.run(TestResult.java:109)
[java] at junit.framework.TestCase.run(TestCase.java:131)
[java] at junit.framework.TestSuite.runTest(TestSuite.java:173)
[java] at junit.framework.TestSuite.run(TestSuite.java:168)
[java] at mondrian.test.Main.run(Main.java:70)
[java] at mondrian.test.Main.main(Main.java:25)
[java] Error in test 'non empty 2(mondrian.test.Main$3)': java.lang.NullPointerException
[java] at mondrian.olap.OlapElementBase.hashCode(OlapElementBase.java:42)
Thanks
For database, I am using mySql and the rest of the software used are the recommeneded ones.
Any ideas?
test:
[java] Error in test 'non empty 1(mondrian.test.Main$2)': java.lang.NullPointerException
[java] at mondrian.olap.OlapElementBase.hashCode(OlapElementBase.java:42)
[java] at mondrian.rolap.PrivateHierarchyUsage.hashCode(PrivateHierarchyUsage.java:45)
[java] at java.util.HashMap.get(HashMap.java:266)
[java] at mondrian.rolap.RolapHierarchy.getUsage(RolapHierarchy.java:348)
[java] at mondrian.rolap.RolapHierarchy.setForeignKey(RolapHierarchy.java:154)
[java] at mondrian.rolap.RolapHierarchy.<init>(RolapHierarchy.java:98)
[java] at mondrian.rolap.RolapDimension.newHierarchy(RolapDimension.java:71)
[java] at mondrian.rolap.RolapCube.<init>(RolapCube.java:53)
[java] at mondrian.rolap.RolapConnection.loadSchema(RolapConnection.java:125)
[java] at mondrian.rolap.RolapConnection.<init>(RolapConnection.java:64)
[java] at mondrian.olap.DriverManager.getConnection(DriverManager.java:38)
[java] at mondrian.test.TestContext.getFoodMartConnection(TestContext.java:87)
[java] at mondrian.test.FoodMartTestCase.getConnection(FoodMartTestCase.java:40)
[java] at mondrian.test.FoodMartTestCase.runQuery(FoodMartTestCase.java:34)
[java] at mondrian.test.FoodMartTestCase.assertSize(FoodMartTestCase.java:47)
[java] at mondrian.test.Main$2.runTest(Main.java:371)
[java] at junit.framework.TestCase.runBare(TestCase.java:140)
[java] at junit.framework.TestResult$1.protect(TestResult.java:106)
[java] at junit.framework.TestResult.runProtected(TestResult.java:124)
[java] at junit.framework.TestResult.run(TestResult.java:109)
[java] at junit.framework.TestCase.run(TestCase.java:131)
[java] at junit.framework.TestSuite.runTest(TestSuite.java:173)
[java] at junit.framework.TestSuite.run(TestSuite.java:168)
[java] at mondrian.test.Main.run(Main.java:70)
[java] at mondrian.test.Main.main(Main.java:25)
[java] Error in test 'non empty 2(mondrian.test.Main$3)': java.lang.NullPointerException
[java] at mondrian.olap.OlapElementBase.hashCode(OlapElementBase.java:42)
Thanks