Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FISH-6499 Fix NPE on Redeployment When No Default Web Module Set #6022

Merged
merged 4 commits into from
Nov 14, 2022

Conversation

Pandrex247
Copy link
Member

Description

Fixes a NPE when redeploying an application when no default web module on the virtual server has been set.

Important Info

Blockers

None

Testing

New tests

New test under payara-samples/asadmin.

Testing Performed

Started domain.
Deployed

Testing Environment

WSL, Zulu JDK 8, 11, and 17

Documentation

N/A

Notes for Reviewers

I massively struggled to get a simple test case of passing the applications.dir property to Payara through arquillian to allow testing of the deploy command in this manner. I've gave up on Windows - the create-system-properties command splits on colons (which of course Windows has in its path), and also escapes on backslashes (again, Windows paths). The setup for payara-server-managed is also weird WRT setting payara.home, so I've left that alone as well.

Signed-off-by: Andrew Pielage <andrew.pielage@payara.fish>
Signed-off-by: Andrew Pielage <andrew.pielage@payara.fish>
Signed-off-by: Andrew Pielage <andrew.pielage@payara.fish>
Copy link
Contributor

@breakponchito breakponchito left a comment

Choose a reason for hiding this comment

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

LGTM

@breakponchito
Copy link
Contributor

Jenkins test please

@Pandrex247
Copy link
Member Author

Jenkins test please

@Pandrex247 Pandrex247 merged commit 1a0ae22 into payara:master Nov 14, 2022
@Pandrex247 Pandrex247 deleted the FISH-6499 branch November 14, 2022 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants