{"action":"closed","issue":{"url":"https://api.github.com/repos/fabric8io/fabric8/issues/5243","labels_url":"https://api.github.com/repos/fabric8io/fabric8/issues/5243/labels{/name}","comments_url":"https://api.github.com/repos/fabric8io/fabric8/issues/5243/comments","events_url":"https://api.github.com/repos/fabric8io/fabric8/issues/5243/events","html_url":"https://github.com/fabric8io/fabric8/issues/5243","id":117133896,"number":5243,"title":"Can't create a new pipeline project - forge error - vagrant snapshot","user":{"login":"cmoulliard","id":463790,"avatar_url":"https://avatars.githubusercontent.com/u/463790?v=3","gravatar_id":"","url":"https://api.github.com/users/cmoulliard","html_url":"https://github.com/cmoulliard","followers_url":"https://api.github.com/users/cmoulliard/followers","following_url":"https://api.github.com/users/cmoulliard/following{/other_user}","gists_url":"https://api.github.com/users/cmoulliard/gists{/gist_id}","starred_url":"https://api.github.com/users/cmoulliard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmoulliard/subscriptions","organizations_url":"https://api.github.com/users/cmoulliard/orgs","repos_url":"https://api.github.com/users/cmoulliard/repos","events_url":"https://api.github.com/users/cmoulliard/events{/privacy}","received_events_url":"https://api.github.com/users/cmoulliard/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2015-11-16T14:19:50Z","updated_at":"2015-12-21T16:15:04Z","closed_at":"2015-12-21T16:15:04Z","body":"When, after creating a pipeline project successfully and taking a vagrant snapshot, we restart vagrant and would like to create a new pipeline project, we can't as Forge complains about gogs invalid user/password\r\n\r\nWithin the log of Forge, when the pod is started, I see this error \r\n\r\n````\r\nINFO: WELD-ENV-002003: Weld SE container org.jboss.forge.addon:javaee initialized\r\n129\r\nPreloading commands\r\n130\r\nLoaded 17 commands\r\n131\r\nPreloading archetypes\r\n132\r\nPreloaded archetypes!\r\n133\r\nNow trying to create a new project in: /tmp/startupNewProject4650023551122411016tmp\r\n134\r\nCloning git repo https://github.com/fabric8io/jenkins-workflow-library.git into directory /tmp/fabric8-forge/jenkinsWorkflows cloneAllBranches: true\r\n135\r\nStatus: 200\r\n136\r\nGot entity: ExecutionResult{status=SUCCESS, message='null', output='', err='', detail='null'} io.fabric8.forge.rest.dto.ExecutionResult\r\n137\r\nCreated project!\r\n138\r\nNow lets try validate the devops-edit command\r\n139\r\nNov 16, 2015 2:14:55 PM io.fabric8.forge.devops.setup.Fabric8SetupStep initializeUI\r\n140\r\nINFO: Getting the current project\r\n141\r\nNov 16, 2015 2:14:55 PM org.jboss.forge.addon.ui.impl.controller.NoUIWizardControllerDecorator canMoveToNextStep\r\n142\r\nSEVERE: Error while navigating to next step\r\n143\r\njava.lang.IllegalStateException: A project is required in the current context\r\n144\r\n\tat org.jboss.forge.addon.projects.ui.AbstractProjectCommand.getSelectedProject(AbstractProjectCommand.java:78)\r\n145\r\n\tat io.fabric8.forge.devops.setup.Fabric8SetupStep.initializeUI(Fabric8SetupStep.java:152)\r\n146\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n147\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n148\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n149\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n150\r\n\tat org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)\r\n151\r\n\tat org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)\r\n152\r\n\tat org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)\r\n153\r\n\tat io.fabric8.forge.devops.setup.Fabric8SetupStep_$$_javassist_e55d6ad2-54d5-432e-86ee-0f43dbd5f9d3.initializeUI(Fabric8SetupStep_$$_javassist_e55d6ad2-54d5-432e-86ee-0f43dbd5f9d3.java)\r\n154\r\n\tat org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.initialize(SingleCommandControllerImpl.java:61)\r\n155\r\n\tat org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.initialize(WizardCommandControllerImpl.java:115)\r\n156\r\n\tat org.jboss.forge.addon.ui.impl.controller.NoUIWizardControllerDecorator.canMoveToNextStep(NoUIWizardControllerDecorator.java:60)\r\n157\r\n\tat org.jboss.forge.addon.ui.impl.controller.NoUIWizardControllerDecorator.initialize(NoUIWizardControllerDecorator.java:43)\r\n158\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n159\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n160\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n161\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n162\r\n\tat org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$2.call(ClassLoaderAdapterCallback.java:123)\r\n163\r\n\tat org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)\r\n164\r\n\tat org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:96)\r\n165\r\n\tat org.jboss.forge.addon.ui.controller.CommandController_$$_javassist_9105755e-5e09-4fb9-a00c-29563a03acf2.initialize(CommandController_$$_javassist_9105755e-5e09-4fb9-a00c-29563a03acf2.java)\r\n166\r\n\tat io.fabric8.forge.rest.CommandsResource.createController(CommandsResource.java:484)\r\n167\r\n\tat io.fabric8.forge.rest.CommandsResource.doExecute(CommandsResource.java:265)\r\n168\r\n\tat io.fabric8.forge.rest.main.ForgeInitialiser.preloadCommands(ForgeInitialiser.java:135)\r\n169\r\n\tat io.fabric8.forge.rest.main.ForgeRestApplication.getSingletons(ForgeRestApplication.java:51)\r\n170\r\n\tat org.apache.cxf.cdi.JAXRSCdiResourceExtension.load(JAXRSCdiResourceExtension.java:95)\r\n171\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n172\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n173\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n174\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n175\r\n\tat org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:88)\r\n176\r\n\tat org.jboss.weld.injection.MethodInvocationStrategy$SpecialParamPlusBeanManagerStrategy.invoke(MethodInvocationStrategy.java:144)\r\n177\r\n\tat org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:309)\r\n178\r\n\tat org.jboss.weld.event.ExtensionObserverMethodImpl.sendEvent(ExtensionObserverMethodImpl.java:124)\r\n179\r\n\tat org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:287)\r\n180\r\n\tat org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:265)\r\n181\r\n\tat org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:271)\r\n182\r\n\tat org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:260)\r\n183\r\n\tat org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:154)\r\n184\r\n\tat org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:148)\r\n185\r\n\tat org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:53)\r\n186\r\n\tat org.jboss.weld.bootstrap.events.AbstractDeploymentContainerEvent.fire(AbstractDeploymentContainerEvent.java:35)\r\n187\r\n\tat org.jboss.weld.bootstrap.events.AfterDeploymentValidationImpl.fire(AfterDeploymentValidationImpl.java:28)\r\n188\r\n\tat org.jboss.weld.bootstrap.WeldStartup.validateBeans(WeldStartup.java:450)\r\n189\r\n\tat org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:90)\r\n190\r\n\tat org.jboss.weld.environment.servlet.WeldServletLifecycle.initialize(WeldServletLifecycle.java:234)\r\n191\r\n\tat org.jboss.weld.environment.servlet.EnhancedListener.onStartup(EnhancedListener.java:61)\r\n192\r\n\tat org.eclipse.jetty.plus.annotation.ContainerInitializer.callStartup(ContainerInitializer.java:140)\r\n193\r\n\tat org.eclipse.jetty.annotations.ServletContainerInitializersStarter.doStart(ServletContainerInitializersStarter.java:63)\r\n194\r\n\tat org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)\r\n195\r\n\tat org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:327)\r\n196\r\n\tat org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1368)\r\n197\r\n\tat org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1335)\r\n198\r\n\tat org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:735)\r\n199\r\n\tat org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:259)\r\n200\r\n\tat org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:511)\r\n201\r\n\tat org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)\r\n202\r\n\tat org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:41)\r\n203\r\n\tat org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:188)\r\n204\r\n\tat org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:499)\r\n205\r\n\tat org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:147)\r\n206\r\n\tat org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:180)\r\n207\r\n\tat org.eclipse.jetty.deploy.providers.WebAppProvider.fileAdded(WebAppProvider.java:453)\r\n208\r\n\tat org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:64)\r\n209\r\n\tat org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:610)\r\n210\r\n\tat org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:529)\r\n211\r\n\tat org.eclipse.jetty.util.Scanner.scan(Scanner.java:392)\r\n212\r\n\tat org.eclipse.jetty.util.Scanner.doStart(Scanner.java:313)\r\n213\r\n\tat org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)\r\n214\r\n\tat org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:150)\r\n215\r\n\tat org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)\r\n216\r\n\tat org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:561)\r\n217\r\n\tat org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:236)\r\n218\r\n\tat org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)\r\n219\r\n\tat org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)\r\n220\r\n\tat org.eclipse.jetty.server.Server.start(Server.java:405)\r\n221\r\n\tat org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)\r\n222\r\n\tat org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)\r\n223\r\n\tat org.eclipse.jetty.server.Server.doStart(Server.java:372)\r\n224\r\n\tat org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)\r\n225\r\n\tat org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1510)\r\n226\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n227\r\n\tat org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1435)\r\n228\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n229\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n230\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n231\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n232\r\n\tat org.eclipse.jetty.start.Main.invokeMain(Main.java:214)\r\n233\r\n\tat org.eclipse.jetty.start.Main.start(Main.java:457)\r\n234\r\n\tat org.eclipse.jetty.start.Main.main(Main.java:75)\r\n```"}}