manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Piergiorgio Lucidi <piergior...@apache.org>
Subject Re: Problem during building from trunk using Maven
Date Fri, 04 Sep 2015 09:54:31 GMT
Solved!

I had some corrupted files in my current code, refreshing with a new
checkout solved the issue!

I'm sorry and have a nice day!

Piergiorgio

2015-09-04 10:03 GMT+02:00 Piergiorgio Lucidi <piergiorgio@apache.org>:

> Hi guys,
>
> I would like to work on the issue CONNECTORS-1235 but trying to execute
> the command:
>
> mvn clean install
>
> from the main trunk it returns the following exception, am I missing
> something?
>
> Thank you.
> Piergiorgio
>
> -------------------------------------------------------
>
>  T E S T S
>
> -------------------------------------------------------
>
> Running org.apache.manifoldcf.crawler.tests.ConnectionChangeHSQLDBTest
>
> Configuration file successfully read
>
> 2015-09-04 09:54:51.292:INFO::main: Logging initialized @1404ms
>
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 46.083 sec
> - in org.apache.manifoldcf.crawler.tests.ConnectionChangeHSQLDBTest
>
> Running org.apache.manifoldcf.crawler.tests.InterruptionHSQLDBTest
>
> Configuration file successfully read
>
> 2015-09-04 09:55:37.789:INFO::main: Logging initialized @1590ms
>
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 56.391 sec
> - in org.apache.manifoldcf.crawler.tests.InterruptionHSQLDBTest
>
> Running org.apache.manifoldcf.crawler.tests.SanityHSQLDBTest
>
> Configuration file successfully read
>
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 5.876 sec
> <<< FAILURE! - in org.apache.manifoldcf.crawler.tests.SanityHSQLDBTest
>
> sanityCheck(org.apache.manifoldcf.crawler.tests.SanityHSQLDBTest)  Time
> elapsed: 5.815 sec  <<< ERROR!
>
> java.lang.Error: Unresolved compilation problems:
>
> Logger cannot be resolved to a type
>
> Logger cannot be resolved to a type
>
> The method newLogger(String) from the type Logging refers to the missing
> type Logger
>
> Logger cannot be resolved to a type
>
> The method newLogger(String) from the type Logging refers to the missing
> type Logger
>
> Logger cannot be resolved to a type
>
> The method newLogger(String) from the type Logging refers to the missing
> type Logger
>
>
> at
> org.apache.manifoldcf.authorities.system.Logging.initializeLoggers(Logging.java:43)
>
> at
> org.apache.manifoldcf.authorities.system.ManifoldCF.localInitialize(ManifoldCF.java:78)
>
> at
> org.apache.manifoldcf.crawler.tests.BaseHSQLDB.initializeSystem(BaseHSQLDB.java:118)
>
> at org.apache.manifoldcf.crawler.tests.BaseHSQLDB.setUp(BaseHSQLDB.java:38)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> at java.lang.reflect.Method.invoke(Method.java:497)
>
> at
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
>
> at
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
>
> at
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
>
> at
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
>
> at
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
>
> at
> org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
>
> at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
>
> at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
>
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
>
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
>
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
>
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
>
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
>
> at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
>
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
>
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
>
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
>
> at
> org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
>
> at
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
>
> at
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
>
>
> sanityCheck(org.apache.manifoldcf.crawler.tests.SanityHSQLDBTest)  Time
> elapsed: 5.815 sec  <<< ERROR!
>
> java.lang.Error: Unresolved compilation problems:
>
> Logger cannot be resolved to a type
>
> Logger cannot be resolved to a type
>
> Logger cannot be resolved to a type
>
> Logger cannot be resolved to a type
>
>
> at
> org.apache.manifoldcf.authorities.system.ManifoldCF.localCleanup(ManifoldCF.java:94)
>
> at
> org.apache.manifoldcf.crawler.tests.BaseHSQLDB.cleanupSystem(BaseHSQLDB.java:126)
>
> at
> org.apache.manifoldcf.crawler.tests.BaseHSQLDB.cleanUp(BaseHSQLDB.java:81)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> at java.lang.reflect.Method.invoke(Method.java:497)
>
> at
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
>
> at
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
>
> at
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
>
> at
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:37)
>
> at
> org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
>
> at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
>
> at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
>
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
>
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
>
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
>
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
>
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
>
> at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
>
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
>
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
>
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
>
> at
> org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
>
> at
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
>
> at
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
>
>
> Running org.apache.manifoldcf.crawler.tests.SchedulerHSQLDBTest
>
> Configuration file successfully read
>
> org.apache.manifoldcf.core.interfaces.ManifoldCFException: Database
> exception: SQLException doing query (42501): user lacks privilege or object
> not found: REPOCONNECTIONS
>
> at
> org.apache.manifoldcf.core.database.Database$ExecuteQueryThread.finishUp(Database.java:715)
>
> at
> org.apache.manifoldcf.core.database.Database.executeViaThread(Database.java:741)
>
> at
> org.apache.manifoldcf.core.database.Database.executeUncachedQuery(Database.java:784)
>
> at
> org.apache.manifoldcf.core.database.Database$QueryCacheExecutor.create(Database.java:1457)
>
> at
> org.apache.manifoldcf.core.cachemanager.CacheManager.findObjectsAndExecute(CacheManager.java:146)
>
> at
> org.apache.manifoldcf.core.database.Database.executeQuery(Database.java:204)
>
> at
> org.apache.manifoldcf.core.database.DBInterfaceHSQLDB.performQuery(DBInterfaceHSQLDB.java:916)
>
> at
> org.apache.manifoldcf.core.database.BaseTable.performQuery(BaseTable.java:221)
>
> at
> org.apache.manifoldcf.crawler.repository.RepositoryConnectionManager.findConnectionsForConnector(RepositoryConnectionManager.java:575)
>
> at
> org.apache.manifoldcf.crawler.tests.ConnectorBaseHSQLDB.localCleanUp(ConnectorBaseHSQLDB.java:285)
>
> at
> org.apache.manifoldcf.crawler.tests.SchedulerHSQLDBTest.cleanUp(SchedulerHSQLDBTest.java:127)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> at java.lang.reflect.Method.invoke(Method.java:497)
>
> at
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
>
> at
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
>
> at
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
>
> at
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:37)
>
> at
> org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
>
> at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
>
> at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
>
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
>
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
>
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
>
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
>
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
>
> at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
>
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
>
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
>
> at
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
>
> at
> org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
>
> at
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
>
> at
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
>
> Caused by: java.sql.SQLSyntaxErrorException: user lacks privilege or
> object not found: REPOCONNECTIONS
>
> at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)
>
> at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)
>
> at org.hsqldb.jdbc.JDBCPreparedStatement.<init>(Unknown Source)
>
> at org.hsqldb.jdbc.JDBCConnection.prepareStatement(Unknown Source)
>
> at org.apache.manifoldcf.core.database.Database.execute(Database.java:896)
>
> at
> org.apache.manifoldcf.core.database.Database$ExecuteQueryThread.run(Database.java:696)
>
> Caused by: org.hsqldb.HsqlException: user lacks privilege or object not
> found: REPOCONNECTIONS
>
> at org.hsqldb.error.Error.error(Unknown Source)
>
> at org.hsqldb.error.Error.error(Unknown Source)
>
> at org.hsqldb.SchemaManager.getTable(Unknown Source)
>
> at org.hsqldb.ParserDQL.readTableName(Unknown Source)
>
> at org.hsqldb.ParserDQL.readTableOrSubquery(Unknown Source)
>
> at org.hsqldb.ParserDQL.XreadTableReference(Unknown Source)
>
> at org.hsqldb.ParserDQL.XreadFromClause(Unknown Source)
>
> at org.hsqldb.ParserDQL.XreadTableExpression(Unknown Source)
>
> at org.hsqldb.ParserDQL.XreadQuerySpecification(Unknown Source)
>
> at org.hsqldb.ParserDQL.XreadSimpleTable(Unknown Source)
>
> at org.hsqldb.ParserDQL.XreadQueryPrimary(Unknown Source)
>
> at org.hsqldb.ParserDQL.XreadQueryTerm(Unknown Source)
>
> at org.hsqldb.ParserDQL.XreadQueryExpressionBody(Unknown Source)
>
> at org.hsqldb.ParserDQL.XreadQueryExpression(Unknown Source)
>
> at org.hsqldb.ParserDQL.compileCursorSpecification(Unknown Source)
>
> at org.hsqldb.ParserCommand.compilePart(Unknown Source)
>
> at org.hsqldb.ParserCommand.compileStatement(Unknown Source)
>
> at org.hsqldb.Session.compileStatement(Unknown Source)
>
> at org.hsqldb.StatementManager.compile(Unknown Source)
>
> at org.hsqldb.Session.execute(Unknown Source)
>
> ... 4 more
>
> --
> Piergiorgio Lucidi
> Open Source Technology Master of Enterprise Information Management
> http://www.open4dev.com
>



-- 
Piergiorgio Lucidi
Open Source ECM Specialist
http://www.open4dev.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message