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
Version 2.5.0 throws error in 'Configure System' section #50
Comments
Hi @RicardoArgg! Is this a brand new instalation of the plugin? Or is it an upgrade? |
it is a new installation |
I have the same issue. I could save the config after add 2 jira instantes in the config. One with data and the other empty. |
@jfernand21 @RicardoArgg I just open a new PR that should fix this problem. It would be a great help if you installed the new plugin version (2.5.1 RC1) just to double check that the problem is indeed fixed link to download RC1: https://ci.jenkins.io/job/Plugins/job/xray-connector-plugin/job/PR-51/1/artifact/target/xray-connector.hpi |
#50 added additional check in case the configuration is empty
The PR-51 it works and i could save the config as expected. |
Thank you for your feedback @jfernand21. I just released the plugin version 2.5.1 into the Jenkins plugin index, however, it may take a few hours to appear available in their website and to download into Jenkins. Here it is the official published .hpi file if you want to download it now: https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/xray-connector/2.5.1/xray-connector-2.5.1.hpi I will now close this issue, thank you everyone for the help! |
Version report
Jenkins and plugins versions report:
Reproduction steps
Results
Expected result:
Configurations are saved correctly
Actual result:
I get an error 'Oops!, A problem occurred while processing the request'
Logging ID: 6f915532-09ee-4419-9b97-1f9d57cbec6b
from jenkins.err.log:
2021-07-20 19:32:59.718+0000 [id=46] WARNING o.e.j.s.h.ContextHandler$Context#log: Error while serving http://localhost:808/configSubmit
net.sf.json.JSONException: JSONObject["serverInstances"] is not a JSONArray.
jenkins.err.log
The text was updated successfully, but these errors were encountered: