[JBoss JIRA] (FORGE-2737) JSF Scaffold throws java.lang.IllegalArgumentException: forgeview:display(_itemProfile)
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2737?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-2737.
----------------------------------
Fix Version/s: 3.6.2.Final
(was: 3.x Future)
Resolution: Done
> JSF Scaffold throws java.lang.IllegalArgumentException: forgeview:display(_itemProfile)
> ---------------------------------------------------------------------------------------
>
> Key: FORGE-2737
> URL: https://issues.jboss.org/browse/FORGE-2737
> Project: Forge
> Issue Type: Bug
> Components: Scaffold
> Affects Versions: 3.6.0.Final
> Reporter: George Gastaldi
> Assignee: George Gastaldi
> Labels: eap7.1-rfe-failure
> Fix For: 3.6.2.Final
>
>
> After the application is deployed, some of the entities return "Oops, That's going to leave a mark!" instead the form as stated in readme.
> An error is logged: ERROR [io.undertow.request] (default task-26) UT005023: Exception handling request to /forge-example/faces/productOrder/search.xhtml: javax.servlet.ServletException: forgeview:display(_itemCustomer)
> Full stack trace:
> {code}
> Caused by: java.lang.IllegalArgumentException: forgeview:display(_itemProfile)
> at javax.faces.component.UIComponentBase.validateId(UIComponentBase.java:593)
> at javax.faces.component.UIComponentBase.setId(UIComponentBase.java:413)
> at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.assignUniqueId(ComponentTagHandlerDelegateImpl.java:442)
> at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:179)
> at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:202)
> at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:202)
> at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:202)
> at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:202)
> at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> at com.sun.faces.facelets.tag.ui.DefineHandler.applyDefinition(DefineHandler.java:106)
> at com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:206)
> at com.sun.faces.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:395)
> at com.sun.faces.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:366)
> at com.sun.faces.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:111)
> at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:202)
> at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
> at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
> at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:312)
> at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:371)
> at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:350)
> at com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
> at com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:174)
> at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
> at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
> at com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:161)
> at com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:1006)
> at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:99)
> at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
> at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:219)
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:659)
> ... 40 more
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 6 months
[JBoss JIRA] (FORGE-2737) JSF Scaffold throws java.lang.IllegalArgumentException: forgeview:display(_itemProfile)
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2737?page=com.atlassian.jira.plugin... ]
George Gastaldi commented on FORGE-2737:
----------------------------------------
I'll have a look at it today.
> JSF Scaffold throws java.lang.IllegalArgumentException: forgeview:display(_itemProfile)
> ---------------------------------------------------------------------------------------
>
> Key: FORGE-2737
> URL: https://issues.jboss.org/browse/FORGE-2737
> Project: Forge
> Issue Type: Bug
> Components: Scaffold
> Affects Versions: 3.6.0.Final
> Reporter: George Gastaldi
> Assignee: George Gastaldi
> Labels: eap7.1-rfe-failure
> Fix For: 3.x Future
>
>
> After the application is deployed, some of the entities return "Oops, That's going to leave a mark!" instead the form as stated in readme.
> An error is logged: ERROR [io.undertow.request] (default task-26) UT005023: Exception handling request to /forge-example/faces/productOrder/search.xhtml: javax.servlet.ServletException: forgeview:display(_itemCustomer)
> Full stack trace:
> {code}
> Caused by: java.lang.IllegalArgumentException: forgeview:display(_itemProfile)
> at javax.faces.component.UIComponentBase.validateId(UIComponentBase.java:593)
> at javax.faces.component.UIComponentBase.setId(UIComponentBase.java:413)
> at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.assignUniqueId(ComponentTagHandlerDelegateImpl.java:442)
> at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:179)
> at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:202)
> at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:202)
> at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:202)
> at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:202)
> at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> at com.sun.faces.facelets.tag.ui.DefineHandler.applyDefinition(DefineHandler.java:106)
> at com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:206)
> at com.sun.faces.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:395)
> at com.sun.faces.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:366)
> at com.sun.faces.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:111)
> at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:202)
> at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
> at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
> at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:312)
> at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:371)
> at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:350)
> at com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
> at com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:174)
> at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
> at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
> at com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:161)
> at com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:1006)
> at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:99)
> at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
> at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:219)
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:659)
> ... 40 more
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 6 months
[JBoss JIRA] (FORGE-2737) JSF Scaffold throws java.lang.IllegalArgumentException: forgeview:display(_itemProfile)
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2737?page=com.atlassian.jira.plugin... ]
George Gastaldi reassigned FORGE-2737:
--------------------------------------
Assignee: George Gastaldi
> JSF Scaffold throws java.lang.IllegalArgumentException: forgeview:display(_itemProfile)
> ---------------------------------------------------------------------------------------
>
> Key: FORGE-2737
> URL: https://issues.jboss.org/browse/FORGE-2737
> Project: Forge
> Issue Type: Bug
> Components: Scaffold
> Affects Versions: 3.6.0.Final
> Reporter: George Gastaldi
> Assignee: George Gastaldi
> Labels: eap7.1-rfe-failure
> Fix For: 3.x Future
>
>
> After the application is deployed, some of the entities return "Oops, That's going to leave a mark!" instead the form as stated in readme.
> An error is logged: ERROR [io.undertow.request] (default task-26) UT005023: Exception handling request to /forge-example/faces/productOrder/search.xhtml: javax.servlet.ServletException: forgeview:display(_itemCustomer)
> Full stack trace:
> {code}
> Caused by: java.lang.IllegalArgumentException: forgeview:display(_itemProfile)
> at javax.faces.component.UIComponentBase.validateId(UIComponentBase.java:593)
> at javax.faces.component.UIComponentBase.setId(UIComponentBase.java:413)
> at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.assignUniqueId(ComponentTagHandlerDelegateImpl.java:442)
> at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:179)
> at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:202)
> at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:202)
> at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:202)
> at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:202)
> at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> at com.sun.faces.facelets.tag.ui.DefineHandler.applyDefinition(DefineHandler.java:106)
> at com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:206)
> at com.sun.faces.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:395)
> at com.sun.faces.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:366)
> at com.sun.faces.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:111)
> at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
> at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:202)
> at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
> at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
> at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
> at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
> at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:312)
> at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:371)
> at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:350)
> at com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
> at com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:174)
> at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
> at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
> at com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:161)
> at com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:1006)
> at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:99)
> at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
> at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:219)
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:659)
> ... 40 more
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 6 months
[JBoss JIRA] (FORGE-2733) bug in either forge REST API or in obsidian front end
by James Strachan (JIRA)
[ https://issues.jboss.org/browse/FORGE-2733?page=com.atlassian.jira.plugin... ]
James Strachan commented on FORGE-2733:
---------------------------------------
we've still a pending issue that I think is related that forge thinks the last page is repeated ;). I think I hacked our fork of generator-backend to work around the above
> bug in either forge REST API or in obsidian front end
> -----------------------------------------------------
>
> Key: FORGE-2733
> URL: https://issues.jboss.org/browse/FORGE-2733
> Project: Forge
> Issue Type: Bug
> Reporter: James Strachan
>
> I managed to get this exception just now:
> {code}
> 2017-02-28 10:01:27,355 ERROR [io.undertow.request] (default task-20) UT005023: Exception handling request to /forge/commands/obsidian-new-quickstart/validate: org.jboss.resteasy.spi.UnhandledException: java.lang.IndexOutOfBoundsException: Index: 4, Size: 4
> at org.jboss.resteasy.core.ExceptionHandler.handleApplicationException(ExceptionHandler.java:77)
> at org.jboss.resteasy.core.ExceptionHandler.handleException(ExceptionHandler.java:220)
> at org.jboss.resteasy.core.SynchronousDispatcher.writeException(SynchronousDispatcher.java:175)
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:418)
> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:209)
> at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:221)
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
> at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
> at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
> at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
> at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at org.wildfly.swarm.generated.FaviconErrorHandler.handleRequest(FaviconErrorHandler.java:62)
> at io.undertow.server.handlers.PathHandler.handleRequest(PathHandler.java:94)
> at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
> at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
> at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
> at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
> at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
> at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
> at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
> at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)
> at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)
> at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)
> at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
> at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
> at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
> at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
> at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
> at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
> at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
> at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)
> at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
> at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)
> at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)
> at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:805)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.IndexOutOfBoundsException: Index: 4, Size: 4
> at java.util.ArrayList.rangeCheck(ArrayList.java:653)
> at java.util.ArrayList.get(ArrayList.java:429)
> at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.getCurrentEntry(WizardCommandControllerImpl.java:493)
> at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.getCurrentController(WizardCommandControllerImpl.java:504)
> at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.isInitialized(WizardCommandControllerImpl.java:127)
> at org.jboss.forge.addon.ui.impl.controller.AbstractCommandController.assertInitialized(AbstractCommandController.java:55)
> at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.canMoveToNextStep(WizardCommandControllerImpl.java:298)
> at org.jboss.forge.addon.ui.impl.controller.NoUIWizardControllerDecorator.canMoveToNextStep(NoUIWizardControllerDecorator.java:52)
> at sun.reflect.GeneratedMethodAccessor280.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> 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_6eedec42-b625-4979-a432-d20d894e7b45.canMoveToNextStep(CommandController_$$_javassist_6eedec42-b625-4979-a432-d20d894e7b45.java)
> at org.jboss.forge.service.util.UICommandHelper.describeCurrentState(UICommandHelper.java:83)
> at org.obsidiantoaster.generator.rest.ObsidianResource.validateCommand(ObsidianResource.java:192)
> at org.obsidiantoaster.generator.rest.ObsidianResource$Proxy$_$$_WeldClientProxy.validateCommand(Unknown Source)
> at sun.reflect.GeneratedMethodAccessor546.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> 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)
> {code}
> as I clicked on the last page of a 4 page wizard. Not sure if its a front end bug or not. The last posted form data was:
> {code}
> stepIndex:3
> type:Creates a new Spring Boot Tomcat - Rest & Config Map
> named:demo26
> topLevelPackage:com.example
> version:1.0.0-SNAPSHOT
> pipeline:CanaryRelease
> gitOrganisation:jstrachan
> gitRepository:demo26
> gitRepoDescription:undefined
> kubernetesSpace:team
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 6 months
[JBoss JIRA] (FORGE-2693) Use ShrinkWrap to generate new projects
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2693?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-2693.
----------------------------------
Fix Version/s: (was: 3.x Future)
Resolution: Deferred
> Use ShrinkWrap to generate new projects
> ---------------------------------------
>
> Key: FORGE-2693
> URL: https://issues.jboss.org/browse/FORGE-2693
> Project: Forge
> Issue Type: Enhancement
> Components: Brainstorming, Projects
> Reporter: George Gastaldi
>
> ShrinkWrap is a Java API for Archive Manipulation. It would be nice to use it to assemble a project structure. With Roaster and the Maven model APIs, it would be a perfect candidate to generate Maven projects with Java sources for example.
> Code sample:
> {code:java}
> // This would create an Archive representation of the project
> MavenArchive archive = ShrinkWrap.create(MavenArchive.class);
> archive.setPomXml(mavenModel);
> archive.addJavaSource(Roaster.create(JavaClassSource.class).setName("Foo").setPackage("com.example.demo"));
> // We can export this to a ZIP file
> archive.as(ZipExporter.class).exportTo(new File("project.zip"), true);
> // Or we can explode in a specified location
> archive.as(ExplodedExporter.class).exportExploded(destinationDir);
> {code}
> More information about ShrinkWrap: https://developer.jboss.org/wiki/ShrinkWrap
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 6 months