My Oracle Support Banner

java.lang.IllegalArgumentException: Invalid argument: STRING, regex=[[a-zA-Z0-9-.&_]*] (Doc ID 2197552.1)

Last updated on JUNE 04, 2024

Applies to:

Oracle Network Management for Utilities - DMS - Version 1.12.0 and later
Oracle Utilities Network Management System - Version 1.12.0 and later
Information in this document applies to any platform.

Symptoms

Generally, an operator will get this error when they perform some action that makes a server-side script call.

Example 1: An operator, who is using the NMS Training Simulator (NTS), attempts to play a Historical Dataset, they receive this error:

2016-10-25 13:30:21,641 [pool-2-thread-2] ERROR : com.splwg.oms.jbot.command.ExecuteSystemCommand - caught exception
java.lang.IllegalArgumentException: Invalid argument: /<NMS_HOME>/sql/IceStorm2014.scen, regex=[[a-zA-Z0-9-.&_]*]
at com.splwg.oms.ejb.session.Session.verifyScript(Session.java:1232)
at com.splwg.oms.ejb.session.Session.runScriptOnCGW(Session.java:1246) 



Example 2: An operator, who is using the Model Management tool, attempts to build a single map, receives this error in the log file:

2018-12-14 14:11:08,716 [pool-3-thread-1] ERROR : com.splwg.oms.jbot.command.ExecuteSystemCommand - caught exception
java.lang.IllegalArgumentException: Invalid argument: feeder_3_lb, regex=[[a-zA-Z0-9-.& ]*]
               at com.splwg.oms.ejb.session.Session.verifyScript(Session.java:1103)
               at com.splwg.oms.ejb.session.Session.runScriptOnCGW(Session.java:1118)

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
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.