Skip to content

Commit

Permalink
Fixes #226 NPE in shamrock:dev
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartwdouglas committed Dec 10, 2018
1 parent d7d8d50 commit bc1ffba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public static RuntimeUpdatesProcessor setup() throws Exception {
log.log(Level.SEVERE, "Failed to create compiler, runtime compilation will be unavailable", e);
return null;
}
RuntimeUpdatesProcessor processor = new RuntimeUpdatesProcessor(Paths.get(classesDir), Paths.get(sourcesDir), Paths.get(resourcesDir), compiler);
RuntimeUpdatesProcessor processor = new RuntimeUpdatesProcessor(Paths.get(classesDir), sourcesDir == null ? null : Paths.get(sourcesDir), resourcesDir == null ? null : Paths.get(resourcesDir), compiler);
HandlerWrapper wrapper = createHandlerWrapper(processor);
//TODO: we need to get these values from the config in runtime mode
HttpConfig config = new HttpConfig();
Expand Down

1 comment on commit bc1ffba

@Sergey80
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.