Author Topic: Unable to get some people in Personnel tab  (Read 1888 times)

Iceweb

  • Warrant Officer
  • *
  • Posts: 769
  • Lyran Engineer
Unable to get some people in Personnel tab
« on: 10 November 2019, 01:06:08 »
Upgraded to the new 47.1 version and under the personnel tab some of the people drop an error and don't come up when clicking (or arrowing) to the person. 
I checked the log and this is the error that occurs.  It doesn't seem to be very helpful. 

I don't know if something didn't transfer correctly, or if this is a known issue, or if there is a fix. 

Is anyone else having this issue?

Code: [Select]
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at mekhq.gui.view.PersonViewPanel.fillInfo(PersonViewPanel.java:608)
at mekhq.gui.view.PersonViewPanel.initComponents(PersonViewPanel.java:166)
at mekhq.gui.view.PersonViewPanel.<init>(PersonViewPanel.java:125)
at mekhq.gui.PersonnelTab.refreshPersonnelView(PersonnelTab.java:858)
at mekhq.gui.PersonnelTab.lambda$initTab$2(PersonnelTab.java:270)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)
at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)
at javax.swing.DefaultListSelectionModel.setSelectionInterval(Unknown Source)
at javax.swing.JTable.changeSelectionModel(Unknown Source)
at javax.swing.JTable.changeSelection(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI$Actions.actionPerformed(Unknown Source)
at javax.swing.SwingUtilities.notifyAction(Unknown Source)
at javax.swing.JComponent.processKeyBinding(Unknown Source)
at javax.swing.JTable.processKeyBinding(Unknown Source)
at javax.swing.JComponent.processKeyBindings(Unknown Source)
at javax.swing.JComponent.processKeyEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(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.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.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)


Iceweb

  • Warrant Officer
  • *
  • Posts: 769
  • Lyran Engineer
Re: Unable to get some people in Personnel tab
« Reply #1 on: 10 November 2019, 02:03:28 »
I did some more testing and figured out the trigger that is causing the error. 

All people that have the error and wont show are pregnant, this should be easily reproducible. 

Hammer

  • Numerorum Malleo
  • Global Moderator
  • Major
  • *
  • Posts: 4101
    • MegaMek Website
Re: Unable to get some people in Personnel tab
« Reply #2 on: 10 November 2019, 09:56:17 »
This should be put on the MekHQ tracker.
MegaMek Projects Wiki
Bug Trackers
MegaMek Tracker
MekHQ Tracker
MegaMekLab Tracker
New Units and RAT's aren't added until after the 2 month release moratorium is passed.
Join the official MegaMek Discord

Iceweb

  • Warrant Officer
  • *
  • Posts: 769
  • Lyran Engineer
Re: Unable to get some people in Personnel tab
« Reply #3 on: 10 November 2019, 13:37:30 »
Just needed to check that it was reproducible, and it wasn't just happening to me

HQ 1330 is opened

Kovax

  • Captain
  • *
  • Posts: 2421
  • Taking over the Universe one mapsheet at a time
Re: Unable to get some people in Personnel tab
« Reply #4 on: 13 November 2019, 09:48:24 »
Just needed to check that it was reproducible, and it wasn't just happening to me
….fortunately for humanity, pregnancy is reproducible; whether it's happening to you is another issue.

Iceweb

  • Warrant Officer
  • *
  • Posts: 769
  • Lyran Engineer
Re: Unable to get some people in Personnel tab
« Reply #5 on: 13 November 2019, 15:05:26 »
….fortunately for humanity, pregnancy is reproducible; whether it's happening to you is another issue.
Take your angry upvote...

 

Register