Skip to content
This repository has been archived by the owner on Feb 16, 2018. It is now read-only.

failure on create quickstart with brand new user #53

Open
jstrachan opened this issue Sep 5, 2017 · 0 comments
Open

failure on create quickstart with brand new user #53

jstrachan opened this issue Sep 5, 2017 · 0 comments

Comments

@jstrachan
Copy link
Contributor

jstrachan commented Sep 5, 2017

I've seen a forge wizard error when creating a new quickstart on a freshly created new user. Here's the stack trace

2017-09-05 10:41:32,937 SEVERE [org.obsidiantoaster.generator.rest.ObsidianResource] (default task-18) Index: 0, Size: 0: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.ArrayList.rangeCheck(ArrayList.java:653)
	at java.util.ArrayList.get(ArrayList.java:429)
	at io.fabric8.forge.generator.kubernetes.KubernetesClientHelper.findDefaultNamespace(KubernetesClientHelper.java:263)
	at io.fabric8.forge.generator.kubernetes.CreateBuildConfigStep.execute(CreateBuildConfigStep.java:195)
	at sun.reflect.GeneratedMethodAccessor778.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
	at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
	at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
	at io.fabric8.forge.generator.kubernetes.CreateBuildConfigStep_$$_javassist_67431b98-1df9-40be-8a58-12f699254ca3.execute(CreateBuildConfigStep_$$_javassist_67431b98-1df9-40be-8a58-12f699254ca3.java)
	at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.execute(WizardCommandControllerImpl.java:161)
	at org.jboss.forge.addon.ui.impl.controller.NoUIWizardControllerDecorator.execute(NoUIWizardControllerDecorator.java:157)
	at sun.reflect.GeneratedMethodAccessor773.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$2.call(ClassLoaderAdapterCallback.java:124)
	at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
	at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:97)
	at org.jboss.forge.addon.ui.controller.CommandController_$$_javassist_3b65e9a5-5752-456d-a084-686926d5b6a0.execute(CommandController_$$_javassist_3b65e9a5-5752-456d-a084-686926d5b6a0.java)
	at org.obsidiantoaster.generator.rest.ObsidianResource.executeCommandJson(ObsidianResource.java:483)
	at org.obsidiantoaster.generator.rest.ObsidianResource$Proxy$_$$_WeldClientProxy.executeCommandJson(Unknown Source)
	at sun.reflect.GeneratedMethodAccessor772.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:139)
	at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:295)
	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:249)
	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:236)
	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:402)
	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:209)
	at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:221)

so looks like there's no namespaces yet for the user - not sure what we can do other than wait? Or block the wizard with a validation error maybe?

@jstrachan jstrachan changed the title jenkins URL might not be available failure on create quickstart with brand new user Sep 5, 2017
jstrachan added a commit that referenced this issue Sep 5, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant