Menu

#865 NPE Dragoon's rating after GM mode change admin skill

Stable
closed
Fixed
2015-06-03
2015-03-25
BLOODWOLF
No

Staring MegaMekLab version: 0.1.32-dev
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at mekhq.campaign.rating.FieldManualMercRevDragoonsRating.updateAdministrativeSupportAvailable(FieldManualMercRevDragoonsRating.java:338)
at mekhq.campaign.rating.FieldManualMercRevDragoonsRating.updateAvailableSupport(FieldManualMercRevDragoonsRating.java:122)
at mekhq.campaign.rating.FieldManualMercRevDragoonsRating.initValues(FieldManualMercRevDragoonsRating.java:107)
at mekhq.campaign.rating.AbstractUnitRating.reInitialize(AbstractUnitRating.java:130)
at mekhq.campaign.Campaign.getUnitRating(Campaign.java:5832)
at mekhq.gui.CampaignGUI.refreshRating(CampaignGUI.java:6212)
at mekhq.gui.CampaignGUI.refreshServicedUnitList(CampaignGUI.java:5917)
at mekhq.gui.CampaignGUI.initComponents(CampaignGUI.java:699)
at mekhq.gui.CampaignGUI.<init>(CampaignGUI.java:551)
at mekhq.MekHQ.showNewView(MekHQ.java:164)
at mekhq.gui.dialog.DataLoadingDialog$Task.done(DataLoadingDialog.java:260)
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$1.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)
at java.awt.EventDispatchThread.run(Unknown Source)
While in GM mode I changed the admin skill of my officers and now I cannot load last save.</init>

1 Attachments

Discussion

  • BLOODWOLF

    BLOODWOLF - 2015-03-25
     
  • Deric Page

    Deric Page - 2015-03-25

    In the future, please don't post the stack trace directly to the description. It clutters things up and can make it hard to read the full description. In this case, I nearly missed the last line in your description about changing your officers' admin skill. We can pull the stack trace from the log itself.

     
  • BLOODWOLF

    BLOODWOLF - 2015-03-25

    My bad, I seen and had read how to report a bug text document inside the mekhq folder but, didn't know there was an article on here too. Now i know.

     
  • Rushyo

    Rushyo - 2015-03-31
    • assigned_to: Rushyo
     
  • Deric Page

    Deric Page - 2015-06-01
    • assigned_to: Rushyo --> Deric Page
     
  • Deric Page

    Deric Page - 2015-06-01

    Fixed with [r2190] by adding null protections to the relevant methods.

     

    Last edit: Deric Page 2015-06-01
  • Deric Page

    Deric Page - 2015-06-01
    • labels: --> dragoons rating, unit rating
    • Resolution: None --> Fixed
    • Milestone: Development --> Stable
     
  • Dylan Myers

    Dylan Myers - 2015-06-03
    • Status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB