Uploaded image for project: 'MyCoRe'
  1. MCR-1196

Creating new object in an empty MCR System cause SVNException

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2015.05.0, 2016.02
    • Fix Version/s: 2015.05.01, 2016.06.0
    • Component/s: mycore-base
    • Labels:
      None

      Description

      2016-02-23 16:36:00.478 [qtp249515771-19] WARN org.mycore.datamodel.ifs2.MCRVersionedMetadata - Could not get last revision of: org.mycore.datamodel.ifs2.MCRVersioningMetadataStore@4ff6a478_1
      org.tmatesoft.svn.core.SVNException: svn: E160013: File not found: revision 0, path '/0000/00'
      at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64) ~[svnkit-1.8.11.jar:?]
      at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51) ~[svnkit-1.8.11.jar:?]
      at org.tmatesoft.svn.core.internal.io.fs.FSRevisionRoot.getNodeHistory(FSRevisionRoot.java:65) ~[svnkit-1.8.11.jar:?]
      at org.tmatesoft.svn.core.internal.io.fs.FSLog.getPathHistories(FSLog.java:470) ~[svnkit-1.8.11.jar:?]
      at org.tmatesoft.svn.core.internal.io.fs.FSLog.doLogs(FSLog.java:178) ~[svnkit-1.8.11.jar:?]
      at org.tmatesoft.svn.core.internal.io.fs.FSLog.runLog(FSLog.java:172) ~[svnkit-1.8.11.jar:?]
      at org.tmatesoft.svn.core.internal.io.fs.FSRepository.logImpl(FSRepository.java:383) ~[svnkit-1.8.11.jar:?]
      at org.tmatesoft.svn.core.io.SVNRepository.log(SVNRepository.java:1038) ~[svnkit-1.8.11.jar:?]
      at org.mycore.datamodel.ifs2.MCRVersionedMetadata.getLastRevision(MCRVersionedMetadata.java:370) ~[mycore-base-2015.12-SNAPSHOT.jar:2015.12-SNAPSHOT]
      at org.mycore.datamodel.ifs2.MCRVersionedMetadata.getLastRevision(MCRVersionedMetadata.java:379) [mycore-base-2015.12-SNAPSHOT.jar:2015.12-SNAPSHOT]
      at org.mycore.datamodel.ifs2.MCRVersionedMetadata$$Lambda$95/1768591378.get(Unknown Source) [mycore-base-2015.12-SNAPSHOT.jar:2015.12-SNAPSHOT]
      at java.util.Optional.orElseGet(Optional.java:267) [?:1.8.0_51]
      at org.mycore.datamodel.ifs2.MCRVersionedMetadata.<init>(MCRVersionedMetadata.java:129) [mycore-base-2015.12-SNAPSHOT.jar:2015.12-SNAPSHOT]
      at org.mycore.datamodel.ifs2.MCRVersioningMetadataStore.buildMetadataObject(MCRVersioningMetadataStore.java:193) [mycore-base-2015.12-SNAPSHOT.jar:2015.12-SNAPSHOT]
      at org.mycore.datamodel.ifs2.MCRVersioningMetadataStore.buildMetadataObject(MCRVersioningMetadataStore.java:57) [mycore-base-2015.12-SNAPSHOT.jar:2015.12-SNAPSHOT]
      at org.mycore.datamodel.ifs2.MCRMetadataStore.create(MCRMetadataStore.java:131) [mycore-base-2015.12-SNAPSHOT.jar:2015.12-SNAPSHOT]
      at org.mycore.datamodel.ifs2.MCRVersioningMetadataStore.create(MCRVersioningMetadataStore.java:149) [mycore-base-2015.12-SNAPSHOT.jar:2015.12-SNAPSHOT]
      at org.mycore.datamodel.ifs2.MCRVersioningMetadataStore.create(MCRVersioningMetadataStore.java:57) [mycore-base-2015.12-SNAPSHOT.jar:2015.12-SNAPSHOT]
      at org.mycore.datamodel.common.MCRXMLMetadataManager.create(MCRXMLMetadataManager.java:402) [mycore-base-2015.12-SNAPSHOT.jar:2015.12-SNAPSHOT]
      at org.mycore.datamodel.common.MCRXMLMetadataEventHandler.handleStoreEvent(MCRXMLMetadataEventHandler.java:156) [mycore-base-2015.12-SNAPSHOT.jar:2015.12-SNAPSHOT]
      at org.mycore.datamodel.common.MCRXMLMetadataEventHandler.handleObjectCreated(MCRXMLMetadataEventHandler.java:58) [mycore-base-2015.12-SNAPSHOT.jar:2015.12-SNAPSHOT]
      at org.mycore.common.events.MCREventHandlerBase.doHandleEvent(MCREventHandlerBase.java:61) [mycore-base-2015.12-SNAPSHOT.jar:2015.12-SNAPSHOT]
      at org.mycore.common.events.MCREventManager.handleEvent(MCREventManager.java:201) [mycore-base-2015.12-SNAPSHOT.jar:2015.12-SNAPSHOT]
      at org.mycore.common.events.MCREventManager.handleEvent(MCREventManager.java:234) [mycore-base-2015.12-SNAPSHOT.jar:2015.12-SNAPSHOT]
      at org.mycore.datamodel.metadata.MCRMetadataManager.fireEvent(MCRMetadataManager.java:946) [mycore-base-2015.12-SNAPSHOT.jar:2015.12-SNAPSHOT]
      at org.mycore.datamodel.metadata.MCRMetadataManager.create(MCRMetadataManager.java:325) [mycore-base-2015.12-SNAPSHOT.jar:2015.12-SNAPSHOT]
      at org.mycore.frontend.servlets.MCRPersistentServlet.createObject(MCRPersistentServlet.java:268) [mycore-base-2015.12-SNAPSHOT.jar:2015.12-SNAPSHOT]
      at org.mycore.frontend.servlets.MCRPersistentServlet.think(MCRPersistentServlet.java:135) [mycore-base-2015.12-SNAPSHOT.jar:2015.12-SNAPSHOT]
      at org.mycore.frontend.servlets.MCRServlet.processThinkPhase(MCRServlet.java:379) [mycore-base-2015.12-SNAPSHOT.jar:2015.12-SNAPSHOT]
      at org.mycore.frontend.servlets.MCRServlet.doGetPost(MCRServlet.java:306) [mycore-base-2015.12-SNAPSHOT.jar:2015.12-SNAPSHOT]
      at org.mycore.frontend.servlets.MCRServlet.doPost(MCRServlet.java:183) [mycore-base-2015.12-SNAPSHOT.jar:2015.12-SNAPSHOT]
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:821) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:566) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1158) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1090) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:159) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:74) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.mycore.frontend.xeditor.target.MCRServletTarget.handleSubmission(MCRServletTarget.java:58) [mycore-xeditor-2015.12-SNAPSHOT.jar:2015.12-SNAPSHOT]
      at org.mycore.frontend.xeditor.MCRXEditorServlet.sendToTarget(MCRXEditorServlet.java:84) [mycore-xeditor-2015.12-SNAPSHOT.jar:2015.12-SNAPSHOT]
      at org.mycore.frontend.xeditor.MCRXEditorServlet.doGetPost(MCRXEditorServlet.java:60) [mycore-xeditor-2015.12-SNAPSHOT.jar:2015.12-SNAPSHOT]
      at org.mycore.frontend.servlets.MCRServlet.doPost(MCRServlet.java:190) [mycore-base-2015.12-SNAPSHOT.jar:2015.12-SNAPSHOT]
      at org.mycore.frontend.servlets.MCRServlet.render(MCRServlet.java:448) [mycore-base-2015.12-SNAPSHOT.jar:2015.12-SNAPSHOT]
      at org.mycore.frontend.servlets.MCRServlet.processRenderingPhase(MCRServlet.java:416) [mycore-base-2015.12-SNAPSHOT.jar:2015.12-SNAPSHOT]
      at org.mycore.frontend.servlets.MCRServlet.doGetPost(MCRServlet.java:308) [mycore-base-2015.12-SNAPSHOT.jar:2015.12-SNAPSHOT]
      at org.mycore.frontend.servlets.MCRServlet.doPost(MCRServlet.java:183) [mycore-base-2015.12-SNAPSHOT.jar:2015.12-SNAPSHOT]
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:821) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1685) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.mycore.frontend.filter.MCRWebAppBaseFilter.doFilter(MCRWebAppBaseFilter.java:46) [mycore-base-2015.12-SNAPSHOT.jar:2015.12-SNAPSHOT]
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.mycore.frontend.filter.MCRRequestAuthenticationFilter.doFilter(MCRRequestAuthenticationFilter.java:42) [mycore-base-2015.12-SNAPSHOT.jar:2015.12-SNAPSHOT]
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.mycore.frontend.filter.MCRRequestDebugFilter.doFilter(MCRRequestDebugFilter.java:60) [mycore-base-2015.12-SNAPSHOT.jar:2015.12-SNAPSHOT]
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71) [log4j-web-2.4.1.jar:2.4.1]
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1158) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1090) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.eclipse.jetty.server.Server.handle(Server.java:517) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:261) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572) [jetty-runner-9.3.6.v20151106.jar:9.3.6.v20151106]
      at java.lang.Thread.run(Thread.java:745) [?:1.8.0_51]
      2016-02-23 16:36:00.513 [qtp249515771-19] INFO org.mycore.datamodel.ifs2.MCRVersionedMetadata - SVN commit of create finished, new revision 1

        Attachments

          Activity

            People

            • Assignee:
              yagee Thomas Scheffler
              Reporter:
              mcrvuchi Huu Chi Vu
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: