VERIFIED SOLUTION i
X

Resolve password error within Spectrum 9.0 SP3 Administration Utility CLI

Issue

User gets an error when a password string contains square brackets [ ] within the Spectrum 9.0 SP3 Administration Utility CLI.

Exception in thread "main" java.util.regex.PatternSyntaxException: Unclosed counted closure near index 12

at java.util.regex.Pattern.error(Pattern.java:1924)
at java.util.regex.Pattern.closure(Pattern.java:3088)
at java.util.regex.Pattern.sequence(Pattern.java:2101)
at java.util.regex.Pattern.expr(Pattern.java:1964)
at java.util.regex.Pattern.compile(Pattern.java:1665)
at java.util.regex.Pattern.<init>(Pattern.java:1337)
at java.util.regex.Pattern.compile(Pattern.java:1022)
at java.lang.String.replaceAll(String.java:2162)
at com.pb.spectrum.cli.SpectrumShell.maskPassword(SpectrumShell.java:142)
at com.pb.spectrum.cli.SpectrumShell.executeCommand(SpectrumShell.java:76)
at com.pb.spectrum.cli.Bootstrap.run(Bootstrap.java:148)
at com.pb.spectrum.cli.Bootstrap.main(Bootstrap.java:38)

Cause

This is a defect.

Resolution

UPDATED: October 12, 2017


Engineering will create a 10.1S16 patch to fix this issue.

Environment Details

Product Feature: Spectrum Server


 

Downloads

  • No Downloads