com.izforge.izpack.api.exception.IzPackException: java.lang.ArrayIndexOutOfBoundsException: 29289

JIRA | petermz | 10 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    This constructor of a custom panel {code} public ConfigPanel(Panel panel, InstallerFrame parent, GUIInstallData installData, LayoutManager2 layout, Resources resources) { super(panel, parent, installData, layout, resources); Arrays.asList("foo", "bar") .stream() .forEach(System.out::println); } {code} makes the resulting installer crash with {noformat} Exception in thread "AWT-EventQueue-0" com.izforge.izpack.api.exception.IzPackException: java.lang.ArrayIndexOutOfBoundsException: 29289 at com.izforge.izpack.installer.bootstrap.InstallerGui$1.run(InstallerGui.java:68) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) Caused by: java.lang.ArrayIndexOutOfBoundsException: 29289 at org.picocontainer.paranamer.BytecodeReadingParanamer$ClassReader.accept(BytecodeReadingParanamer.java:554) at org.picocontainer.paranamer.BytecodeReadingParanamer$ClassReader.access$200(BytecodeReadingParanamer.java:337) at org.picocontainer.paranamer.BytecodeReadingParanamer.lookupParameterNames(BytecodeReadingParanamer.java:102) at org.picocontainer.paranamer.AdaptiveParanamer.lookupParameterNames(AdaptiveParanamer.java:75) at org.picocontainer.paranamer.AnnotationParanamer.lookupParameterNames(AnnotationParanamer.java:110) at org.picocontainer.paranamer.CachingParanamer.lookupParameterNames(CachingParanamer.java:75) at org.picocontainer.injectors.ParameterNameBinding.getName(ParameterNameBinding.java:38) at org.picocontainer.injectors.ConstructorInjector.getGreediestSatisfiableConstructor(ConstructorInjector.java:155) at org.picocontainer.injectors.ConstructorInjector.getGreediestSatisfiableConstructor(ConstructorInjector.java:112) at org.picocontainer.injectors.ConstructorInjector.access$100(ConstructorInjector.java:52) at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:337) at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:272) at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:370) at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64) at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91) at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:692) at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:646) at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:671) at com.izforge.izpack.core.container.AbstractContainer.getComponent(AbstractContainer.java:131) at com.izforge.izpack.core.factory.DefaultObjectFactory.create(DefaultObjectFactory.java:74) at com.izforge.izpack.core.factory.DefaultObjectFactory.create(DefaultObjectFactory.java:102) at com.izforge.izpack.installer.panel.AbstractPanelView.createView(AbstractPanelView.java:360) at com.izforge.izpack.installer.panel.AbstractPanelView.getView(AbstractPanelView.java:192) at com.izforge.izpack.installer.gui.IzPanels.initialise(IzPanels.java:80) at com.izforge.izpack.installer.gui.InstallerFrame.buildGUI(InstallerFrame.java:405) at com.izforge.izpack.installer.gui.InstallerController$1.run(InstallerController.java:35) at com.izforge.izpack.installer.gui.InstallerController.run(InstallerController.java:64) at com.izforge.izpack.installer.gui.InstallerController.buildInstallation(InstallerController.java:30) at com.izforge.izpack.installer.bootstrap.InstallerGui$1.run(InstallerGui.java:64) ... 14 more {noformat} Looks like some introspection code chokes on JDK8 classfiles

    JIRA | 10 months ago | petermz
    com.izforge.izpack.api.exception.IzPackException: java.lang.ArrayIndexOutOfBoundsException: 29289
  2. 0

    java.lang.ArrayIndexOutOfBoundsException: -27566080

    Netbeans Bugzilla | 2 decades ago | rpetruzzelli
    java.lang.ArrayIndexOutOfBoundsException: -27566080 at java.awt.image.SinglePixelPackedSampleModel.<init>(Compiled Code) at java.awt.image.Raster.createPackedRaster(Compiled Code) at java.awt.image.Raster.createPackedRaster(Compiled Code) at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Compiled Code) at sun.awt.motif.MComponentPeer.createImage(Compiled Code) at java.awt.Component.createImage(Compiled Code) at java.awt.Component.createImage(Compiled Code) at javax.swing.RepaintManager.getOffscreenBuffer(Compiled Code) at javax.swing.JComponent._paintImmediately(Compiled Code) at javax.swing.JComponent.paintImmediately(Compiled Code) at javax.swing.RepaintManager.paintDirtyRegions(Compiled Code) at org.netbeans.core.windows.PinRepaintRM.paintDirtyRegions(Compiled Code) at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Compiled Code) at javax.swing.SystemEventQueueUtilities.processRunnableEvent(Compiled Code) at javax.swing.SystemEventQueueUtilities.access$0(Compiled Code) at javax.swing.SystemEventQueueUtilities$RunnableTarget.processEvent(Compiled Code) at java.awt.Component.dispatchEventImpl(Compiled Code) at java.awt.Component.dispatchEvent(Compiled Code) [catch] at java.awt.EventQueue.dispatchEvent(Compiled Code) at java.awt.EventDispatchThread.pumpOneEvent(Compiled Code) at java.awt.EventDispatchThread.pumpEvents(Compiled Code)

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      29289

      at org.picocontainer.paranamer.BytecodeReadingParanamer$ClassReader.accept()
    2. PicoContainer Core
      DefaultPicoContainer.getComponent
      1. org.picocontainer.paranamer.BytecodeReadingParanamer$ClassReader.accept(BytecodeReadingParanamer.java:554)
      2. org.picocontainer.paranamer.BytecodeReadingParanamer$ClassReader.access$200(BytecodeReadingParanamer.java:337)
      3. org.picocontainer.paranamer.BytecodeReadingParanamer.lookupParameterNames(BytecodeReadingParanamer.java:102)
      4. org.picocontainer.paranamer.AdaptiveParanamer.lookupParameterNames(AdaptiveParanamer.java:75)
      5. org.picocontainer.paranamer.AnnotationParanamer.lookupParameterNames(AnnotationParanamer.java:110)
      6. org.picocontainer.paranamer.CachingParanamer.lookupParameterNames(CachingParanamer.java:75)
      7. org.picocontainer.injectors.ParameterNameBinding.getName(ParameterNameBinding.java:38)
      8. org.picocontainer.injectors.ConstructorInjector.getGreediestSatisfiableConstructor(ConstructorInjector.java:155)
      9. org.picocontainer.injectors.ConstructorInjector.getGreediestSatisfiableConstructor(ConstructorInjector.java:112)
      10. org.picocontainer.injectors.ConstructorInjector.access$100(ConstructorInjector.java:52)
      11. org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:337)
      12. org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:272)
      13. org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:370)
      14. org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64)
      15. org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91)
      16. org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:692)
      17. org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:646)
      18. org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:671)
      18 frames
    3. com.izforge.izpack
      InstallerGui$1.run
      1. com.izforge.izpack.core.container.AbstractContainer.getComponent(AbstractContainer.java:131)
      2. com.izforge.izpack.core.factory.DefaultObjectFactory.create(DefaultObjectFactory.java:74)
      3. com.izforge.izpack.core.factory.DefaultObjectFactory.create(DefaultObjectFactory.java:102)
      4. com.izforge.izpack.installer.panel.AbstractPanelView.createView(AbstractPanelView.java:360)
      5. com.izforge.izpack.installer.panel.AbstractPanelView.getView(AbstractPanelView.java:192)
      6. com.izforge.izpack.installer.gui.IzPanels.initialise(IzPanels.java:80)
      7. com.izforge.izpack.installer.gui.InstallerFrame.buildGUI(InstallerFrame.java:405)
      8. com.izforge.izpack.installer.gui.InstallerController$1.run(InstallerController.java:35)
      9. com.izforge.izpack.installer.gui.InstallerController.run(InstallerController.java:64)
      10. com.izforge.izpack.installer.gui.InstallerController.buildInstallation(InstallerController.java:30)
      11. com.izforge.izpack.installer.bootstrap.InstallerGui$1.run(InstallerGui.java:64)
      11 frames
    4. Java RT
      EventDispatchThread.run
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
      2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
      3. java.awt.EventQueue.access$500(EventQueue.java:97)
      4. java.awt.EventQueue$3.run(EventQueue.java:709)
      5. java.awt.EventQueue$3.run(EventQueue.java:703)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      8. java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
      9. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
      10. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
      11. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
      12. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      13. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
      14. java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
      14 frames