getting a NULL pointer exception when encrypting passwords in deployement.toml file
Open
@tharindu1st is already working on this.
Since Apr 29, 2020.
Priority/Normal
Type/Bug
- Dominant language
- Java
- Stars
- 41
- Forks
- 92
- PR merge metrics
- No merged PRs in 30d
Description
Description:
Getting the following exception when running cipher tool for the first time with the -Dconfigure parameter
[wso2student@ip-172-31-39-130 bin]$ ./ciphertool.sh -Dconfigure
Encrypting using Internal KeyStore.
{type: JKS, alias: wso2carbon, path: /opt/wso2/Desktop/c3/wso2am-3.0.0/repository/resources/security/wso2carbon.jks}
[Please Enter Internal KeyStore Password of Carbon Server : ]
Internal KeyStore of Carbon Server is initialized Successfully
Encryption is done Successfully
Exception in thread "main" java.lang.NullPointerException
at java.lang.String.concat(String.java:2027)
at org.wso2.ciphertool.CipherTool.updateDeploymentConfigurationWithEncryptedKeys(CipherTool.java:381)
at org.wso2.ciphertool.CipherTool.main(CipherTool.java:75)
Suggested Labels:
cipher-tool,toml
Steps to reproduce:
- Run the ciphertool.sh file in the APIM-3.0.0 with the -Dconfigre command.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.