[ https://issues.apache.org/jira/browse/RAMPART-396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Artyom Kurbatsky updated RAMPART-396: ------------------------------------- Description: Actually NullPointerException comes from Rahas STSClient->createIssueRequest: {code} this.requestorEntropy = WSSecurityUtil.generateNonce(this.algorithmSuite. getMaximumSymmetricKeyLength()/8); {code} this.algorithmSuite is always null. You can see from stack trace that this STSClient instance is created in RampartUtil->getToken and there is no place where algorithmSuite can be set. was: Actually NullPointerException comes from Rahas STSClient->createIssueRequest: {code:java} this.requestorEntropy = WSSecurityUtil.generateNonce(this.algorithmSuite. getMaximumSymmetricKeyLength()/8); {code} this.algorithmSuite is always null. You can see from stack trace that this STSClient instance is created in RampartUtil->getToken and there is no place where algorithmSuite can be set. > NullPointerException using STS, Trust and entropy > ------------------------------------------------- > > Key: RAMPART-396 > URL: https://issues.apache.org/jira/browse/RAMPART-396 > Project: Rampart > Issue Type: Bug > Components: rampart-trust > Affects Versions: 1.6.2 > Environment: All > Reporter: Artyom Kurbatsky > > Actually NullPointerException comes from Rahas STSClient->createIssueRequest: > {code} > this.requestorEntropy = > WSSecurityUtil.generateNonce(this.algorithmSuite. > getMaximumSymmetricKeyLength()/8); > {code} > this.algorithmSuite is always null. You can see from stack trace that this > STSClient instance is created in RampartUtil->getToken and there is no place > where algorithmSuite can be set. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org