[cdi-dev] Funny exception in generating rest endoint

Antonio Goncalves antonio.goncalves at gmail.com
Tue Nov 11 05:02:20 EST 2014


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


---------- Forwarded message ----------
From: Ilya Masharov <ilya.masharov at gmail.com>
Date: 2014-11-11 10:30 GMT+01:00
Subject: Forge stacktrace
To: antonio.goncalves at gmail.com



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

at
org.jboss.forge.addon.projects.Projects.getSelectedProject(Projects.java:37)

at
org.jboss.forge.addon.projects.ui.ProjectBuildStatusListener.postCommandExecuted(ProjectBuildStatusListener.java:41)

at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source) [:1.8.0_05]

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[rt.jar:1.8.0_05]

at java.lang.reflect.Method.invoke(Method.java:483) [rt.jar:1.8.0_05]

at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
[furnace-proxy-2.10.1.Final.jar:2.10.1.Final]

at
org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
[furnace-api-2.10.1.Final.jar:2.10.1.Final]

at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
[furnace-proxy-2.10.1.Final.jar:2.10.1.Final]

at
org.jboss.forge.addon.projects.ui.ProjectBuildStatusListener_$$_javassist_55c47aad-8fa7-4e5a-86e8-9fc7e27f9cef.postCommandExecuted(ProjectBuildStatusListener_$$_javassist_55c47aad-8fa7-4e5a-86e8-9fc7e27f9cef.java)

at
org.jboss.forge.addon.ui.impl.controller.AbstractCommandController.firePostCommandExecuted(AbstractCommandController.java:144)
[ui-impl-2.10.1.Final.jar:2.10.1.Final]

at
org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.execute(SingleCommandControllerImpl.java:89)
[ui-impl-2.10.1.Final.jar:2.10.1.Final]

at
org.jboss.forge.addon.shell.aesh.CommandAdapter.execute(CommandAdapter.java:74)
[shell-impl-2.10.1.Final.jar:2.10.1.Final]

at
org.jboss.aesh.console.AeshConsoleImpl$AeshConsoleCallbackImpl.execute(AeshConsoleImpl.java:325)
[aesh-0.56.1.jar:0.56.1]

at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:40)
[aesh-0.56.1.jar:0.56.1]

at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[rt.jar:1.8.0_05]

at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[rt.jar:1.8.0_05]

at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_05]



-- 
--
Antonio Goncalves (antonio.goncalves at gmail.com)
Software architect

Web site : www.antoniogoncalves.org
Blog: agoncal.wordpress.com
Feed: feeds2.feedburner.com/AntonioGoncalves
Paris JUG leader : www.parisjug.org
LinkedIn: www.linkedin.com/in/agoncal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/cdi-dev/attachments/20141111/588cb52c/attachment.html 


More information about the cdi-dev mailing list