{"action":"created","issue":{"url":"https://api.github.com/repos/redhat-developer/rh-che/issues/839","repository_url":"https://api.github.com/repos/redhat-developer/rh-che","labels_url":"https://api.github.com/repos/redhat-developer/rh-che/issues/839/labels{/name}","comments_url":"https://api.github.com/repos/redhat-developer/rh-che/issues/839/comments","events_url":"https://api.github.com/repos/redhat-developer/rh-che/issues/839/events","html_url":"https://github.com/redhat-developer/rh-che/issues/839","id":355482331,"node_id":"MDU6SXNzdWUzNTU0ODIzMzE=","number":839,"title":"Unable to start a workspace from a factory url","user":{"login":"benoitf","id":436777,"node_id":"MDQ6VXNlcjQzNjc3Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/436777?v=4","gravatar_id":"","url":"https://api.github.com/users/benoitf","html_url":"https://github.com/benoitf","followers_url":"https://api.github.com/users/benoitf/followers","following_url":"https://api.github.com/users/benoitf/following{/other_user}","gists_url":"https://api.github.com/users/benoitf/gists{/gist_id}","starred_url":"https://api.github.com/users/benoitf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benoitf/subscriptions","organizations_url":"https://api.github.com/users/benoitf/orgs","repos_url":"https://api.github.com/users/benoitf/repos","events_url":"https://api.github.com/users/benoitf/events{/privacy}","received_events_url":"https://api.github.com/users/benoitf/received_events","type":"User","site_admin":false},"labels":[{"id":627682388,"node_id":"MDU6TGFiZWw2Mjc2ODIzODg=","url":"https://api.github.com/repos/redhat-developer/rh-che/labels/kind/bug","name":"kind/bug","color":"fc2929","default":false}],"state":"open","locked":false,"assignee":{"login":"davidfestal","id":686586,"node_id":"MDQ6VXNlcjY4NjU4Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/686586?v=4","gravatar_id":"","url":"https://api.github.com/users/davidfestal","html_url":"https://github.com/davidfestal","followers_url":"https://api.github.com/users/davidfestal/followers","following_url":"https://api.github.com/users/davidfestal/following{/other_user}","gists_url":"https://api.github.com/users/davidfestal/gists{/gist_id}","starred_url":"https://api.github.com/users/davidfestal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidfestal/subscriptions","organizations_url":"https://api.github.com/users/davidfestal/orgs","repos_url":"https://api.github.com/users/davidfestal/repos","events_url":"https://api.github.com/users/davidfestal/events{/privacy}","received_events_url":"https://api.github.com/users/davidfestal/received_events","type":"User","site_admin":false},"assignees":[{"login":"davidfestal","id":686586,"node_id":"MDQ6VXNlcjY4NjU4Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/686586?v=4","gravatar_id":"","url":"https://api.github.com/users/davidfestal","html_url":"https://github.com/davidfestal","followers_url":"https://api.github.com/users/davidfestal/followers","following_url":"https://api.github.com/users/davidfestal/following{/other_user}","gists_url":"https://api.github.com/users/davidfestal/gists{/gist_id}","starred_url":"https://api.github.com/users/davidfestal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidfestal/subscriptions","organizations_url":"https://api.github.com/users/davidfestal/orgs","repos_url":"https://api.github.com/users/davidfestal/repos","events_url":"https://api.github.com/users/davidfestal/events{/privacy}","received_events_url":"https://api.github.com/users/davidfestal/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/redhat-developer/rh-che/milestones/28","html_url":"https://github.com/redhat-developer/rh-che/milestone/28","labels_url":"https://api.github.com/repos/redhat-developer/rh-che/milestones/28/labels","id":3648707,"node_id":"MDk6TWlsZXN0b25lMzY0ODcwNw==","number":28,"title":"Sprint #155 (Che OSIO)","description":"","creator":{"login":"ibuziuk","id":1461122,"node_id":"MDQ6VXNlcjE0NjExMjI=","avatar_url":"https://avatars2.githubusercontent.com/u/1461122?v=4","gravatar_id":"","url":"https://api.github.com/users/ibuziuk","html_url":"https://github.com/ibuziuk","followers_url":"https://api.github.com/users/ibuziuk/followers","following_url":"https://api.github.com/users/ibuziuk/following{/other_user}","gists_url":"https://api.github.com/users/ibuziuk/gists{/gist_id}","starred_url":"https://api.github.com/users/ibuziuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibuziuk/subscriptions","organizations_url":"https://api.github.com/users/ibuziuk/orgs","repos_url":"https://api.github.com/users/ibuziuk/repos","events_url":"https://api.github.com/users/ibuziuk/events{/privacy}","received_events_url":"https://api.github.com/users/ibuziuk/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":10,"state":"open","created_at":"2018-09-12T14:00:15Z","updated_at":"2018-10-15T13:32:30Z","due_on":"2018-10-02T07:00:00Z","closed_at":null},"comments":4,"created_at":"2018-08-30T08:39:53Z","updated_at":"2018-10-15T13:33:01Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"**Issue problem:** \r\nChe allows to use factory URLs like `https://che.openshift.io/f?url=<url-of-a-github-repository>`\r\n\r\nWhen using that mode, workspace fails to start.\r\n\r\n<details><summary>Details of stack trace</summary><p>\r\n\r\n147 lines are hidden...\r\n\r\nat org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)\r\nat com.google.inject.servlet.GuiceServletContextListener.contextInitialized(GuiceServletContextListener.java:47)\r\nat org.everrest.guice.servlet.EverrestGuiceContextListener.getInjector(EverrestGuiceContextListener.java:140)\r\nat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1085)\r\nat org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)\r\nat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\nat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\nat org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)\r\nat com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:199)\r\nat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)\r\nat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\nat org.everrest.guice.servlet.EverrestGuiceContextListener.contextInitialized(EverrestGuiceContextListener.java:85)\r\nat org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1860)\r\nat org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:988)\r\nCaused by: org.eclipse.che.api.core.NotFoundException: Factory with id 'undefined' doesn't exist\r\nat org.eclipse.che.api.core.rest.DefaultHttpJsonRequest.doRequest(DefaultHttpJsonRequest.java:269)\r\nat com.redhat.che.plugin.analytics.wsagent.AnalyticsManager.(AnalyticsManager.java:121)\r\nat com.redhat.che.plugin.analytics.wsagent.AnalyticsManager.class(AnalyticsManager.java:72)\r\nat com.redhat.che.plugin.analytics.wsagent.AnalyticsManager.(AnalyticsManager.java:193)\r\n2) Error injecting constructor, java.lang.RuntimeException: Can't get workspace informations for Che analytics\r\nat org.eclipse.che.api.core.rest.DefaultHttpJsonRequest.request(DefaultHttpJsonRequest.java:163)\r\nat java.lang.Thread.run(Thread.java:748)\r\nwhile locating com.redhat.che.plugin.analytics.wsagent.AnalyticsManager\r\nCaused by: java.lang.RuntimeException: Can't get workspace informations for Che analytics\r\nat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\r\nat com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:194)\r\nat com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90)\r\nat com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:268)\r\nat com.google.inject.internal.DefaultConstructionProxyFactory$FastClassProxy.newInstance(DefaultConstructionProxyFactory.java:89)\r\nat com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:111)\r\nat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)\r\nat com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)\r\nat com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:199)\r\nat com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:199)\r\nat org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5207)\r\nat com.google.inject.servlet.GuiceServletContextListener.contextInitialized(GuiceServletContextListener.java:47)\r\nat com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)\r\nat com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:199)\r\nat com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:180)\r\nat org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)\r\nat com.google.inject.Guice.createInjector(Guice.java:99)\r\nat com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)\r\nat org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)\r\nat org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4745)\r\nat org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)\r\nat com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:180)\r\nat org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)\r\nat org.everrest.guice.servlet.EverrestGuiceContextListener.contextInitialized(EverrestGuiceContextListener.java:85)\r\nat com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)\r\nat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\nat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\nat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\r\nat org.eclipse.che.api.core.rest.DefaultHttpJsonRequest.request(DefaultHttpJsonRequest.java:163)\r\nat java.lang.Thread.run(Thread.java:748)\r\nat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\nat com.redhat.che.plugin.analytics.wsagent.AnalyticsManager.(AnalyticsManager.java:183)\r\n... 33 more\r\nat org.eclipse.che.api.core.rest.DefaultHttpJsonRequest.doRequest(DefaultHttpJsonRequest.java:269)\r\n2 errors\r\nat org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1860)\r\nat com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:184)\r\nat com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)\r\nat org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)\r\nat com.google.inject.Guice.createInjector(Guice.java:99)\r\nat com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:470)\r\nat org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5207)\r\nat org.everrest.guice.servlet.EverrestGuiceContextListener.contextInitialized(EverrestGuiceContextListener.java:85)\r\nat org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4745)\r\nat org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5207)\r\nat org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)\r\nat org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1860)\r\nat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\nat org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)\r\nat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\r\nat org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)\r\nat org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)\r\nat org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:988)\r\nat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\nat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1085)\r\n2018-08-30 08:19:44,783[ost-startStop-1] [ERROR] [o.a.c.core.StandardContext 5259] - Context [] startup failed due to previous errors\r\nat org.everrest.guice.servlet.EverrestGuiceContextListener.getInjector(EverrestGuiceContextListener.java:140)\r\nat com.redhat.che.plugin.analytics.wsagent.AnalyticsManager$$FastClassByGuice$$30cb3d0a.newInstance()\r\nat org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:988)\r\nat com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)\r\n... 43 more\r\n\r\nat com.redhat.che.plugin.analytics.wsagent.AnalyticsManager.(AnalyticsManager.java:183)\r\n2018-08-30 08:19:44,779[ost-startStop-1] [ERROR] [o.a.c.core.StandardContext 5208] - One or more listeners failed to start. Full details will be found in the appropriate container log file\r\nat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\nat java.lang.Thread.run(Thread.java:748)\r\n\r\nat org.everrest.guice.servlet.EverrestGuiceContextListener.getInjector(EverrestGuiceContextListener.java:140)\r\nat com.google.inject.servlet.GuiceServletContextListener.contextInitialized(GuiceServletContextListener.java:47)\r\nCaused by: org.eclipse.che.api.core.NotFoundException: Factory with id 'undefined' doesn't exist\r\nat com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:205)\r\n2018-08-30 08:19:44,815[ost-startStop-1] [INFO] [o.a.c.startup.HostConfig 1023] - Deployment of web application archive [/home/user/che/ws-agent/webapps/ROOT.war] has finished in [5,459] ms\r\n2018-08-30 08:19:44,827[main] [INFO] [o.a.c.http11.Http11NioProtocol 632] - Starting ProtocolHandler [\"http-nio-4401\"]\r\n2018-08-30 08:19:44,838[main] [INFO] [o.a.catalina.startup.Catalina 683] - Server startup in 5683 ms\r\n2018-08-30 08:20:14,065[ted-scheduler-3] [ERROR] [o.e.c.c.s.e.LoggedRunnable 65] - null\r\n2018-08-30 08:20:44,064[ted-scheduler-6] [ERROR] [o.e.c.c.s.e.LoggedRunnable 65] - null\r\n\r\n</p></details>\r\n\r\n\r\n\r\n**Red Hat Che version:** \r\n\r\nversion: latest\r\n\r\n - [X] I can reproduce it on latest official image\r\n\r\n**Reproduction Steps:**\r\n\r\nclick on https://che.openshift.io/f?url=https://github.com/che-samples/che-ide-extension\r\n\r\n**Runtime:**\r\n\r\nruntime used:\r\n   - [ ] minishift (include output of `minishift version`)\r\n   - [x] OpenShift.io\r\n   - [ ] Openshift Container Platform (include output of `oc version`)\r\n   - [ ] k8s (include output of `kubectl version`)\r\n"},"comment":{"url":"https://api.github.com/repos/redhat-developer/rh-che/issues/comments/429853846","html_url":"https://github.com/redhat-developer/rh-che/issues/839#issuecomment-429853846","issue_url":"https://api.github.com/repos/redhat-developer/rh-che/issues/839","id":429853846,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTg1Mzg0Ng==","user":{"login":"benoitf","id":436777,"node_id":"MDQ6VXNlcjQzNjc3Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/436777?v=4","gravatar_id":"","url":"https://api.github.com/users/benoitf","html_url":"https://github.com/benoitf","followers_url":"https://api.github.com/users/benoitf/followers","following_url":"https://api.github.com/users/benoitf/following{/other_user}","gists_url":"https://api.github.com/users/benoitf/gists{/gist_id}","starred_url":"https://api.github.com/users/benoitf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benoitf/subscriptions","organizations_url":"https://api.github.com/users/benoitf/orgs","repos_url":"https://api.github.com/users/benoitf/repos","events_url":"https://api.github.com/users/benoitf/events{/privacy}","received_events_url":"https://api.github.com/users/benoitf/received_events","type":"User","site_admin":false},"created_at":"2018-10-15T13:33:01Z","updated_at":"2018-10-15T13:33:01Z","author_association":"CONTRIBUTOR","body":"@davidfestal it seems I'm redirected to dashboard"}}
{"actor":{"display_login":"benoitf"}}