mirror of
https://github.com/processing/processing4.git
synced 2026-01-29 19:31:16 +01:00
ECS: prevent NPE when missing a library
This commit is contained in:
@@ -699,7 +699,9 @@ public class ErrorCheckerService {
|
||||
// Try to get the library classpath and add it to the list
|
||||
try {
|
||||
Library library = mode.getLibrary(entry);
|
||||
classPath.append(library.getClassPath());
|
||||
if (library != null) {
|
||||
classPath.append(library.getClassPath());
|
||||
}
|
||||
} catch (SketchException e) {
|
||||
// More libraries competing, ignore
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user