Project

General

Profile

Actions

Bug #9674

closed

Repository: При втором publish возникает ошибка

Added by Viktoria Kopach almost 5 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
05/23/2019
Due date:
% Done:

100%

Estimated time:
Detected in build:
1.1.569
Platform:
Windows x64
Published in build:
1.1.584

Description

При втором publish local changes (что-то изменили, сделали publish, что-то еще изменили, снова делаем publish) возникает окно с сообщением об ошибке.

При этом сохранение в репозиторий не происходит. Чтобы решить проблему помогает перезагрузить Eclipse, но этого хватает только на один publish. При втором снова возникает ошибка.

Перед этим в какой-то момент (возможно при первом publish или между ними) возникает ошибка в Error log:

eclipse.buildId=4.6.3.M20170301-0400
java.version=1.8.0_191
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -product com.unitesk.requality.product.product -perspective com.unitesk.requality.main.perspective -perspective com.unitesk.requality.main.perspective
Command-line arguments:  -os win32 -ws win32 -arch x86 -product com.unitesk.requality.product.product -perspective com.unitesk.requality.main.perspective -perspective com.unitesk.requality.main.perspective

org.eclipse.egit.core
Error
Thu May 23 13:27:31 MSK 2019
Remove repository mapping of Git mapped resource for which project or mapped git repository has disappeared: 'RepositoryMapping[.reqcache/.gitcache/a49ba9155f46006ad50a169f898c0b5664a0fffc/stpo -> '.git', absolute path: 'C:/Users/nicke/git/stpo-testing/.reqcache/.gitcache/a49ba9155f46006ad50a169f898c0b5664a0fffc/stpo/.git' ]'

java.io.FileNotFoundException: .reqcache/.gitcache/a49ba9155f46006ad50a169f898c0b5664a0fffc/stpo
    at org.eclipse.egit.core.project.GitProjectData.logAndUnmapGoneMappedResource(GitProjectData.java:720)
    at org.eclipse.egit.core.project.GitProjectData.map(GitProjectData.java:683)
    at org.eclipse.egit.core.project.GitProjectData.remapAll(GitProjectData.java:647)
    at org.eclipse.egit.core.project.GitProjectData.load(GitProjectData.java:630)
    at org.eclipse.egit.core.project.GitProjectData.get(GitProjectData.java:218)
    at org.eclipse.egit.core.internal.indexdiff.GitResourceDeltaVisitor.visit(GitResourceDeltaVisitor.java:115)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:64)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:75)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:48)
    at org.eclipse.egit.core.internal.indexdiff.IndexDiffCacheEntry$6.resourceChanged(IndexDiffCacheEntry.java:730)
    at org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:299)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:289)
    at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:152)
    at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:374)
    at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1469)
    at org.eclipse.core.internal.resources.Project.open(Project.java:1078)
    at org.eclipse.core.internal.resources.Project.open(Project.java:1087)
    at com.unitesk.requality.eclipse.core.EclipseTracker.reOpen(EclipseTracker.java:1045)
    at com.unitesk.requality.core.storage.ResManager.reOpen(ResManager.java:220)
    at com.unitesk.requality_git.comm.GitPush.callPush(GitPush.java:180)
    at com.unitesk.requality_git.comm.GitPush$1.run(GitPush.java:103)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)


Files

2019-05-23_1311.png (8.37 KB) 2019-05-23_1311.png Viktoria Kopach, 05/23/2019 02:46 PM
Actions #1

Updated by Viktoria Kopach almost 5 years ago

  • Description updated (diff)
Actions #2

Updated by Denis Kildishev almost 5 years ago

Нашел пробелему в версионировании. Возможно следующая версия поправит этот баг

Actions #3

Updated by Alexey Khoroshilov almost 5 years ago

  • Target version set to 1.1
Actions #4

Updated by Denis Kildishev almost 5 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

проблема эволюционировала в окно "Head cannot be loaded" и потом ошибка была исправлена в рабочей версии.
Условие воспроизведения - проект лежит в корне репозитория а не в какой-либо подпапке

Actions #5

Updated by Denis Kildishev almost 5 years ago

  • Published in build set to 1.1.584
Actions #6

Updated by Viktoria Kopach almost 5 years ago

  • Status changed from Resolved to Verified

Ошибка

Remove repository mapping of Git mapped resource for which project or mapped git repository has disappeared:

продолжает появляться, но по словам Дениса это не связано с описанной в данном тикете проблемой.

Actions #7

Updated by Alexey Khoroshilov almost 4 years ago

  • Status changed from Verified to Closed
Actions

Also available in: Atom PDF