Richard,<br><br>What happens if you create an empty ~/.forge/config.xml file?<br><br>~Lincoln<br><br><div class="gmail_quote">On Tue, Mar 6, 2012 at 8:37 AM, Lincoln Baxter, III <span dir="ltr"><<a href="mailto:lincolnbaxter@gmail.com">lincolnbaxter@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ok, thanks Ivan. If that's the case, this seems like a bug we can fix by automatically creating the config.xml file if none exists. It should be doing that already, which is surprising to me.<span class="HOEnZb"><font color="#888888"><br>
<br>~Lincoln</font></span><div class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote">
On Tue, Mar 6, 2012 at 3:52 AM, Ivan St. Ivanov <span dir="ltr"><<a href="mailto:ivan.st.ivanov@gmail.com" target="_blank">ivan.st.ivanov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hmmm, that seems to be in the code that checks in the user configuration whether you have a proxy installed. Maybe:<div><br></div><div><div> Configuration proxyConfig = configuration.getScopedConfiguration(</div><div>
ConfigurationScope.USER);</div><div><br></div><div>doesn't work when you don't have config.xml in your ~/.forge directory.</div><div><br></div><div>I'll check this when I go home this evening! :-)</div>
<div><br></div><div>Cheers,</div><div>Ivan</div><div><div><br><div class="gmail_quote">On Tue, Mar 6, 2012 at 8:12 AM, Richard Kennard <span dir="ltr"><<a href="mailto:richard@kennardconsulting.com" target="_blank">richard@kennardconsulting.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It was a clean install. I had already deleted ~/.forge<br>
<div><br>
On 6/03/2012 5:07 PM, Lincoln Baxter, III wrote:<br>
> Hmm.. it looks like something is blowing up in the configuration. This is not expected.<br>
><br>
> Caused by: java.lang.IllegalStateException<br>
> at org.jboss.forge.shell.env.ScopedConfigurationAdapter.getScopedConfiguration(ScopedConfigurationAdapter.java:74)<br>
> at org.jboss.forge.shell.env.ConfigurationAdapter.getScopedConfiguration(ConfigurationAdapter.java:59)<br>
> ... 45 more<br>
><br>
> Do you have any plugins installed? What happens when you delete your ~/.forge/* ?<br>
><br>
> ~Lincoln<br>
><br>
><br>
</div><div>> On Mon, Mar 5, 2012 at 7:15 PM, Richard Kennard <<a href="mailto:richard@kennardconsulting.com" target="_blank">richard@kennardconsulting.com</a> <mailto:<a href="mailto:richard@kennardconsulting.com" target="_blank">richard@kennardconsulting.com</a>>> wrote:<br>
><br>
> Hi guys,<br>
><br>
> On Windows, under a clean install, I see the stack below. It's fine if I first create a new-project. Is this expected behaviour?<br>
><br>
> ---<br>
><br>
> Microsoft Windows [Version 6.1.7601]<br>
> Copyright (c) 2009 Microsoft Corporation. All rights reserved.<br>
><br>
> C:\Users\Richard>z:<br>
><br>
> Z:\>cd forge-distribution-1.0.0.Final<br>
><br>
> Z:\forge-distribution-1.0.0.Final>bin\forge<br>
> _____<br>
> | ___|__ _ __ __ _ ___<br>
> | |_ / _ \| `__/ _` |/ _ \ \\<br>
> | _| (_) | | | (_| | __/ //<br>
> |_| \___/|_| \__, |\___|<br>
> |___/<br>
><br>
> Windows? Really? Okay...<br>
><br>
> [no project] forge-distribution-1.0.0.Final $ set VERBOSE true<br>
> set VERBOSE true<br>
> [no project] forge-distribution-1.0.0.Final $<br>
> [no project] forge-distribution-1.0.0.Final $ forge git-plugin git://<a href="http://github.com/forge/scaffold-aerogear.git" target="_blank">github.com/forge/scaffold-aerogear.git</a><br>
</div>> <<a href="http://github.com/forge/scaffold-aerogear.git" target="_blank">http://github.com/forge/scaffold-aerogear.git</a>><br>
<div><div>> ***ERROR*** [forge git-plugin] null<br>
> org.jboss.forge.shell.exceptions.CommandExecutionException<br>
> at org.jboss.forge.shell.command.Execution.perform(Execution.java:153)<br>
> at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:125)<br>
> at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:63)<br>
> at org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:829)<br>
> at org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:852)<br>
> at org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:642)<br>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br>
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br>
> at java.lang.reflect.Method.invoke(Method.java:597)<br>
> at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)<br>
> at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)<br>
> at org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)<br>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br>
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br>
> at java.lang.reflect.Method.invoke(Method.java:597)<br>
> at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)<br>
> at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)<br>
> at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)<br>
> at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)<br>
> at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)<br>
> at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)<br>
> at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)<br>
> at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)<br>
> at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)<br>
> at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)<br>
> at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)<br>
> at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)<br>
> at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)<br>
> at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:120)<br>
> at java.lang.Thread.run(Thread.java:662)<br>
> Caused by: java.lang.reflect.InvocationTargetException<br>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br>
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br>
> at java.lang.reflect.Method.invoke(Method.java:597)<br>
> at org.jboss.forge.shell.command.Execution.perform(Execution.java:149)<br>
> ... 31 more<br>
> Caused by: java.lang.reflect.InvocationTargetException<br>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br>
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br>
> at java.lang.reflect.Method.invoke(Method.java:597)<br>
> at org.jboss.solder.unwraps.UnwrapsInvocationHandler.invoke(UnwrapsInvocationHandler.java:82)<br>
> at org.javassist.tmp.java.lang.Object_$$_javassist_0.getScopedConfiguration(Object_$$_javassist_0.java)<br>
> at org.jboss.forge.shell.plugins.builtin.ForgePlugin.getProxySettings(ForgePlugin.java:190)<br>
> at org.jboss.forge.shell.plugins.builtin.ForgePlugin.prepareProxyForJGit(ForgePlugin.java:472)<br>
> at org.jboss.forge.shell.plugins.builtin.ForgePlugin.installFromGit(ForgePlugin.java:405)<br>
> ... 36 more<br>
> Caused by: java.lang.IllegalStateException<br>
> at org.jboss.forge.shell.env.ScopedConfigurationAdapter.getScopedConfiguration(ScopedConfigurationAdapter.java:74)<br>
> at org.jboss.forge.shell.env.ConfigurationAdapter.getScopedConfiguration(ConfigurationAdapter.java:59)<br>
> ... 45 more<br>
> [no project] forge-distribution-1.0.0.Final $<br>
> _______________________________________________<br>
> forge-dev mailing list<br>
</div></div>> <a href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a> <mailto:<a href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a>><br>
<div><div>> <a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
><br>
><br>
><br>
><br>
> --<br>
> Lincoln Baxter, III<br>
> <a href="http://ocpsoft.com" target="_blank">http://ocpsoft.com</a><br>
> <a href="http://scrumshark.com" target="_blank">http://scrumshark.com</a><br>
> "Keep it Simple"<br>
><br>
><br>
> _______________________________________________<br>
> forge-dev mailing list<br>
> <a href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
<br>
_______________________________________________<br>
forge-dev mailing list<br>
<a href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
</div></div></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
forge-dev mailing list<br>
<a href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.com" target="_blank">http://ocpsoft.com</a><br><a href="http://scrumshark.com" target="_blank">http://scrumshark.com</a><br>
"Keep it Simple"<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.com">http://ocpsoft.com</a><br><a href="http://scrumshark.com">http://scrumshark.com</a><br>"Keep it Simple"<br>