Unable to save settings in SPE Console
search cancel

Unable to save settings in SPE Console

book

Article ID: 408218

calendar_today

Updated On:

Products

Protection Engine for NAS Protection Engine for Cloud Services

Issue/Introduction

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: ""

Environment

SPE 9.2.1 with SPE Console 9.2.1

Cause

The MaxCompressionRatio attribute is missing from the filtering.xml.

Resolution

  1. Open the CLI on the SPE server
  2. Navigate to where SPE is installed
    • Linux (default):
      cd /opt/SYMCScan/bin
    • Windows(default):
      cd "c:\Program Files\Symantec\Scan Engine"
  3. Stop the SPE serivce:
    • Linux:
      /etc/init.d/symcscan stop
    • Windows:
      net stop symcscan
  4. Create a backup of the filtering.xml file
  5. Edit the filtering.xml  adding the MaxCompressiontRatio attribute so that the filtering.xml looks like the following:
                    <InMemoryFileScanCacheSize value="2048"/>       <!-- Allowed values: 20 to 131072(in Mega Bytes) Default: 2048 -->
                    <MaxCompressionRatio value="75"/>                       <!-- Allowed values: 0 to 4294967295. Default: 75 -->
            </Container>
  6. Restart the SPE serivce
    • Linux:
      /etc/init.d/symcscan restart
    • Windows:
      net start symcscan