Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Possible NPE when opening the message export dialog #3473
It looks like several people have run into this: [http://www.mirthcorp.com/community/forums/showthread.php?t=12505]
In the setBackground method we're also setting the background on the export panel. However it appears that in some cases, setBackground may be called by the superclass' constructor, before the subclass has a chance to initialize the panel.
Imported Issue. Original Details:
Why are we overriding setBackground in this case anyways. Shouldn't setBackground on the dialog and subpanels only need to be done once and it should be done in initComponents.
Let's fix this the correct way and move all the component initializing into initComponents for both MessageExportDialog and MessageImportDialog.
Imported Comment. Original Details: