java.lang.IllegalStateException

Original file OriginalFile{id=1363, uuid='ca50dc09-5d0b-4083-9e52-eb0f66361422', key='MIS:MIS:4E9625D2-557E-450C-90CC-A6B6FB57B6C9:Models/XXX/Grids/ProjectTeams/SmpProjectTeamFilterModel.cs'} already registered for file ComponentImpl{key='StanMIS:StanMIS:4E9625D2-557E-450C-90CC-A6B6FB57B6C9:Models/Smp/Grids/ProjectTeams/SmpProjectTeamFilterModel.cs', type=FILE, uuid='AVe_-nQKU1hbfyCkniEZ', name='', description='null', fileAttributes=FileAttributes{languageKey='cs', unitTest=false}, reportAttributes=ReportAttributes{ref=1506, version='null', path='Models/Smp/Grids/ProjectTeams/SmpProjectTeamFilterModel.cs'}}. Unable to register OriginalFile{id=1353, uuid='1488ce7d-094c-4859-9e23-adae0f1ac2a3', key='StanMIS:StanMIS:4E9625D2-557E-450C-90CC-A6B6FB57B6C9:Models/XXX/Grids/DStanContacts/SmpDStanContactFilterModel.cs'}.

Samebug tips1

Check if there is no nexus running. If not, delete sonatype-work/nexus/nexus.lock .

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web24227

  • }, reportAttributes=ReportAttributes{ref=1506, version='null', path='Models/Smp/Grids/ProjectTeams/SmpProjectTeamFilterModel.cs'}}. Unable to register OriginalFile{id=1353, uuid='1488ce7d-094c-4859-9e23-adae0f1ac2a3', key='StanMIS:StanMIS:4E9625D2-557E-450C-90CC-A6B6FB57B6C9:Models/XXX/Grids/DStanContacts/SmpDStanContactFilterModel.cs'}.
  • }, reportAttributes=ReportAttributes{ref=1506, version='null', path='Models/Smp/Grids/ProjectTeams/SmpProjectTeamFilterModel.cs'}}. Unable to register OriginalFile{id=1353, uuid='1488ce7d-094c-4859-9e23-adae0f1ac2a3', key='StanMIS:StanMIS:4E9625D2-557E-450C-90CC-A6B6FB57B6C9:Models/XXX/Grids/DStanContacts/SmpDStanContactFilterModel.cs'}.
  • via Google Groups by Unknown author, 3 weeks ago
    Original file OriginalFile{id=19253, key='FILE_A.JAVA'} already registered for file ComponentImpl{key='FILE_A_MOVED.JAVA ', type=FILE, uuid='AVcpQJHtCMovtXq-OKsy', name='', description='null', fileAttributes=FileAttributes{languageKey='java
  • Stack trace

    • java.lang.IllegalStateException: Original file OriginalFile{id=1363, uuid='ca50dc09-5d0b-4083-9e52-eb0f66361422', key='MIS:MIS:4E9625D2-557E-450C-90CC-A6B6FB57B6C9:Models/XXX/Grids/ProjectTeams/SmpProjectTeamFilterModel.cs'} already registered for file ComponentImpl{key='StanMIS:StanMIS:4E9625D2-557E-450C-90CC-A6B6FB57B6C9:Models/Smp/Grids/ProjectTeams/SmpProjectTeamFilterModel.cs', type=FILE, uuid='AVe_-nQKU1hbfyCkniEZ', name='', description='null', fileAttributes=FileAttributes{languageKey='cs', unitTest=false}, reportAttributes=ReportAttributes{ref=1506, version='null', path='Models/Smp/Grids/ProjectTeams/SmpProjectTeamFilterModel.cs'}}. Unable to register OriginalFile{id=1353, uuid='1488ce7d-094c-4859-9e23-adae0f1ac2a3', key='StanMIS:StanMIS:4E9625D2-557E-450C-90CC-A6B6FB57B6C9:Models/XXX/Grids/DStanContacts/SmpDStanContactFilterModel.cs'}. at com.google.common.base.Preconditions.checkState(Preconditions.java:197)[guava-18.0.jar:na] at org.sonar.server.computation.filemove.MutableMovedFilesRepositoryImpl.setOriginalFile(MutableMovedFilesRepositoryImpl.java:41)[sonar-server-6.0.jar:na] at org.sonar.server.computation.filemove.FileMoveDetectionStep.registerMatches(FileMoveDetectionStep.java:144)[sonar-server-6.0.jar:na] at org.sonar.server.computation.filemove.FileMoveDetectionStep.execute(FileMoveDetectionStep.java:139)[sonar-server-6.0.jar:na] at org.sonar.server.computation.step.ComputationStepExecutor.executeSteps(ComputationStepExecutor.java:64)[sonar-server-6.0.jar:na] at org.sonar.server.computation.step.ComputationStepExecutor.execute(ComputationStepExecutor.java:52)[sonar-server-6.0.jar:na] at org.sonar.server.computation.taskprocessor.report.ReportTaskProcessor.process(ReportTaskProcessor.java:75)[sonar-server-6.0.jar:na] at org.sonar.server.computation.taskprocessor.CeWorkerCallableImpl.executeTask(CeWorkerCallableImpl.java:81)[sonar-server-6.0.jar:na] at org.sonar.server.computation.taskprocessor.CeWorkerCallableImpl.call(CeWorkerCallableImpl.java:56)[sonar-server-6.0.jar:na] at org.sonar.server.computation.taskprocessor.CeWorkerCallableImpl.call(CeWorkerCallableImpl.java:35)[sonar-server-6.0.jar:na] at java.util.concurrent.FutureTask.run(Unknown Source)[na:1.8.0_45] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)[na:1.8.0_45] at java.util.concurrent.FutureTask.run(Unknown Source)[na:1.8.0_45] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)[na:1.8.0_45] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)[na:1.8.0_45] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)[na:1.8.0_45] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[na:1.8.0_45] at java.lang.Thread.run(Unknown Source)[na:1.8.0_45]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 11 months ago
    4 times, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    84 more bugmates