JWP receives java.lang.NullPointerException: "null"' in 'java.util.regex.Matcher.getTextLength():1294'. = > exception

book

Article ID: 84629

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine AUTOMIC WORKLOAD AUTOMATION

Issue/Introduction

Error Message :
This is the stack trace:
java.lang.NullPointerException
at java.util.regex.Matcher.getTextLength(Matcher.java:1294)
at java.util.regex.Matcher.reset(Matcher.java:320)
at java.util.regex.Matcher.(Matcher.java:240)
at java.util.regex.Pattern.matcher(Pattern.java:1104)
at com.automic.util.logging.impl.Translator.fillInsert(Translator.java:205)
at com.automic.util.logging.impl.Translator.translate(Translator.java:143)
at com.automic.util.logging.impl.LogComponent.createMessageText(LogComponent.java:282)
at com.automic.util.logging.impl.LogComponent.log(LogComponent.java:252)
at com.automic.search.lucene.builder.IndexBuilderLogger.logTime(IndexBuilderLogger.java:89)

The Java Worker Process (JWP) or the Java Communication Process (JCP) receives a java.lang.NullPointerException: "null"' in 'java.util.regex.Matcher.getTextLength():1294'. = > exception error.
 
A JWP/JCP throws a NullPointerException if a message translation is missing in the language of the AE server log file. 

This happens in early stages of the Automation Engine in version 12.1, and V12.0 if the default language D (German) is set within the UCSRV.INI file.

The JWP/JCP process does not start properly, or if it is able to start the search feature is not available. Forced traces are created in the temp directory. 

Cause

Cause type:
Defect
Root Cause: Exception is thrown if a message translation is missing in the language of the AE server log file. 

Environment

Release: AUTWAB99000-12.0-Automic Workload Automation-Base Edition
Component:

Resolution

Update to a fix version listed below or a newer version if available.
 

Fix Status: Released

Fix Version(s):
Component(s): AE Server

Automation Engine 12.0.5 - Available
Automation Engine 12.1.1 - available

Additional Information

Workaround :
Set [GLOBAL]/language=(E,D) in the ucsrv.ini file.