Skip to content

Commit

Permalink
Fix a null pointer exc in virtual server
Browse files Browse the repository at this point in the history
Signed-off-by:Ondro Mihalyi <mihalyi@omnifish.ee>
  • Loading branch information
OndroMih committed Sep 5, 2023
1 parent 8ba97b5 commit c95f61c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1798,6 +1798,8 @@ public void addContext(Context context, String contextRoot) throws ConfigExcepti
throw new RuntimeException("Cannot find archive handler for source archive");
}

initialContext.setArchiveHandler(archiveHandler);

params.name = archiveHandler.getDefaultApplicationName(archive, initialContext);

Applications apps = domain.getApplications();
Expand Down

0 comments on commit c95f61c

Please sign in to comment.