java.lang.ArrayIndexOutOfBoundsException: -2

GitHub | MicheleMUC | 5 months ago
  1. 0

    ArrayIndexOutOfBoundsException: Generate Passenger

    GitHub | 5 months ago | MicheleMUC
    java.lang.ArrayIndexOutOfBoundsException: -2
  2. 0

    Error handling when reading from txt file

    Stack Overflow | 1 month ago | Buupu
    java.lang.ArrayIndexOutOfBoundsException: 2
  3. 0

    migrating jsf1.1 to jsf1.1_02

    Oracle Community | 8 years ago | 843844
    java.lang.ArrayIndexOutOfBoundsException: 2
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    building custom components in jsf 1.2

    Oracle Community | 8 years ago | 843844
    java.lang.ArrayIndexOutOfBoundsException: 2

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      -2

      at net.bhl.cdt.paxelerate.ui.views.PropertyViewPart.drawFunction()
    2. net.bhl.cdt
      PropertyViewPart$2.paintControl
      1. net.bhl.cdt.paxelerate.ui.views.PropertyViewPart.drawFunction(PropertyViewPart.java:299)
      2. net.bhl.cdt.paxelerate.ui.views.PropertyViewPart.createFunctionBlock(PropertyViewPart.java:253)
      3. net.bhl.cdt.paxelerate.ui.views.PropertyViewPart$2.paintControl(PropertyViewPart.java:208)
      3 frames
    3. RWT
      Display.windowProc
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:230)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      3. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1137)
      6. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1122)
      7. org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:1512)
      8. org.eclipse.swt.widgets.Control.windowProc(Control.java:4733)
      9. org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:339)
      10. org.eclipse.swt.widgets.Display.windowProc(Display.java:5063)
      10 frames
    4. org.eclipse.swt
      OS.RedrawWindow
      1. org.eclipse.swt.internal.win32.OS.RedrawWindow(Native Method)
      1 frame
    5. RWT
      Control.update
      1. org.eclipse.swt.widgets.Control.update(Control.java:4493)
      2. org.eclipse.swt.widgets.Control.update(Control.java:4483)
      2 frames
    6. net.bhl.cdt
      GeneratePassengersCommand$1$2.run
      1. net.bhl.cdt.paxelerate.ui.views.PropertyViewPart.doTheDraw(PropertyViewPart.java:105)
      2. net.bhl.cdt.paxelerate.ui.views.PropertyViewPart.updateUI(PropertyViewPart.java:427)
      3. net.bhl.cdt.paxelerate.ui.commands.RefreshCabinViewCommand.doRun(RefreshCabinViewCommand.java:106)
      4. net.bhl.cdt.paxelerate.ui.commands.GeneratePassengersCommand$1$2.run(GeneratePassengersCommand.java:145)
      4 frames
    7. Eclipse UI
      UILockListener.aboutToWait
      1. org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:162)
      2. org.eclipse.ui.internal.UILockListener.aboutToWait(UILockListener.java:128)
      2 frames
    8. Eclipse Jobs
      Job.join
      1. org.eclipse.core.internal.jobs.LockManager.aboutToWait(LockManager.java:114)
      2. org.eclipse.core.internal.jobs.JobManager.join(JobManager.java:904)
      3. org.eclipse.core.internal.jobs.InternalJob.join(InternalJob.java:341)
      4. org.eclipse.core.runtime.jobs.Job.join(Job.java:458)
      4 frames
    9. net.bhl.cdt
      DefineBatchSimulationInput$1$1.run
      1. net.bhl.cdt.paxelerate.ui.commands.GeneratePassengersCommand.doRun(GeneratePassengersCommand.java:173)
      2. net.bhl.cdt.paxelerate.ui.commands.RefreshCabinViewCommand.doRun(RefreshCabinViewCommand.java:64)
      3. net.bhl.cdt.commands.CDTCommand.execute(CDTCommand.java:34)
      4. net.bhl.cdt.paxelerate.ui.helper.DefineBatchSimulationInput$1$1.run(DefineBatchSimulationInput.java:125)
      4 frames
    10. Eclipse UI
      UILockListener.aboutToWait
      1. org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:162)
      2. org.eclipse.ui.internal.UILockListener.aboutToWait(UILockListener.java:128)
      2 frames
    11. Eclipse Jobs
      Job.join
      1. org.eclipse.core.internal.jobs.LockManager.aboutToWait(LockManager.java:114)
      2. org.eclipse.core.internal.jobs.JobManager.join(JobManager.java:904)
      3. org.eclipse.core.internal.jobs.InternalJob.join(InternalJob.java:341)
      4. org.eclipse.core.runtime.jobs.Job.join(Job.java:458)
      4 frames
    12. net.bhl.cdt
      RunBatchSimulationMenuHandler.execute
      1. net.bhl.cdt.paxelerate.ui.helper.DefineBatchSimulationInput.doRun(DefineBatchSimulationInput.java:255)
      2. net.bhl.cdt.paxelerate.ui.commands.RunBatchSimulationMenuCommand.doRun(RunBatchSimulationMenuCommand.java:85)
      3. net.bhl.cdt.commands.CDTCommand.execute(CDTCommand.java:34)
      4. net.bhl.cdt.paxelerate.ui.handlers.RunBatchSimulationMenuHandler.execute(RunBatchSimulationMenuHandler.java:36)
      4 frames
    13. Workbench
      E4HandlerProxy.execute
      1. org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:295)
      2. org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
      2 frames
    14. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    15. org.eclipse.e4
      HandlerServiceHandler.execute
      1. org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
      2. org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:252)
      3. org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:234)
      4. org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
      5. org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)
      5 frames
    16. Commands
      ParameterizedCommand.executeWithChecks
      1. org.eclipse.core.commands.Command.executeWithChecks(Command.java:493)
      2. org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:486)
      2 frames
    17. org.eclipse.e4
      HandledContributionItem$4.handleEvent
      1. org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
      2. org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:799)
      3. org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.handleWidgetSelection(HandledContributionItem.java:675)
      4. org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.access$7(HandledContributionItem.java:659)
      5. org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem$4.handleEvent(HandledContributionItem.java:592)
      5 frames
    18. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      2. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113)
      4. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4180)
      5. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3769)
      5 frames
    19. Eclipse Workbench SWT
      PartRenderingEngine$4.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
      1 frame
    20. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
      1 frame
    21. Eclipse Workbench SWT
      PartRenderingEngine.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
      1 frame
    22. Eclipse Workbench
      E4Workbench.createAndRunUI
      1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
      1 frame
    23. Eclipse UI
      Workbench$5.run
      1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)
      1 frame
    24. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
      1 frame
    25. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
      1 frame
    26. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      1 frame
    27. net.bhl.cdt
      Application.start
      1. net.bhl.cdt.client.Application.start(Application.java:26)
      1 frame
    28. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    29. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
      4 frames
    30. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    31. Equinox
      Main.main
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1515)
      4. org.eclipse.equinox.launcher.Main.main(Main.java:1488)
      4 frames