When attempting to save a change to the Symantec Protection Engine (SPE) using the SPE Console the following error is displayed.
For input string: ""
A review of the SPE_REST_API.log shows entries similar to the following:
INFO symantec.spe.helper.XMLReaderWriter:158 - reading Attribute: /filtering/Container/MaxCompressionRatio/@value
DEBUG symantec.spe.helper.XMLReaderWriter:164 - /filtering/Container/MaxCompressionRatio/@value:
INFO symantec.spe.repo.ArchiveSettingsRepository:70 - loading object...
ERROR spe.authentication.filters.JwtRequestFilter:108 - Exception occurred: org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.NumberFormatException: For input string: ""
ERROR [Tomcat].[localhost].[/].[dispatcherServlet]:175 - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NumberFormatException: For input string: ""] with root cause
java.lang.NumberFormatException: For input string: ""SPE 9.2.1 with SPE Console 9.2.1
The MaxCompressionRatio attribute is missing from the filtering.xml.
cd /opt/SYMCScan/bin
cd "c:\Program Files\Symantec\Scan Engine"
/etc/init.d/symcscan stop
net stop symcscan
<InMemoryFileScanCacheSize value="2048"/> <!-- Allowed values: 20 to 131072(in Mega Bytes) Default: 2048 -->
<MaxCompressionRatio value="75"/> <!-- Allowed values: 0 to 4294967295. Default: 75 -->
</Container>
/etc/init.d/symcscan restart
net start symcscan