Some users may experience issues accessing the case portal. For more information, please click here.

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

Known Issue: Usage MMI files containing "?" characters in application details may fail to import (IOJ-2240193)

Known Issue: Usage MMI files containing "?" characters in application details may fail to import (IOJ-2240193)

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: FNML-74988

Labels (1)
Was this article helpful? Yes No

Tip: If you have been impacted by this issue, please click the KUDOS button above. This helps to track the relative significance and importance of issues. Clicking on an option against "Was this article helpful?" also helps assess and improve the usefulness of content.

No ratings
Version history
Last update:
‎Jun 12, 2022 03:49 AM
Updated by: