org.tmatesoft.sqljet.core.SqlJetException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • h3.Steps to reproduce: # Create an new repository with the command 'svnadmin reponame' # Make sure that the file 'rep-cache.db' does not exist # Add the repository into FishEye Reindex will fail with the following error: {noformat} 2013-05-02 09:18:57,038 INFO [InitialPinger2 reponame] fisheye BaseRepositoryScanner-ping - processing dsagile-hmi 2013-05-02 09:18:57,038 DEBUG [InitialPinger2 reponame] fisheye SvnRepositoryTester-checkRepoSettings - Checking repository: reponame:file:///path/to/repo/svn/reponame/ 2013-05-02 09:18:57,038 DEBUG [SvnExecution1129 reponame] fisheye SvnTask-run - Executing info -r HEAD file:///path/to/repo/svn/reponame/@HEAD 2013-05-02 09:18:57,073 INFO [SvnExecution1129 reponame] svnkit-fsfs DefaultSVNDebugLogger-log - FSFS: CANTOPEN org.tmatesoft.sqljet.core.SqlJetException: CANTOPEN: error code is CANTOPEN at org.tmatesoft.sqljet.core.internal.fs.SqlJetFileSystem.open(SqlJetFileSystem.java:158) at org.tmatesoft.sqljet.core.internal.fs.SqlJetFileSystem.open(SqlJetFileSystem.java:185) at org.tmatesoft.sqljet.core.internal.pager.SqlJetPager.open(SqlJetPager.java:395) at org.tmatesoft.sqljet.core.internal.btree.SqlJetBtree.open(SqlJetBtree.java:325) {noformat} [~tom@atlassian.com]: {quote} Because svnkit can also write to svn repositories (although FishEye never uses it to) it tries to open the rep-cache.db file in read/write mode. If it doesn't exist it will usually create it. If it does exist but is read-only it silently falls back to opening it read-only, which is fine as FishEye never invokes any svnkit operations which require a write. In the case of an empty repository whose files are read only the rep-cache.db file doesn't exist and can't be created, which triggers that error. As soon as that file is created (by a commit) svnkit successfully opens the repository. {quote}
    via by Kah Loun Foong [Atlassian],
  • h3.Steps to reproduce: # Create an new repository with the command 'svnadmin reponame' # Make sure that the file 'rep-cache.db' does not exist # Add the repository into FishEye Reindex will fail with the following error: {noformat} 2013-05-02 09:18:57,038 INFO [InitialPinger2 reponame] fisheye BaseRepositoryScanner-ping - processing dsagile-hmi 2013-05-02 09:18:57,038 DEBUG [InitialPinger2 reponame] fisheye SvnRepositoryTester-checkRepoSettings - Checking repository: reponame:file:///path/to/repo/svn/reponame/ 2013-05-02 09:18:57,038 DEBUG [SvnExecution1129 reponame] fisheye SvnTask-run - Executing info -r HEAD file:///path/to/repo/svn/reponame/@HEAD 2013-05-02 09:18:57,073 INFO [SvnExecution1129 reponame] svnkit-fsfs DefaultSVNDebugLogger-log - FSFS: CANTOPEN org.tmatesoft.sqljet.core.SqlJetException: CANTOPEN: error code is CANTOPEN at org.tmatesoft.sqljet.core.internal.fs.SqlJetFileSystem.open(SqlJetFileSystem.java:158) at org.tmatesoft.sqljet.core.internal.fs.SqlJetFileSystem.open(SqlJetFileSystem.java:185) at org.tmatesoft.sqljet.core.internal.pager.SqlJetPager.open(SqlJetPager.java:395) at org.tmatesoft.sqljet.core.internal.btree.SqlJetBtree.open(SqlJetBtree.java:325) {noformat} [~tom@atlassian.com]: {quote} Because svnkit can also write to svn repositories (although FishEye never uses it to) it tries to open the rep-cache.db file in read/write mode. If it doesn't exist it will usually create it. If it does exist but is read-only it silently falls back to opening it read-only, which is fine as FishEye never invokes any svnkit operations which require a write. In the case of an empty repository whose files are read only the rep-cache.db file doesn't exist and can't be created, which triggers that error. As soon as that file is created (by a commit) svnkit successfully opens the repository. {quote}
    via by Kah Loun Foong [Atlassian],
    • org.tmatesoft.sqljet.core.SqlJetException: CANTOPEN: error code is CANTOPEN at org.tmatesoft.sqljet.core.internal.fs.SqlJetFileSystem.open(SqlJetFileSystem.java:158) at org.tmatesoft.sqljet.core.internal.fs.SqlJetFileSystem.open(SqlJetFileSystem.java:185) at org.tmatesoft.sqljet.core.internal.pager.SqlJetPager.open(SqlJetPager.java:395) at org.tmatesoft.sqljet.core.internal.btree.SqlJetBtree.open(SqlJetBtree.java:325)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,