org.sonar.runner.impl.RunnerException: Unable to execute Sonar

GitHub | dwerder | 5 months ago
  1. 0

    GitHub comment 898#230543518

    GitHub | 5 months ago | dwerder
    org.sonar.runner.impl.RunnerException: Unable to execute Sonar
  2. 0

    Optaplanner exeption: The selectionList contains 2 times the same selection

    Stack Overflow | 10 months ago | the_grandson
    java.lang.IllegalStateException: The selectionList contains 2 times the same selection (Edge to: MinMax1 from: s4,s5,) and (Edge to: Sum2 from: s3,s4,).
  3. 0

    The given graph instance does not allow concurrent access

    Google Groups | 10 months ago | Laxmikant Patil
    java.lang.IllegalStateException: The given graph instance does not allow concurrent access.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Currently when the automerge fails, there will be a popup within Stash saying there is 'An error occurred' without specifying details about the error. For example this popup: !ScreenHunter_921.gif! Which is caused by the pattern is not matching the branch model per this error: {code} 2014-06-20 17:06:48,536 ERROR [http-bio-7990-exec-2304] xxxxxxx 1026x145378x2 10zrerl 10.69.10.134 "GET /rest/branch-utils/latest/projects/XX/repos/automatic-branch-merging/automerge/path HTTP/1.1" c.a.s.r.e.UnhandledExceptionMapper Unhandled exception while processing REST call java.lang.IllegalStateException: To node InternalBranch{id=refs/heads/release/4.0.x, displayId=release/4.0.x, latestChangeset=0529f68cf8652c268adf03759eb49770747a4d0d, default=true} is already in the graph at com.atlassian.stash.internal.branch.model.BranchModelGraphBuilder.addPath(BranchModelGraphBuilder.java:51) ~[stash-branch-utils-2.12.2_1398817592000.jar:na] at com.atlassian.stash.internal.branch.model.BranchModelGraphBuilder.forSinglePath(BranchModelGraphBuilder.java:40) ~[stash-branch-utils-2.12.2_1398817592000.jar:na] at com.atlassian.stash.internal.branch.model.SimpleBranchModel.getMergePath(SimpleBranchModel.java:77) ~[stash-branch-utils-2.12.2_1398817592000.jar:na] at com.atlassian.stash.internal.branch.automerge.DefaultAutoMergeService$$anonfun$getDownstreamBranches$2.apply(DefaultAutoMergeService.scala:44) ~[stash-branch-utils-2.12.2_1398817592000.jar:na] at com.atlassian.stash.internal.branch.automerge.DefaultAutoMergeService$$anonfun$getDownstreamBranches$2.apply(DefaultAutoMergeService.scala:44) ~[stash-branch-utils-2.12.2_1398817592000.jar:na] at scala.util.Either$RightProjection.map(Either.scala:536) ~[scala-2.10-provider-plugin-0.5.jar:na] at com.atlassian.stash.internal.branch.automerge.DefaultAutoMergeService.getDownstreamBranches(DefaultAutoMergeService.scala:44) ~[stash-branch-utils-2.12.2_1398817592000.jar:na] at com.atlassian.stash.internal.branch.automerge.DefaultAutoMergeService.getAutoMerge(DefaultAutoMergeService.scala:16) ~[stash-branch-utils-2.12.2_1398817592000.jar:na] at com.atlassian.stash.internal.branch.automerge.rest.AutoMergeResource.getMergePath(AutoMergeResource.java:59) ~[stash-branch-utils-2.12.2_1398817592000.jar:na] at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25) [applinks-plugin-4.1.1_1398817314000.jar:na] at com.atlassian.stash.internal.spring.security.StashAuthenticationFilter.doFilter(StashAuthenticationFilter.java:92) [StashAuthenticationFilter.class:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doInsideSpringSecurityChain(BeforeLoginPluginAuthenticationFilter.java:111) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:77) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:100) [atlassian-trusted-apps-core-3.0.3.jar:na] at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:61) [atlassian-oauth-service-provider-plugin-1.9.1_1398817314000.jar:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doBeforeBeforeLoginFilters(BeforeLoginPluginAuthenticationFilter.java:89) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:75) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.stash.internal.request.DefaultRequestManager.doAsRequest(DefaultRequestManager.java:73) [stash-service-impl-2.12.2.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [na:1.7.0_09-icedtea] at java.lang.Thread.run(Thread.java:722) [na:1.7.0_09-icedtea] ... 178 frames trimmed {code} Would be feasible having detailed error message on the UI instead of referring to the logs each time the merge fails

    Atlassian JIRA | 2 years ago | Omar Al-Safi [Atlassian]
    java.lang.IllegalStateException: To node InternalBranch{id=refs/heads/release/4.0.x, displayId=release/4.0.x, latestChangeset=0529f68cf8652c268adf03759eb49770747a4d0d, default=true} is already in the graph
  6. 0

    Currently when the automerge fails, there will be a popup within Stash saying there is 'An error occurred' without specifying details about the error. For example this popup: !ScreenHunter_921.gif! Which is caused by the pattern is not matching the branch model per this error: {code} 2014-06-20 17:06:48,536 ERROR [http-bio-7990-exec-2304] xxxxxxx 1026x145378x2 10zrerl 10.69.10.134 "GET /rest/branch-utils/latest/projects/XX/repos/automatic-branch-merging/automerge/path HTTP/1.1" c.a.s.r.e.UnhandledExceptionMapper Unhandled exception while processing REST call java.lang.IllegalStateException: To node InternalBranch{id=refs/heads/release/4.0.x, displayId=release/4.0.x, latestChangeset=0529f68cf8652c268adf03759eb49770747a4d0d, default=true} is already in the graph at com.atlassian.stash.internal.branch.model.BranchModelGraphBuilder.addPath(BranchModelGraphBuilder.java:51) ~[stash-branch-utils-2.12.2_1398817592000.jar:na] at com.atlassian.stash.internal.branch.model.BranchModelGraphBuilder.forSinglePath(BranchModelGraphBuilder.java:40) ~[stash-branch-utils-2.12.2_1398817592000.jar:na] at com.atlassian.stash.internal.branch.model.SimpleBranchModel.getMergePath(SimpleBranchModel.java:77) ~[stash-branch-utils-2.12.2_1398817592000.jar:na] at com.atlassian.stash.internal.branch.automerge.DefaultAutoMergeService$$anonfun$getDownstreamBranches$2.apply(DefaultAutoMergeService.scala:44) ~[stash-branch-utils-2.12.2_1398817592000.jar:na] at com.atlassian.stash.internal.branch.automerge.DefaultAutoMergeService$$anonfun$getDownstreamBranches$2.apply(DefaultAutoMergeService.scala:44) ~[stash-branch-utils-2.12.2_1398817592000.jar:na] at scala.util.Either$RightProjection.map(Either.scala:536) ~[scala-2.10-provider-plugin-0.5.jar:na] at com.atlassian.stash.internal.branch.automerge.DefaultAutoMergeService.getDownstreamBranches(DefaultAutoMergeService.scala:44) ~[stash-branch-utils-2.12.2_1398817592000.jar:na] at com.atlassian.stash.internal.branch.automerge.DefaultAutoMergeService.getAutoMerge(DefaultAutoMergeService.scala:16) ~[stash-branch-utils-2.12.2_1398817592000.jar:na] at com.atlassian.stash.internal.branch.automerge.rest.AutoMergeResource.getMergePath(AutoMergeResource.java:59) ~[stash-branch-utils-2.12.2_1398817592000.jar:na] at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25) [applinks-plugin-4.1.1_1398817314000.jar:na] at com.atlassian.stash.internal.spring.security.StashAuthenticationFilter.doFilter(StashAuthenticationFilter.java:92) [StashAuthenticationFilter.class:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doInsideSpringSecurityChain(BeforeLoginPluginAuthenticationFilter.java:111) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:77) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:100) [atlassian-trusted-apps-core-3.0.3.jar:na] at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:61) [atlassian-oauth-service-provider-plugin-1.9.1_1398817314000.jar:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doBeforeBeforeLoginFilters(BeforeLoginPluginAuthenticationFilter.java:89) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:75) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.stash.internal.request.DefaultRequestManager.doAsRequest(DefaultRequestManager.java:73) [stash-service-impl-2.12.2.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [na:1.7.0_09-icedtea] at java.lang.Thread.run(Thread.java:722) [na:1.7.0_09-icedtea] ... 178 frames trimmed {code} Would be feasible having detailed error message on the UI instead of referring to the logs each time the merge fails

    Atlassian JIRA | 2 years ago | Omar Al-Safi [Atlassian]
    java.lang.IllegalStateException: To node InternalBranch{id=refs/heads/release/4.0.x, displayId=release/4.0.x, latestChangeset=0529f68cf8652c268adf03759eb49770747a4d0d, default=true} is already in the graph

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      The graph already contains the edge : org.sonar.plugins.cxx.squid.FileEdge@51e754e1

      at org.sonar.graph.DirectedGraph.addEdgeToMap()
    2. SonarQube :: Graph
      DirectedGraph.addEdge
      1. org.sonar.graph.DirectedGraph.addEdgeToMap(DirectedGraph.java:82)
      2. org.sonar.graph.DirectedGraph.addEdge(DirectedGraph.java:68)
      2 frames
    3. org.sonar.plugins
      CxxSquidSensor.execute
      1. org.sonar.plugins.cxx.squid.DependencyAnalyzer.addFile(DependencyAnalyzer.java:113)
      2. org.sonar.plugins.cxx.squid.CxxSquidSensor.save(CxxSquidSensor.java:169)
      3. org.sonar.plugins.cxx.squid.CxxSquidSensor.execute(CxxSquidSensor.java:128)
      3 frames
    4. org.sonar.batch
      SensorWrapper.analyse
      1. org.sonar.batch.sensor.SensorWrapper.analyse(SensorWrapper.java:57)
      1 frame
    5. SonarQube
      ModuleScanContainer.doAfterStart
      1. org.sonar.batch.phases.SensorsExecutor.executeSensor(SensorsExecutor.java:58)
      2. org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:50)
      3. org.sonar.batch.phases.AbstractPhaseExecutor.execute(AbstractPhaseExecutor.java:83)
      4. org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:192)
      4 frames
    6. org.sonar.core
      ComponentContainer.execute
      1. org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142)
      2. org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)
      2 frames
    7. SonarQube
      ProjectScanContainer.doAfterStart
      1. org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:241)
      2. org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:236)
      3. org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:234)
      4. org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:226)
      4 frames
    8. org.sonar.core
      ComponentContainer.execute
      1. org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142)
      2. org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)
      2 frames
    9. org.sonar.batch
      TaskContainer.doAfterStart
      1. org.sonar.batch.task.ScanTask.execute(ScanTask.java:47)
      2. org.sonar.batch.task.TaskContainer.doAfterStart(TaskContainer.java:86)
      2 frames
    10. org.sonar.core
      ComponentContainer.execute
      1. org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:142)
      2. org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:127)
      2 frames
    11. SonarQube
      Batch.execute
      1. org.sonar.batch.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:106)
      2. org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:119)
      3. org.sonar.batch.bootstrapper.Batch.execute(Batch.java:79)
      3 frames
    12. SonarQube Runner - Batch
      IsolatedLauncher.execute
      1. org.sonar.runner.batch.IsolatedLauncher.execute(IsolatedLauncher.java:48)
      1 frame
    13. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    14. SonarQube Runner
      BatchLauncher$1.run
      1. org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:87)
      2. org.sonar.runner.impl.BatchLauncher$1.run(BatchLauncher.java:75)
      2 frames
    15. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    16. SonarQube Runner
      Runner.execute
      1. org.sonar.runner.impl.BatchLauncher.doExecute(BatchLauncher.java:69)
      2. org.sonar.runner.impl.BatchLauncher.execute(BatchLauncher.java:50)
      3. org.sonar.runner.api.EmbeddedRunner.doExecute(EmbeddedRunner.java:102)
      4. org.sonar.runner.api.Runner.execute(Runner.java:100)
      4 frames
    17. org.sonar.runner
      Main.main
      1. org.sonar.runner.Main.executeTask(Main.java:70)
      2. org.sonar.runner.Main.execute(Main.java:59)
      3. org.sonar.runner.Main.main(Main.java:53)
      3 frames