PDA

View Full Version : Fixed errors but nothing work.. HELP



yyie
02-13-2003, 01:05 AM
I fix the error 1, 3 and 4.
Now receive only this error but mondrian not start... nothing happen and the web app return me Results: Error: Internal error: while parsing catalog
file:///D:/mondrian/demo/FoodMart.xml
Buildfile: build.xml
test:
test-dbms:
[java] .........................................
[java] ........................................E.
[java] .........................................
[java] .........................................
[java] .......................................
[java] Time: 90.89
[java] There was 1 error:
[java] 1) mondrian.olap.fun.BuiltinFunTable$17.testCousinThreeDown(mondrian.olap.fun.FunUtil$MethodCallTestCase)java.lang.reflect.InvocationTargetException
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at mondrian.olap.fun.FunUtil$MethodCallTestCase.runTest(FunUtil.java:675)
[java] at mondrian.test.Main.run(Main.java:59)
[java] at mondrian.test.Main.runSafe(Main.java:39)
[java] at mondrian.test.Main.main(Main.java:34)
[java] Caused by: mondrian.resource.ChainableRuntimeException: Internal error: Failed to parse query [select {Cousin([Customers].[USA].[CA].[Berkeley].[Alma Shelton], [Customers].[Mexico])} on columns from Sales]
[java] at mondrian.olap.MondrianResource.newInternal(MondrianResource.java:45)
[java] at mondrian.olap.Util.newError(Util.java:309)
[java] at mondrian.olap.ConnectionBase.parseQuery(ConnectionBase.java:46)
[java] at mondrian.test.TestContext.executeFoodMart(TestContext.java:127)
[java] at mondrian.test.FoodMartTestCase.executeAxis(FoodMartTestCase.java:86)
[java] at mondrian.olap.fun.BuiltinFunTable$17.testCousinThreeDown(BuiltinFunTable.java:874)
[java] ... 20 more
[java] Caused by: mondrian.resource.ChainableRuntimeException: Error while parsing MDX statement ''select {Cousin([Customers].[USA].[CA].[Berkeley].[Alma Shelton], [Customers].[Mexico])} on columns from Sales''
[java] at mondrian.olap.MondrianResource.newWhileParsingMdx(MondrianResource.java:103)
[java] at mondrian.olap.Parser.parseInternal(Parser.java:621)
[java] at mondrian.olap.ConnectionBase.parseQuery(ConnectionBase.java:43)
[java] ... 23 more
[java] Caused by: mondrian.resource.ChainableRuntimeException: Internal error: while building member cache; sql=[select [fname] + ' ' + [lname] as `c0` from `customer` as `customer` where `customer`.`city` = 'Berkeley' and `customer`.`state_province` = 'CA' and `customer`.`country` = 'USA' group by [fname] + ' ' + [lname], `customer`.`ordinal` order by `customer`.`ordinal`]
[java] at mondrian.olap.MondrianResource.newInternal(MondrianResource.java:45)
[java] at mondrian.rolap.SqlMemberSource.getMemberChildren(SqlMemberSource.java:551)
[java] at mondrian.rolap.SqlMemberSource.getMemberChildren(SqlMemberSource.java:518)
[java] at mondrian.rolap.SmartMemberReader.readMemberChildren(SmartMemberReader.java:235)
[java] at mondrian.rolap.SmartMemberReader.getMemberChildren(SmartMemberReader.java:154)
[java] at mondrian.rolap.SmartMemberReader.getMemberChildren(SmartMemberReader.java:127)
[java] at mondrian.rolap.RolapHierarchy.getChildMembers(RolapHierarchy.java:331)
[java] at mondrian.rolap.RolapMember.getMemberChildren(RolapMember.java:70)
[java] at mondrian.olap.MemberBase.lookupChildMember(MemberBase.java:104)
[java] at mondrian.olap.MemberBase.lookupChild(MemberBase.java:93)
[java] at mondrian.olap.CubeBase.lookupChild(CubeBase.java:155)
[java] at mondrian.olap.Query.lookupChild(Query.java:1415)
[java] at mondrian.olap.Util.lookupCompound(Util.java:202)
[java] at mondrian.olap.Util.lookupCompound(Util.java:194)
[java] at mondrian.olap.Util.lookupCompound(Util.java:215)
[java] at mondrian.olap.Util.lookupMember(Util.java:243)
[java] at mondrian.olap.Query.lookupMember(Query.java:1449)
[java] at mondrian.olap.Id.resolve(Id.java:119)
[java] at mondrian.olap.FunCall.resolve(FunCall.java:136)
[java] at mondrian.olap.FunCall.resolve(FunCall.java:136)
[java] at mondrian.olap.QueryAxis.resolve(QueryAxis.java:56)
[java] at mondrian.olap.Query.resolve(Query.java:144)
[java] at mondrian.olap.Query.<init>(Query.java:80)
[java] at mondrian.olap.Query.<init>(Query.java:61)
[java] at mondrian.olap.Parser.makeQuery(Parser.java:633)
[java] at mondrian.olap.CUP$Parser$actions.CUP$Parser$do_action(Parser.java:1353)
[java] at mondrian.olap.Parser.do_action(Parser.java:564)
[java] at java_cup.runtime.lr_parser.parse(lr_parser.java:569)
[java] at mondrian.olap.Parser.parseInternal(Parser.java:616)
[java] ... 24 more
[java] Caused by: java.sql.SQLException: [Microsoft][Controlador ODBC Microsoft Access] Pocos parĂ¡metros. Se esperaba 1.
[java] at mondrian.rolap.RolapUtil.executeQuery(RolapUtil.java:151)
[java] at mondrian.rolap.SqlMemberSource.getMemberChildren(SqlMemberSource.java:535)
[java] ... 51 more
[java] FAILURES!!!
[java] Tests run: 203, Failures: 0, Errors: 1
BUILD SUCCESSFUL
Total time: 1 minute 36 seconds

yyie
02-13-2003, 01:30 AM
When i run D:\mondrian>build start.tomcat
all run ok but nothing happen I run tomcat using d:\tomcat\bin\startup
I don't know if this thing is related with my other problems....
Buildfile: build.xml
start.tomcat:
[echo] classpath is D:\tomcat\lib\tools.jar;D:\tomcat\localhost\work\classe
s;D:\tomcat\bin\bootstrap.jar;D:\mondrian\${myenv.ORACLE_HOME}\jdbc\lib\classes1
2.zip;D:\mondrian\${myenv.MYSQL_HOME}\lib\mysql-connector-java-2.0.14-bin.jar
[java] org.apache.commons.logging.LogConfigurationException: java.lang.Null
PointerException
[java] at org.apache.commons.logging.LogFactory.newFactory(LogFactory.j
ava:558)
[java] at org.apache.commons.logging.LogFactory.getFactory(LogFactory.j
ava:355)
[java] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:
409)
[java] at org.apache.commons.digester.Digester.<init>(Digester.java:345
)
[java] at org.apache.catalina.startup.Catalina.createStartDigester(Cata
lina.java:280)
[java] at org.apache.catalina.startup.Catalina.start(Catalina.java:441)
[java] at org.apache.catalina.startup.Catalina.execute(Catalina.java:40
0)
[java] at org.apache.catalina.startup.Catalina.process(Catalina.java:18
0)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:324)
[java] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203
)
[java] Caused by: java.lang.NullPointerException
[java] at org.apache.commons.logging.LogFactory.newFactory(LogFactory.j
ava:543)
[java] ... 12 more
BUILD SUCCESSFUL
Total time: 5 seconds