[forge-issues] [JBoss JIRA] (FORGE-2703) can no longer choose an ArchetypeCatalog via the REST API in fabric8-forge

George Gastaldi (JIRA) issues at jboss.org
Tue Nov 29 15:31:01 EST 2016


    [ https://issues.jboss.org/browse/FORGE-2703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13331151#comment-13331151 ] 

George Gastaldi edited comment on FORGE-2703 at 11/29/16 3:30 PM:
------------------------------------------------------------------

I can confirm it's a bug. Debugging to find the root cause.


was (Author: gastaldi):
I can confirm it's a Furnace bug. Debugging to find the root cause

> can no longer choose an ArchetypeCatalog via the REST API in fabric8-forge
> --------------------------------------------------------------------------
>
>                 Key: FORGE-2703
>                 URL: https://issues.jboss.org/browse/FORGE-2703
>             Project: Forge
>          Issue Type: Bug
>    Affects Versions: 3.4.0.Final
>            Reporter: James Strachan
>            Assignee: George Gastaldi
>
> This has been working for about a year but it seems recently this broke; seems we can't convert the String (like "camel" or "fabric8") which are ArchetypeCatalog's created via a forge addon from the String into the underlying ArchetypeCatalog.
> Here's the stack trace
> {code}
> java.lang.ClassCastException: org.jboss.forge.furnace.proxy.ForgeProxy_$$_javassist_4511e8db-4647-48b3-aa6c-b5ba9f325205 cannot be cast to org.jboss.forge.addon.maven.archetype.ArchetypeCatalogFactory
>   at org.jboss.forge.addon.maven.projects.archetype.ui.ArchetypeCatalogSelectionWizardStep$1.convert(ArchetypeCatalogSelectionWizardStep.java:79)
>   at sun.reflect.GeneratedMethodAccessor586.invoke(Unknown Source)
>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_101]
>   at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_101]
>   at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$2.call(ClassLoaderAdapterCallback.java:124)[furnace-proxy-2.24.2.Final.jar:2.24.2.Final]
>   at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)[furnace-api-2.24.2.Final.jar:2.24.2.Final]
>   at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:97)[furnace-proxy-2.24.2.Final.jar:2.24.2.Final]
>   at org.jboss.forge.addon.convert.Converter_$$_javassist_f8ce79f6-7527-458e-8b8d-37ea1872b873.convert(Converter_$$_javassist_f8ce79f6-7527-458e-8b8d-37ea1872b873.java)[convert-api-3.3.3.Final.jar:3.3.3.Final]
>   at org.jboss.forge.addon.ui.util.InputComponents.convertToUIInputValue(InputComponents.java:205)[ui-api-3.3.3.Final.jar:3.3.3.Final]
>   at org.jboss.forge.addon.ui.util.InputComponents.setSingleInputValue(InputComponents.java:118)[ui-api-3.3.3.Final.jar:3.3.3.Final]
>   at org.jboss.forge.addon.ui.util.InputComponents.setValueFor(InputComponents.java:84)[ui-api-3.3.3.Final.jar:3.3.3.Final]
>   at io.fabric8.forge.rest.dto.UICommands.populateController(UICommands.java:337)[fabric8-forge-core-2.3.77.jar:2.3.77]
> {code}
> we get this error with a snapshot or release build of fabric8-forge:
> https://github.com/fabric8io/fabric8-forge



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the forge-issues mailing list