SocialMiner Filters - Errors saving Groovy scripts

From DocWiki

Revision as of 16:56, 4 June 2012 by Linichol (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

SocialMiner Filters - Errors saving Groovy scripts

Problem Summary You see errors when you import a Groovy script.
Error Message The User Interface will show this error: “The following fields are invalid: Script Source: Invalid input”

Logs will show "Unexpected char" errors similar to this:

   , Message=startup failed: Script1.groovy: 1: unexpected char: '\' @ line 1, column 2. ^
Possible Cause You did not save the file as plain text.
Recommended Action Check to make sure that the file was not saved as "rich text," which will insert special characters. Resave the file as plain text and retry the Import.
Release Release 8.5(4)
Associated CDETS # None

Rating: 5.0/5 (1 vote cast)

Personal tools