<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><span style="background-color: rgba(255, 255, 255, 0);">I've seen that exception before.</span></div><div><br></div><div>He is probably using an old Forge version. Ask him to delete the ~/.forge directory and install the latest version.&nbsp;</div><div><br></div><div><br>Em 11/11/2014, ├ás 11:08, Antonio Goncalves &lt;<a href="mailto:antonio.goncalves@gmail.com">antonio.goncalves@gmail.com</a>&gt; escreveu:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div class="gmail_quote">Hi<br><br><div dir="ltr">During the HoL one guy had this problem (on windows) generating REST endpoints. The generated code is ok, and everything works fine, but here is the stack trace<div><br></div><div><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Ilya Masharov</b> <span dir="ltr">&lt;<a href="mailto:ilya.masharov@gmail.com" target="_blank">ilya.masharov@gmail.com</a>&gt;</span><br>Date: 2014-11-11 10:30 GMT+01:00<br>Subject: Forge stacktrace<br>To: <a href="mailto:antonio.goncalves@gmail.com" target="_blank">antonio.goncalves@gmail.com</a><br><br><br><div dir="ltr"><p style="margin:0px;font-size:13px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0);min-height:15px"><br></p>
<p style="margin:0px;font-size:13px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)">11:29:22,655 SEVERE [org.jboss.forge.addon.ui.impl.controller.AbstractCommandController] (AeshProcess: 45) Error while notifying listeners: java.lang.ClassCastException: java.util.ArrayList cannot be cast to org.jboss.forge.addon.resource.FileResource</p>
<p style="margin:0px;font-size:13px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)"><span style="white-space:pre-wrap">        </span>at org.jboss.forge.addon.projects.Projects.getSelectedProject(Projects.java:37)</p>
<p style="margin:0px;font-size:13px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)"><span style="white-space:pre-wrap">        </span>at org.jboss.forge.addon.projects.ui.ProjectBuildStatusListener.postCommandExecuted(ProjectBuildStatusListener.java:41)</p>
<p style="margin:0px;font-size:13px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)"><span style="white-space:pre-wrap">        </span>at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source) [:1.8.0_05]</p>
<p style="margin:0px;font-size:13px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)"><span style="white-space:pre-wrap">        </span>at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_05]</p>
<p style="margin:0px;font-size:13px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)"><span style="white-space:pre-wrap">        </span>at java.lang.reflect.Method.invoke(Method.java:483) [rt.jar:1.8.0_05]</p>
<p style="margin:0px;font-size:13px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)"><span style="white-space:pre-wrap">        </span>at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87) [furnace-proxy-2.10.1.Final.jar:2.10.1.Final]</p>
<p style="margin:0px;font-size:13px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)"><span style="white-space:pre-wrap">        </span>at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42) [furnace-api-2.10.1.Final.jar:2.10.1.Final]</p>
<p style="margin:0px;font-size:13px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)"><span style="white-space:pre-wrap">        </span>at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103) [furnace-proxy-2.10.1.Final.jar:2.10.1.Final]</p>
<p style="margin:0px;font-size:13px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)"><span style="white-space:pre-wrap">        </span>at org.jboss.forge.addon.projects.ui.ProjectBuildStatusListener_$$_javassist_55c47aad-8fa7-4e5a-86e8-9fc7e27f9cef.postCommandExecuted(ProjectBuildStatusListener_$$_javassist_55c47aad-8fa7-4e5a-86e8-9fc7e27f9cef.java)</p>
<p style="margin:0px;font-size:13px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)"><span style="white-space:pre-wrap">        </span>at org.jboss.forge.addon.ui.impl.controller.AbstractCommandController.firePostCommandExecuted(AbstractCommandController.java:144) [ui-impl-2.10.1.Final.jar:2.10.1.Final]</p>
<p style="margin:0px;font-size:13px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)"><span style="white-space:pre-wrap">        </span>at org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.execute(SingleCommandControllerImpl.java:89) [ui-impl-2.10.1.Final.jar:2.10.1.Final]</p>
<p style="margin:0px;font-size:13px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)"><span style="white-space:pre-wrap">        </span>at org.jboss.forge.addon.shell.aesh.CommandAdapter.execute(CommandAdapter.java:74) [shell-impl-2.10.1.Final.jar:2.10.1.Final]</p>
<p style="margin:0px;font-size:13px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)"><span style="white-space:pre-wrap">        </span>at org.jboss.aesh.console.AeshConsoleImpl$AeshConsoleCallbackImpl.execute(AeshConsoleImpl.java:325) [aesh-0.56.1.jar:0.56.1]</p>
<p style="margin:0px;font-size:13px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)"><span style="white-space:pre-wrap">        </span>at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:40) [aesh-0.56.1.jar:0.56.1]</p>
<p style="margin:0px;font-size:13px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)"><span style="white-space:pre-wrap">        </span>at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_05]</p>
<p style="margin:0px;font-size:13px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)"><span style="white-space:pre-wrap">        </span>at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_05]</p>
<p style="margin:0px;font-size:13px;font-family:Menlo;color:rgb(245,245,245);background-color:rgb(0,0,0)"><span style="white-space:pre-wrap">        </span>at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_05]</p></div><span class="HOEnZb"><font color="#888888">
</font></span></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div><div>--<br>Antonio Goncalves (<a href="mailto:antonio.goncalves@gmail.com" target="_blank">antonio.goncalves@gmail.com</a>)<br>Software architect<br><br>Web site : <a href="http://www.antoniogoncalves.org" target="_blank">www.antoniogoncalves.org</a><br>Blog: <a href="http://agoncal.wordpress.com" target="_blank">agoncal.wordpress.com</a><br>Feed: <a href="http://feeds2.feedburner.com/AntonioGoncalves" target="_blank">feeds2.feedburner.com/AntonioGoncalves</a><br>Paris JUG leader : <a href="http://www.parisjug.org" target="_blank">www.parisjug.org</a><br>LinkedIn: <a href="http://www.linkedin.com/in/agoncal" target="_blank">www.linkedin.com/in/agoncal</a></div>
</font></span></div></div>
<br>_______________________________________________<br>
cdi-dev mailing list<br>
<a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
<br>
Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (<a href="http://www.apache.org/licenses/LICENSE-2.0.html" target="_blank">http://www.apache.org/licenses/LICENSE-2.0.html</a>). For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information.<br></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Antonio Goncalves <br>Software architect, Java Champion and Pluralsight author<br><br><a href="http://www.antoniogoncalves.org" target="_blank">Web site</a>&nbsp;|&nbsp;<a href="http://twitter.com/agoncal" target="_blank">Twitter</a> |&nbsp;<a href="http://www.linkedin.com/in/agoncal" target="_blank">LinkedIn</a>&nbsp;| <a href="http://pluralsight.com/training/Authors/Details/antonio-goncalves" target="_blank">Pluralsight</a>&nbsp;|&nbsp;<a href="http://www.parisjug.org" target="_blank">Paris JUG</a>&nbsp;| <a href="http://www.devoxx.fr" target="_blank">Devoxx France</a></div></div>
</div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>forge-dev mailing list</span><br><span><a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a></span><br><span><a href="https://lists.jboss.org/mailman/listinfo/forge-dev">https://lists.jboss.org/mailman/listinfo/forge-dev</a></span></div></blockquote></body></html>