Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-2598

IndexOutOfBoundsException when scaffolding using Faces

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 3.0.0.CR1
    • 3.0.0.Beta4
    • Scaffold
    • None

      java.lang.IndexOutOfBoundsException: Index: 1, Size: 0
      	at java.util.ArrayList.rangeCheck(ArrayList.java:653) [rt.jar:1.8.0_66]
      	at java.util.ArrayList.get(ArrayList.java:429) [rt.jar:1.8.0_66]
      	at org.jboss.forge.addon.scaffold.faces.FacesScaffoldProvider.setupWebXML(FacesScaffoldProvider.java:536)
      	at org.jboss.forge.addon.scaffold.faces.FacesScaffoldProvider.setup(FacesScaffoldProvider.java:192)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_66]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_66]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_66]
      	at java.lang.reflect.Method.invoke(Method.java:497) [rt.jar:1.8.0_66]
      	at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87) [furnace-proxy-2.23.2.Final.jar:2.23.2.Final]
      	at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42) [furnace-api-2.23.2.Final.jar:2.23.2.Final]
      	at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103) [furnace-proxy-2.23.2.Final.jar:2.23.2.Final]
      	at org.jboss.forge.addon.scaffold.faces.FacesScaffoldProvider_$$_javassist_a0e364f4-f550-491a-8041-b3890e56ed11.setup(FacesScaffoldProvider_$$_javassist_a0e364f4-f550-491a-8041-b3890e56ed11.java)
      	at org.jboss.forge.addon.scaffold.impl.ui.ScaffoldExecuteGenerationStep.execute(ScaffoldExecuteGenerationStep.java:64)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_66]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_66]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_66]
      	at java.lang.reflect.Method.invoke(Method.java:497) [rt.jar:1.8.0_66]
      	at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87) [furnace-proxy-2.23.2.Final.jar:2.23.2.Final]
      	at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42) [furnace-api-2.23.2.Final.jar:2.23.2.Final]
      	at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103) [furnace-proxy-2.23.2.Final.jar:2.23.2.Final]
      	at org.jboss.forge.addon.scaffold.impl.ui.ScaffoldExecuteGenerationStep_$$_javassist_3d338f97-1c8d-4d00-a730-7f306f0fc80f.execute(ScaffoldExecuteGenerationStep_$$_javassist_3d338f97-1c8d-4d00-a730-7f306f0fc80f.java)
      	at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.execute(WizardCommandControllerImpl.java:162)
      	at org.jboss.forge.addon.ui.impl.controller.NoUIWizardControllerDecorator.execute(NoUIWizardControllerDecorator.java:152)
      	at org.jboss.forge.addon.shell.aesh.CommandAdapter.execute(CommandAdapter.java:98)
      	at org.jboss.forge.addon.shell.aesh.ForgeCommandContainer.executeCommand(ForgeCommandContainer.java:89)
      	at org.jboss.aesh.console.AeshConsoleImpl$AeshConsoleCallbackImpl.execute(AeshConsoleImpl.java:311)
      	at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:53)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_66]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_66]
      	at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_66]
      

      To reproduce, use the attached project

              rhn-support-ggastald George Gastaldi
              rhn-support-ggastald George Gastaldi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: