Article - CS392674

The error "java.util.regex.PatternSyntaxException: Unmatched closing ')' near index" is thrown when searching in Windchill PDMLink

Modified: 09-Oct-2023   


Applies To

  • Windchill PDMLink 12.0

Description

  • The error java.util.regex.PatternSyntaxException: Unmatched closing ')' near index is thrown when searching in Windchill PDMLink
  • The following error appears in the user interface:
ERROR: java.util.regex.PatternSyntaxException: Unmatched closing ')' near index 11 .*Designer\\)
  • The following error is thrown in the Method Server log:
ERROR [DataSource Task Executor-833] com.ptc.mvc.components.ds.AbstractDataSourceComponentDataBuilder $ja13023 - 
Unable to process component data (async) for component: wt.org.WTUser.defaultPickerSearchView[68] 
wt.util.WTException: java.util.regex.PatternSyntaxException: Unmatched closing ')' near index 11 .*Designer\\) ^ 
Nested exception is: java.util.regex.PatternSyntaxException: Unmatched closing ')' near index 11 .*Designer\\) ^ at com.ptc.windchill.enterprise.search.mvc.service.AbstractTaskQueryService.doGetPage(AbstractTaskQueryService.java:109) at
com.ptc.windchill.enterprise.search.mvc.service.AbstractQueryService.getPage(AbstractQueryService.java:95) at
com.ptc.windchill.enterprise.search.mvc.service.AbstractTaskQueryService.query(AbstractTaskQueryService.java:49) at
com.ptc.windchill.enterprise.search.mvc.service.AbstractQueryService.query(AbstractQueryService.java:75) at
com.ptc.windchill.enterprise.search.mvc.service.WindchillSearchService.search(WindchillSearchService.java:59) at
com.ptc.windchill.enterprise.search.mvc.builders.SearchDataBuilder.buildRawDataAsync(SearchDataBuilder.java:681) at
com.ptc.mvc.components.ds.AbstractDataSourceComponentDataBuilder$ComponentDataSourceTask.run(AbstractDataSourceComponentDataBuilder.java:455) at
com.ptc.mvc.ds.server.DefaultDataSourceManager$DataSourceTaskCallable.callInContext(DefaultDataSourceManager.java:224) at
com.ptc.mvc.ds.server.DefaultDataSourceManager$DataSourceTaskCallable.callInContext(DefaultDataSourceManager.java:193) at 
com.ptc.mvc.ds.server.MethodContextCallable.call(MethodContextCallable.java:47)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829)
  • Steps to reproduce:
    1. Navigate to SEARCH > Advanced Search
    2. Select a specific type (i.e. Document) and add the Modified By criteria
    3. Search for the user using *Designer)

 
This is a printer-friendly version of Article 392674 and may be out of date. For the latest version click CS392674