cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Summary

Usage MMI files that contain "?" characters in application details that are gathered while metering application usage may fail to be successfully imported.

Details

Here is an example of usage MMI file content illustrating this issue:

<USAGE VERSION="1.00" USAGEAGENT="16.0.1">
    <MD NAME="wkstn102" DOMAIN="acme.corp" GUID="" AGENTID="663483a5fe351782daf7d190a0f54d565b112c098bfb56fa9a7d9b2553aaf465">
        <USAGE USER="Vivek" DOMAIN="ACME" TYPE="WeeklySummary" STARTDATE="20211011T000000" GUID="">
            <APPUSAGE NAME="??????? ???3.0" VERSION="8.3.0.9617" FILENAME="PinyinUp.exe" FILECOMPANY="Sogou.com Inc." FILEDESCRIPTION="??????? ??????" FILEPRODUCTNAME="???????" FILEPRODUCTVERSION="8.3.0.9617" FILEVERSION="8.3.0.9617" LONG_FILENAME="C:\Program Files (x86)\SogouInput\8.3.0.9617\PinyinUp.exe" TOTALRUNTIME="241" TOTALACTIVE="0" SESSIONS="1" DAYS="1"/>
        </USAGE>
    </MD>
</USAGE>

mgsimport.exe will output details like the following when attempting to import files which contain data like this which cannot be handled due to this issue:

EXCEPTION:
--------------------
System.ArgumentException: parsing "/\A0*???3.0/" - Nested quantifier ?.
at System.Text.RegularExpressions.RegexParser.ScanRegex()
at System.Text.RegularExpressions.RegexParser.Parse(String re, RegexOptions op)
at System.Text.RegularExpressions.Regex..ctor(String pattern, RegexOptions options, TimeSpan matchTimeout, Boolean useCache)
at System.Text.RegularExpressions.Regex.IsMatch(String input, String pattern, RegexOptions options)
at ManageSoft.Usage.Importer.UsageImporter.MungeNameAndVersion(String& ioName, String& ioVersion)
at ManageSoft.Usage.Importer.UsageImporter.Import(String importType, Stream inputStream, Boolean isGzipped, String sourceIdentifier, String targetFilename, MGSLicenseTermCheckResult licenseTermCheckResult, ImportProcessingStats& stats, IDispatcherPreferences preferences)

Files which fail to be imported because of this will be placed in the usage "BadLogs" folder on the inventory server of a FlexNet Manager Suite On-premises system.

Related information

Also see the following known issue which can result in the usage MMI files being generated that trigger this issue: Used application details may be represented as "????" in usage MMI files if application details contains multi-byte Unicode characters (IOJ-2227649)

Fix status

This issue is still open but not currently scheduled to be addressed.

Other information

Affected components: Uploaded file importers, Usage

Master issue ID: IOJ-2240193

Also known as: ITAM-413

Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Nov 20, 2023 01:27 PM
Updated by:
Knowledge base article header content