[ 
https://issues.apache.org/jira/browse/OAK-5062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

angela updated OAK-5062:
------------------------
    Assignee: Thomas Mueller

> Test failure in 
> DocumentNodeStoreConfigTest.testRDBDocumentStore_CustomBlobDataSource
> -------------------------------------------------------------------------------------
>
>                 Key: OAK-5062
>                 URL: https://issues.apache.org/jira/browse/OAK-5062
>             Project: Jackrabbit Oak
>          Issue Type: Test
>          Components: documentmk
>            Reporter: Chetan Mehrotra
>            Assignee: Thomas Mueller
>            Priority: Minor
>              Labels: test
>             Fix For: 1.6
>
>         Attachments: unit-tests.log
>
>
> Saw a test failure 
> [here|https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/1262/jdk=JDK%201.7%20(latest),label=Ubuntu,nsfixtures=DOCUMENT_NS,profile=unittesting/testReport/junit/org.apache.jackrabbit.oak.run.osgi/DocumentNodeStoreConfigTest/testRDBDocumentStore_CustomBlobDataSource/]
> In the logs following can be seen
> {noformat}
> Caused by: org.h2.jdbc.JdbcSQLException: Syntax error in SQL statement 
> "create alias if not exists unix_timestamp as [*]$$ long unix_timestamp() { 
> return System.currentTimeMillis()/1000L; }"; SQL statement:
> create alias if not exists unix_timestamp as $$ long unix_timestamp() { 
> return System.currentTimeMillis()/1000L; } $$; [42000-193]
>       at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) 
> ~[h2-1.4.193.jar:1.4.193]
>       at org.h2.message.DbException.get(DbException.java:179) 
> ~[h2-1.4.193.jar:1.4.193]
>       at org.h2.message.DbException.get(DbException.java:155) 
> ~[h2-1.4.193.jar:1.4.193]
>       at org.h2.message.DbException.getSyntaxError(DbException.java:191) 
> ~[h2-1.4.193.jar:1.4.193]
>       at org.h2.command.Parser.getSyntaxError(Parser.java:530) 
> ~[h2-1.4.193.jar:1.4.193]
>       at org.h2.command.Parser.checkRunOver(Parser.java:3694) 
> ~[h2-1.4.193.jar:1.4.193]
>       at org.h2.command.Parser.initialize(Parser.java:3559) 
> ~[h2-1.4.193.jar:1.4.193]
>       at org.h2.command.Parser.parse(Parser.java:304) 
> ~[h2-1.4.193.jar:1.4.193]
>       at org.h2.command.Parser.parse(Parser.java:293) 
> ~[h2-1.4.193.jar:1.4.193]
>       at 
> org.h2.command.CommandContainer.recompileIfRequired(CommandContainer.java:73) 
> ~[h2-1.4.193.jar:1.4.193]
>       at org.h2.command.CommandContainer.update(CommandContainer.java:93) 
> ~[h2-1.4.193.jar:1.4.193]
>       at org.h2.command.Command.executeUpdate(Command.java:258) 
> ~[h2-1.4.193.jar:1.4.193]
>       at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:184) 
> ~[h2-1.4.193.jar:1.4.193]
>       at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:158) 
> ~[h2-1.4.193.jar:1.4.193]
>       at 
> org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.initialize(RDBDocumentStore.java:802)
>  ~[oak-core-1.6-SNAPSHOT.jar:1.6-SNAPSHOT]
>       at 
> org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.<init>(RDBDocumentStore.java:209)
>  ~[oak-core-1.6-SNAPSHOT.jar:1.6-SNAPSHOT]
>       ... 26 common frames omitted
> 03.11.2016 14:52:10.662 *ERROR* [CM Event Dispatcher (Fire 
> ConfigurationEvent: 
> pid=org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreService)] 
> org.apache.jackrabbit.oak-core 
> [org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreService(23)] 
> Failed creating the component instance; see log for reason
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to