SVN repository does not startup

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く

症状

SVN repository unable to startup.

atlassian-fisheye-<date>.log に次のメッセージが表示される。

2013-08-16 11:36:41,850 WARN  [qtp20978984-20503 ] / ContextHandler$Context-log - Exception while dispatching incoming RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract void com.atlassian.fecru.gwt.admin.client.RepositoryAdminRpcService.startRepository(java.lang.String) throws com.atlassian.fecru.gwt.admin.shared.InvalidRepositoryStateException,com.atlassian.fecru.gwt.admin.shared.AuthorizationException,com.atlassian.fecru.gwt.admin.shared.OperationFailureException,com.atlassian.fecru.gwt.admin.shared.NoSuchRepositoryException' threw an unexpected exception: java.lang.NullPointerException
	at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:389)
	at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:579)
	at com.atlassian.fecru.gwt.servlet.GwtRPCRoutingServlet.invokeRequest(GwtRPCRoutingServlet.java:73)
	at com.atlassian.fecru.gwt.servlet.GwtRPCRoutingServlet.processCall(GwtRPCRoutingServlet.java:51)
	at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
	at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
…
Caused by: java.lang.NullPointerException
	at com.atlassian.fisheye.svn.Svn2RepositoryEngine.getEarliestInState(Svn2RepositoryEngine.java:162)
	at com.atlassian.fisheye.svn.Svn2RepositoryEngine.initialiseRepositoryStatus(Svn2RepositoryEngine.java:140)
	at com.cenqua.fisheye.rep.RepositoryEngine.start(RepositoryEngine.java:227)
	at com.cenqua.fisheye.rep.RepositoryHandle.run(RepositoryHandle.java:409)
	at com.cenqua.fisheye.config.DefaultRepositoryManager.runRepository(DefaultRepositoryManager.java:346)
	at com.atlassian.fisheye.spi.admin.impl.DefaultRepositoryAdminService.start(DefaultRepositoryAdminService.java:1228)

原因

Bug report FE-5370 - A spurious FileLockException is thrown when a repository throws an exception on startup

ソリューション

Upgrade to Fisheye 3.7.1, 3.8.0 or later where the bug has been fixed or completely re-index the repository:

  1. Stop the repository.
  2. Backup and delete the index folder at FISHEYE_INST/var/cache/<reponame>
  3. Start the repository.

最終更新日: 2025 年 1 月 27 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.