mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
Attempting to fix a NPE
This commit is contained in:
@ -306,6 +306,12 @@ public class ContributedLibraryTableCell extends InstallerTableCell {
|
||||
|
||||
private Component getUpdatedCellComponent(Object value, boolean isSelected, int row, boolean hasBuiltInRelease) {
|
||||
ContributedLibraryReleases releases = (ContributedLibraryReleases) value;
|
||||
|
||||
//FIXME: happens on macosx, don't know why
|
||||
if (releases == null) {
|
||||
return panel;
|
||||
}
|
||||
|
||||
ContributedLibrary selectedLib = releases.getSelected();
|
||||
ContributedLibrary installedLib = releases.getInstalled();
|
||||
|
||||
|
Reference in New Issue
Block a user