We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e46346 commit b5ff8d9Copy full SHA for b5ff8d9
io.sloeber.core/src/io/sloeber/core/api/LibraryManager.java
@@ -455,7 +455,8 @@ public static IArduinoLibraryVersion getLibraryVersionFromLocation(IFolder libFo
455
// TODO Auto-generated method stub
456
457
if (boardDescriptor != null) {
458
- if(boardDescriptor.getReferencedCoreLibraryPath().isPrefixOf(libFolder.getLocation())) {
+ IPath libPath=boardDescriptor.getReferencedCoreLibraryPath();
459
+ if(libPath!=null && libPath.isPrefixOf(libFolder.getLocation())) {
460
return getLibrariesHarware(boardDescriptor).get(libFolder.getName());
461
}
462
0 commit comments