The issue can occur in 7.2.x x<5 when the DMT is discovering a Maven project file (pom.xml).
The page explains the process to follow to troubleshoot the error : java.util.regex.PatternSyntaxException Illegal repetition near index 5
This error can be found in the DMT discovery log. To see the log location, refer the section Possible location for logs of the page : Delivery Manager Tool Component DMT
Release | Yes/No |
---|---|
8.2.x | |
8.1.x | |
8.0.x | |
7.3.x | |
7.2.x x<5 | |
7.0.x |
RDBMS | Yes/No |
---|---|
Oracle Server | NA |
Microsoft SQL Server | NA |
CSS2 | NA |
CSS1 | NA |
- Check the Delivery Manager Tool Discovery log files
- Identify the maven project file(s) leading to this issue
- Apply the workaround
The Delivery Manager Tool Discovery log files and the source code or the maven project files.
When in the maven project file (pom.xml), a resource section is defined with a location variable, as for example ${Basedir}, the discoverer steps fails. A regular expression is computed, then combining this location variable with the regular expression leads to a failure.
- Identify the failure.
- In the DMT discovery log file discovery_xxx.CastLog2, search for the error message:
Figure 1 - If the log file does not point to the pom.xml file which leads to this error. You need to manually search the culprit file :
Search in the all pom.xml files the statement that begins with ${ (they are configuration variable). For instance, in the case above it is ${basedir}. - Remove ${basedir} from the line (replace ${basedir} by "")
- In the DMT discovery log file discovery_xxx.CastLog2, search for the error message:
- Run the Packaging again by forcing the extraction.