Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.ArrayIndexOutOfBoundsException: 120	at mekhq.campaign.parts.EnginePart.getTonnage(EnginePart.java:77)	at mekhq.campaign.parts.PartInUse.(PartInUse.java:44)	at mekhq.campaign.Campaign.getPartInUse(Campaign.java:1351)	at mekhq.campaign.Campaign.getPartsInUse(Campaign.java:1393)	at mekhq.gui.CampaignGUI.refreshOverviewPartsInUse(CampaignGUI.java:5114)	at mekhq.gui.CampaignGUI.refreshOverview(CampaignGUI.java:4975)	at mekhq.gui.CampaignGUI.initComponents(CampaignGUI.java:787)	at mekhq.gui.CampaignGUI.(CampaignGUI.java:566)	at mekhq.MekHQ.showNewView(MekHQ.java:171)	at mekhq.gui.dialog.DataLoadingDialog$Task.done(DataLoadingDialog.java:291)	at javax.swing.SwingWorker$5.run(Unknown Source)	at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source)	at sun.swing.AccumulativeRunnable.run(Unknown Source)	at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source)	at javax.swing.Timer.fireActionPerformed(Unknown Source)	at javax.swing.Timer$DoPostEvent.run(Unknown Source)	at java.awt.event.InvocationEvent.dispatch(Unknown Source)	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)	at java.awt.EventQueue.access$500(Unknown Source)	at java.awt.EventQueue$3.run(Unknown Source)	at java.awt.EventQueue$3.run(Unknown Source)	at java.security.AccessController.doPrivileged(Native Method)	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)	at java.awt.EventQueue.dispatchEvent(Unknown Source)	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)