Direct link to fix
APAR status
Closed as program error.
Error description
If a user copies text from a rich text format source (like a Word document or a browser), the metadata for formatting the text is also copied into the search field. You see errors on the server. For example, an error like this might be logged in the SystemOut.log file: [9/13/17 16:04:42:032 EDT] 00006dd8 JavaScriptRun E CWLLG2015E: An unexpected runtime exception occurred. See exception for more details. Error: Wrapped com.lombardisoftware.core.TeamWorksException: INVALID_SEARCH_QUERY_EXCEPTION:CWLLG0926W: Could not parse the search filter '<span style="color: red; font-size: 48pt;">Employee</span>'. (<JSScript>#33). org.mozilla.javascript.WrappedException: Wrapped com.lombardisoftware.core.TeamWorksException: INVALID_SEARCH_QUERY_EXCEPTION:CWLLG0926W: Could not parse the search filter '<span style="color: red; font-size: 48pt;">Employee</span>'. (<JSScript>#33) at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.ja va:1754) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:148) at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:4 90) at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.jav a:1473) ... Caused by: com.lombardisoftware.core.TeamWorksException: INVALID_SEARCH_QUERY_EXCEPTION:CWLLG0926W: Could not parse the search filter '<span style="color: red; font-size: 48pt;">Employee</span>'. at com.lombardisoftware.core.TeamWorksException.asTeamWorksExceptio n(TeamWorksException.java:136) at com.ibm.bpm.dashboards.data.InstanceListItemHelper.retrieveInsta nceList(InstanceListItemHelper.java:92) at com.lombardisoftware.core.script.js.AbstractTWSystemScriptable.j sFunction_retrieveInstanceList(AbstractTWSystemScriptable.java:2 326) at sun.reflect.GeneratedMethodAccessor819.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod AccessorImpl.java:56) at java.lang.reflect.Method.invoke(Method.java:620) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126) ... 122 more Caused by: com.ibm.bpm.search.core.BPMSearchInvalidQueryException: INVALID_SEARCH_QUERY_EXCEPTION:CWLLG0926W: Could not parse the search filter '<span style="color: red; font-size: 48pt;">Employee</span>'. at com.ibm.bpm.search.instance.search.InstanceListItemSearchImpl.pa rseQueryString(InstanceListItemSearchImpl.java:248) at com.ibm.bpm.search.instance.search.InstanceListItemSearchImpl.se archInstanceListItemsTopN(InstanceListItemSearchImpl.java:132) at com.ibm.bpm.dashboards.data.InstanceListItemHelper.retrieveInsta nceList(InstanceListItemHelper.java:87) ... 127 more Caused by: org.apache.lucene.queryparser.classic.ParseException: Cannot parse '<span style="color red; font-size 48pt;">Employee</span>': Lexical error at line 1, column 59. Encountered: <EOF> after : "/span>" at org.apache.lucene.queryparser.classic.QueryParserBase.parse(Quer yParserBase.java:130) at com.ibm.bpm.search.instance.search.InstanceListItemSearchImpl.pa rseQueryString(InstanceListItemSearchImpl.java:243) ... 129 more Caused by: org.apache.lucene.queryparser.classic.TokenMgrError: Lexical error at line 1, column 59. Encountered: <EOF> after : "/span>" at org.apache.lucene.queryparser.classic.QueryParserTokenManager.ge tNextToken(QueryParserTokenManager.java:1048) at org.apache.lucene.queryparser.classic.QueryParser.jj_scan_token( QueryParser.java:599) at org.apache.lucene.queryparser.classic.QueryParser.jj_3R_2(QueryP arser.java:482) at org.apache.lucene.queryparser.classic.QueryParser.jj_3_1(QueryPa rser.java:489) at org.apache.lucene.queryparser.classic.QueryParser.jj_2_1(QueryPa rser.java:475) at org.apache.lucene.queryparser.classic.QueryParser.Clause(QueryPa rser.java:226) at org.apache.lucene.queryparser.classic.QueryParser.Query(QueryPar ser.java:212) at org.apache.lucene.queryparser.classic.QueryParser.TopLevelQuery( QueryParser.java:170) at org.apache.lucene.queryparser.classic.QueryParserBase.parse(Quer yParserBase.java:120) ... 130 more PRODUCTS AFFECTED IBM Business Process Manager (BPM) IBM BPM Express
Local fix
The user can try either of the following methods to work around this issue. These options vary based on the operating system, program availability, and browser support. -Paste the selected text into and intermediary program, such as Windows Notepad, to remove the formatting metadata. Then re-copy it to the Process Portal search field. -Use the CTRL+SHIFT+V keys to perform paste the content in the Process Portal search field.
Problem summary
No additional information is available.
Problem conclusion
A fix that ignores any formatting metadata and uses only the content of the copied text during a copy action will be available in a future release of IBM BPM.
Temporary fix
Comments
APAR Information
APAR number
JR58798
Reported component name
BPM STANDARD
Reported component ID
5725C9500
Reported release
857
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2017-11-30
Closed date
2018-02-15
Last modified date
2018-02-15
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
BPM STANDARD
Fixed component ID
5725C9500
Applicable component levels
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTDH","label":"IBM Business Process Manager Standard"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"857","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
15 February 2018