java.lang.RuntimeException: Cannot Create new Replica Node :PeerEurekaNode: https://eureka:eurekapassword@uat2:8761/eureka/apps/:

Google Groups | Unknown author | 5 months ago
  1. 0

    Problem with node registration.

    Google Groups | 5 months ago | Unknown author
    java.lang.RuntimeException: Cannot Create new Replica Node :PeerEurekaNode: https://eureka:eurekapassword@uat2:8761/eureka/apps/:
  2. 0

    RuntimeException building productFlavor with data binding

    Stack Overflow | 8 months ago | KairisCharm
    java.lang.RuntimeException: java.lang.RuntimeException: cannot create expression from terminal node null
  3. 0

    Hive: unable to create thread - HDP2.1 - Hortonworks

    hortonworks.com | 11 months ago
    java.lang.RuntimeException: java.lang.OutOfMemoryError: unable to create new native thread
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    h3. Problem statement After fixing STASH-6868 which describes: {quote} The default value of {{executor.max.threads}} is 100 which is fine for average sized instances, but probably too small for very large instances. This limit is often the first one to be hit on instances with very high (especially SSH clone) hosting workload. The value should be increased, preferably scaling with instance size. {quote} We introduced a formula for {{executor.max.threads=20*cpu+100}} as can be seen on [Stash config properties - Executor|https://confluence.atlassian.com/display/STASH/Stash+config+properties#Stashconfigproperties-Executor]. The problem is that this value could be too big for big instances, generating errors like: {noformat} Exception in thread "ssh:thread-5" java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:714) at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:950) at java.util.concurrent.ThreadPoolExecutor.processWorkerExit(ThreadPoolExecutor.java:1018) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) {noformat} Or {noformat} 2015-03-24 18:46:39,850 ERROR [AtlassianEvent::thread-23] c.a.e.i.AsynchronousAbleEventDispatcher There was an exception thrown trying to dispatch event [com.atlassian.crowd.event.user.UserAttributeStoredEvent@d1e8fd3f] from the invoker [SingleParameterMethodListenerInvoker{method=public void com.atlassian.stash.internal.license.DefaultLicensedUserCountCache.onUserUpdatedEvent(com.atlassian.crowd.event.user.UserUpdatedEvent), listener=com.atlassian.stash.internal.license.DefaultLicensedUserCountCache@1301e2fa}] java.lang.RuntimeException: unable to create new native thread at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54) [atlassian-event-2.3.5.jar:na] at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:48) [atlassian-event-2.3.5.jar:na] at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:253) [guava-11.0.2-atlassian-02.jar:na] at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:107) [atlassian-event-2.3.5.jar:na] {noformat} We should check the number of CPUs available and have a ceiling for that value to avoid such scenarios. h3. Workaround Set in your {{stash-config.properties}} a fixed value for {{executor.max.threads}} which is lower and is reasonable to your system. This will overwrite the formula we ship by default once you restart Stash.

    Atlassian JIRA | 1 year ago | Thiago Bomfim [Atlassian]
    java.lang.RuntimeException: unable to create new native thread
  6. 0

    The branch detection service that runs every 5 minutes keeps creating same branch after each iteration if the branch name contains characters. e.g DSP-241,380,401_hibernate-loaders. In this case, the problematic character is a comma. The logs shows the following: {noformat} 2013-08-30 23:07:16,260 INFO [5-BranchDetectionBackgroundThread:pool-9-thread-1] [BranchDetectionServiceImpl] Created branch with key TESTA-GIT4 for VCS branch VCS Branch [DSP-241,380,401_hibernate-loaders] 2013-08-30 23:07:16,267 INFO [5-BranchDetectionBackgroundThread:pool-9-thread-1] [DashboardCacheListener] event: com.atlassian.bamboo.event.ChainCreatedEvent[source=com.atlassian.bamboo.build.creation.ChainBranchCreationServiceImpl@1b5756a1] plan=TESTA-GIT4 2013-08-30 23:07:16,287 INFO [AtlassianEvent::0-BAM::EVENTS:pool-2-thread-14] [InitialBuildListener] Initial build for TESTA-GIT4 2013-08-30 23:07:16,310 INFO [5-BranchDetectionBackgroundThread:pool-9-thread-1] [DashboardCachingManagerImpl] Plan cache updated for 1 plans in 0:00:00.023 2013-08-30 23:07:16,317 INFO [5-BranchDetectionBackgroundThread:pool-9-thread-1] [BranchDetectionServiceImpl] Disabling chain branch TESTA-GIT4 because its vcsBranch is no longer detected as open. . . . . 2013-08-30 23:07:22,012 ERROR [3-DelayedChangeDetectionThread:pool-6-thread-8] [RetryingTaskExecutor] Exception being rethrown 2013-08-30 23:07:22,012 ERROR [3-DelayedChangeDetectionThread:pool-6-thread-8] [ChainExecutionManagerImpl] Errors getting changes for TESTA-GIT4-1 java.lang.RuntimeException: com.atlassian.bamboo.repository.InvalidRepositoryException: Cannot determine head revision of 'https://sultanmaiyaki@bitbucket.org/sultanmaiyaki/bamboo-auto-create-issue.git' on branch 'DSP-241\,380\,401_hibernate-loaders'. Branch has probably been removed. at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:132) at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:88) at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:191) at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:176) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectionChangesWithRetry(DefaultChangeDetectionManager.java:470) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceLastBuildInternal(DefaultChangeDetectionManager.java:331) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceRevisions(DefaultChangeDetectionManager.java:259) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceRevisions(DefaultChangeDetectionManager.java:161) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectAllChangesSinceLastBuild(DefaultChangeDetectionManager.java:127) at com.atlassian.bamboo.build.BuildDetectionActionFactoryImpl$InitialBuildDetectionAction.performDelayedChangeDetection(BuildDetectionActionFactoryImpl.java:248) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl$2.getChainState(ChainExecutionManagerImpl.java:206) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.tryStartChainState(ChainExecutionManagerImpl.java:259) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.delayedStart(ChainExecutionManagerImpl.java:195) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy97.delayedStart(Unknown Source) {noformat}

    Atlassian JIRA | 3 years ago | Sultan Maiyaki [Atlassian]
    java.lang.RuntimeException: com.atlassian.bamboo.repository.InvalidRepositoryException: Cannot determine head revision of 'https://sultanmaiyaki@bitbucket.org/sultanmaiyaki/bamboo-auto-create-issue.git' on branch 'DSP-241\,380\,401_hibernate-loaders'. Branch has probably been removed.

    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.RuntimeException

      Cannot Create new Replica Node :PeerEurekaNode: https://eureka:eurekapassword@uat2:8761/eureka/apps/:

      at com.netflix.eureka.cluster.PeerEurekaNode.<init>()
    2. com.netflix.eureka
      PeerAwareInstanceRegistry$3.run
      1. com.netflix.eureka.cluster.PeerEurekaNode.<init>(PeerEurekaNode.java:132)[eureka-core-1.1.147.jar:1.1.147]
      2. com.netflix.eureka.PeerAwareInstanceRegistry.updatePeerEurekaNodes(PeerAwareInstanceRegistry.java:219)[eureka-core-1.1.147.jar:1.1.147]
      3. com.netflix.eureka.PeerAwareInstanceRegistry.access$100(PeerAwareInstanceRegistry.java:83)[eureka-core-1.1.147.jar:1.1.147]
      4. com.netflix.eureka.PeerAwareInstanceRegistry$3.run(PeerAwareInstanceRegistry.java:193)[eureka-core-1.1.147.jar:1.1.147]
      4 frames
    3. Java RT
      TimerThread.run
      1. java.util.TimerThread.mainLoop(Unknown Source)[na:1.7.0_40]
      2. java.util.TimerThread.run(Unknown Source)[na:1.7.0_40]
      2 frames