java.lang.ArrayIndexOutOfBoundsException: 120

GitHub | honehe | 3 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 317#277542492

    GitHub | 3 months ago | honehe
    java.lang.ArrayIndexOutOfBoundsException: 120
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    GitHub comment 83#221161077

    GitHub | 11 months ago | pheonixstorm
    java.lang.NullPointerException

    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

      120

      at mekhq.campaign.parts.EnginePart.getTonnage()
    2. mekhq.campaign.parts
      PartInUse.<init>
      1. mekhq.campaign.parts.EnginePart.getTonnage(EnginePart.java:77)
      2. mekhq.campaign.parts.PartInUse.<init>(PartInUse.java:44)
      2 frames
    3. mekhq.campaign
      Campaign.getPartsInUse
      1. mekhq.campaign.Campaign.getPartInUse(Campaign.java:1351)
      2. mekhq.campaign.Campaign.getPartsInUse(Campaign.java:1393)
      2 frames
    4. mekhq.gui
      CampaignGUI.<init>
      1. mekhq.gui.CampaignGUI.refreshOverviewPartsInUse(CampaignGUI.java:5114)
      2. mekhq.gui.CampaignGUI.refreshOverview(CampaignGUI.java:4975)
      3. mekhq.gui.CampaignGUI.initComponents(CampaignGUI.java:787)
      4. mekhq.gui.CampaignGUI.<init>(CampaignGUI.java:566)
      4 frames
    5. mekhq
      MekHQ.showNewView
      1. mekhq.MekHQ.showNewView(MekHQ.java:171)
      1 frame
    6. mekhq.gui.dialog
      DataLoadingDialog$Task.done
      1. mekhq.gui.dialog.DataLoadingDialog$Task.done(DataLoadingDialog.java:291)
      1 frame
    7. Java RT
      EventDispatchThread.pumpEvents
      1. javax.swing.SwingWorker$5.run(Unknown Source)
      2. javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source)
      3. sun.swing.AccumulativeRunnable.run(Unknown Source)
      4. javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source)
      5. javax.swing.Timer.fireActionPerformed(Unknown Source)
      6. javax.swing.Timer$DoPostEvent.run(Unknown Source)
      7. java.awt.event.InvocationEvent.dispatch(Unknown Source)
      8. java.awt.EventQueue.dispatchEventImpl(Unknown Source)
      9. java.awt.EventQueue.access$500(Unknown Source)
      10. java.awt.EventQueue$3.run(Unknown Source)
      11. java.awt.EventQueue$3.run(Unknown Source)
      12. java.security.AccessController.doPrivileged(Native Method)
      13. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
      14. java.awt.EventQueue.dispatchEvent(Unknown Source)
      15. java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      16. java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      17. java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      18. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      19. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      19 frames