MBService Crashes in antlr4::ANTLRInputStream::load MBS-00025
(Doc ID 2963867.1)
Last updated on DECEMBER 01, 2023
Applies to:
Oracle Utilities Network Management System - Version 2.5.0.2.0 to 2.6.0.1.0 [Release 2.5 to 2.6]Oracle Network Management for Utilities - DMS - Version 2.5.0.2.0 to 2.6.0.1.0 [Release 2.5 to 2.6]
Information in this document applies to any platform.
Symptoms
MBService crashed when building specific maps.
The MBService log ends with this:
11/29/22 09:06:01: MBService 0x7fbefd147700,ctp=0x1252fe58,"MBService::build"
**INFO*** Message: MBS-00018 Location: MBService::differences
Severity: I
Applying patch 398399 for map(s) FEEDER_A.mb .
11/29/22 09:06:01: MBService 0x7fbefd147700,ctp=0x1252fe58,"MBService::build" range_error exception: wstring_convert::from_bytes
0# std::__throw_range_error(char const*) in /home/NMS_PROJECT/nms/product/2.5.0.2/lib/libBase.so
1# antlr4::ANTLRInputStream::load(char const*, unsigned long) in MBService
2# antlr4::ANTLRInputStream::ANTLRInputStream(std::istream&) in MBService
3# MBService::parseMaps(std::__cxx11::list<oms::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<oms::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, MB::BuildType) in MBService
4# MBService::differences(char*&, int, oms::basic_string<char, std::char_traits<char>, std::allocator<char> >, MB::BuildType) in MBService
5# MBService::build(message*) in MBService
6# MBService::serviceHandler(message*) in MBService
7# MBService::baseServiceHandler(message*) in MBService
Running this command confirms the presence of non-ascii characters in the file:
grep --color='auto' -P -n "[\x80-\xFF]" FILENAME
14187: ATTRIBUTE[subtype_cd] = "Vacuum ▒ ATO";
14239: ATTRIBUTE[subtype_cd] = "Manual ▒ ATO";
19222: ATTRIBUTE[subtype_cd] = "Vacuum ▒ ATO";
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
Fix Description |
Migration |
References |