Details
-
Bug
-
Resolution: Fixed
-
Low
-
7.0.0, 7.7.1
-
None
-
1
-
Severity 2 - Major
-
Description
Issue Summary
The request to webResources/1.0/resources REST resource can throw a NullPointerException and return with 500 error.
Steps to Reproduce
- Run a standalone Bitbucket 7.8.0 in debug mode:
mvn amps:debug-standalone -Dexec.args="-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:5005" -Dproduct=bitbucket -Dproduct.version=7.8.0
- Create a Pull Request under this project (or any other project): http://localhost:7990/bitbucket/projects/PROJECT_1/repos/rep_1/pull-requests/
- In a new browser tab, go to the admin panel and navigate to UPM.
- In UPM, install the `-new` plugin version (see attachments).
- Open the PR page.
- In UPM, install the `-another-one` plugin version (see attachments).
- Refresh the PR page.
Expected Results
The page should render the PR details panel.
Actual Results
An HTTP 500 error is thrown by the /webResources/1.0/resources endpoint.
Workaround
Restart the instance after upgrading a plugin, uninstalling a plugin, or changing a plugin modules' enabled state.
Attachments
Issue Links
- is caused by
-
PLUGWEB-612 Loading...