{"action":"opened","issue":{"url":"https://api.github.com/repos/rancher/rancher/issues/5896","repository_url":"https://api.github.com/repos/rancher/rancher","labels_url":"https://api.github.com/repos/rancher/rancher/issues/5896/labels{/name}","comments_url":"https://api.github.com/repos/rancher/rancher/issues/5896/comments","events_url":"https://api.github.com/repos/rancher/rancher/issues/5896/events","html_url":"https://github.com/rancher/rancher/issues/5896","id":175133052,"number":5896,"title":"Disabling all catalog sources prompts java.lang.ArrayIndexOutOfBoundsException ","user":{"login":"bradjones1","id":981966,"avatar_url":"https://avatars.githubusercontent.com/u/981966?v=3","gravatar_id":"","url":"https://api.github.com/users/bradjones1","html_url":"https://github.com/bradjones1","followers_url":"https://api.github.com/users/bradjones1/followers","following_url":"https://api.github.com/users/bradjones1/following{/other_user}","gists_url":"https://api.github.com/users/bradjones1/gists{/gist_id}","starred_url":"https://api.github.com/users/bradjones1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradjones1/subscriptions","organizations_url":"https://api.github.com/users/bradjones1/orgs","repos_url":"https://api.github.com/users/bradjones1/repos","events_url":"https://api.github.com/users/bradjones1/events{/privacy}","received_events_url":"https://api.github.com/users/bradjones1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-05T22:29:59Z","updated_at":"2016-09-05T22:29:59Z","closed_at":null,"body":"**Rancher Version:**\r\n\r\nv1.2.0-pre2\r\n\r\n**Docker Version:**\r\n\r\n1.11.1\r\n\r\n**OS and where are the hosts located? (cloud, bare metal, etc):**\r\n\r\nSoftLayer cloud - Ubuntu\r\n\r\n**Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)**\r\n\r\nSingle node rancher with external DB\r\n\r\n**Environment Type: (Cattle/Kubernetes/Swarm/Mesos)**\r\n\r\nOne cattle environment, one \"legacy\" Swarm\r\n\r\n**Steps to Reproduce:**\r\n\r\nDisable both the official and community catalog sources.\r\n\r\n**Results:** \r\n\r\nThe following message is repeated constantly in the rancher server's log.\r\n```\r\n9/5/2016 4:13:20 PM2016-09-05 22:13:20,731 ERROR [:] [] [] [] [ecutorService-9] [o.a.c.m.context.NoExceptionRunnable ] Uncaught exception java.lang.ArrayIndexOutOfBoundsException: 1\r\n9/5/2016 4:13:20 PM\tat io.cattle.platform.docker.machine.launch.CatalogLauncher.prepareConfigFile(CatalogLauncher.java:121) ~[cattle-docker-machine-0.5.0-SNAPSHOT.jar:na]\r\n9/5/2016 4:13:20 PM\tat io.cattle.platform.docker.machine.launch.CatalogLauncher.prepareProcess(CatalogLauncher.java:98) ~[cattle-docker-machine-0.5.0-SNAPSHOT.jar:na]\r\n9/5/2016 4:13:20 PM\tat io.cattle.platform.service.launcher.GenericServiceLauncher.doRun(GenericServiceLauncher.java:203) ~[cattle-iaas-logic-common-0.5.0-SNAPSHOT.jar:na]\r\n9/5/2016 4:13:20 PM\tat org.apache.cloudstack.managed.context.NoExceptionRunnable.runInContext(NoExceptionRunnable.java:15) ~[cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]\r\n9/5/2016 4:13:20 PM\tat org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49) [cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]\r\n9/5/2016 4:13:20 PM\tat org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55) [cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]\r\n9/5/2016 4:13:20 PM\tat org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:108) [cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]\r\n9/5/2016 4:13:20 PM\tat org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:52) [cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]\r\n9/5/2016 4:13:20 PM\tat org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46) [cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]\r\n9/5/2016 4:13:20 PM\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_101]\r\n9/5/2016 4:13:20 PM\tat java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) [na:1.7.0_101]\r\n9/5/2016 4:13:20 PM\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_101]\r\n9/5/2016 4:13:20 PM\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.7.0_101]\r\n9/5/2016 4:13:20 PM\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_101]\r\n9/5/2016 4:13:20 PM\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_101]\r\n9/5/2016 4:13:20 PM\tat java.lang.Thread.run(Thread.java:745) [na:1.7.0_101]\r\n```\r\n\r\n**Expected:**\r\n\r\nLog is not polluted with the above message, and the catalog service is not available in the top menu. Enable a catalog source and the service is started, and the log quiets."}}
{"actor":{"display_login":"bradjones1"}}