# Unexpected error executing scan class

**URL:** <https://forum.inductiveautomation.com/t/unexpected-error-executing-scan-class/11060>\
**Category:** Ignition\
**Created:** [January 18, 2016, 9:45pm UTC](https://forum.inductiveautomation.com/t/unexpected-error-executing-scan-class/11060 "2016-01-18T21:45:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jreynolds](https://avatars.discourse-cdn.com/v4/letter/j/58956e/32.png) [@jreynolds](https://forum.inductiveautomation.com/u/jreynolds)\
**Post date:** [January 18, 2016, 9:45pm UTC](https://forum.inductiveautomation.com/t/unexpected-error-executing-scan-class/11060/1 "2016-01-18T21:45:25Z")

</div>

I have this error in my System Console, but I’m not sure what it’s telling me.

` 
com.google.common.util.concurrent.UncheckedExecutionException: com.google.common.collect.ComputationException: com.inductiveautomation.ignition.common.sqltags.parser.TagPathFormatException: Illegal character ',' (Line 1 , Char 35)
	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2203)
	at com.google.common.cache.LocalCache.get(LocalCache.java:3937)
	at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3941)
	at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4824)
	at com.inductiveautomation.ignition.common.sqltags.parser.TagPathParser.parse(TagPathParser.java:171)
	at com.inductiveautomation.ignition.common.sqltags.parser.TagPathParser.parse(TagPathParser.java:157)
	at com.inductiveautomation.ignition.gateway.sqltags.simple.SimpleTagProvider.getPath(SimpleTagProvider.java:82)
	at com.inductiveautomation.ignition.gateway.sqltags.system.GatewaySystemTagsImpl.getPath(GatewaySystemTagsImpl.java:62)
	at com.inductiveautomation.ignition.gateway.sqltags.simple.SimpleTagProvider.updateValue(SimpleTagProvider.java:100)
	at com.inductiveautomation.ignition.gateway.sqltags.providers.AbstractStoreBasedTagProvider.scanclassStatisticsChanged(AbstractStoreBasedTagProvider.java:2118)
	at com.inductiveautomation.ignition.gateway.sqltags.scanclasses.SimpleExecutableScanClass.notifyStatistics(SimpleExecutableScanClass.java:472)
	at com.inductiveautomation.ignition.gateway.sqltags.scanclasses.SimpleExecutableScanClass.run(SimpleExecutableScanClass.java:905)
	at com.inductiveautomation.ignition.common.execution.impl.BasicExecutionEngine$TrackedTask.run(BasicExecutionEngine.java:584)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: com.google.common.collect.ComputationException: com.inductiveautomation.ignition.common.sqltags.parser.TagPathFormatException: Illegal character ',' (Line 1 , Char 35)
	at com.inductiveautomation.ignition.common.sqltags.parser.TagPathParser$ParseFunction.load(TagPathParser.java:411)
	at com.inductiveautomation.ignition.common.sqltags.parser.TagPathParser$ParseFunction.load(TagPathParser.java:404)
	at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3527)
	at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2319)
	at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2282)
	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2197)
	... 19 more
Caused by: com.inductiveautomation.ignition.common.sqltags.parser.TagPathFormatException: Illegal character ',' (Line 1 , Char 35)
	at com.inductiveautomation.ignition.common.sqltags.parser.TagPathLexer.errMsg(TagPathLexer.java:213)
	at com.inductiveautomation.ignition.common.sqltags.parser.TagPathLexer.errMsg(TagPathLexer.java:217)
	at com.inductiveautomation.ignition.common.sqltags.parser.TagPathLexer.yylex(TagPathLexer.java:735)
	at com.inductiveautomation.ignition.common.sqltags.parser.TagPathParser._parse(TagPathParser.java:198)
	at com.inductiveautomation.ignition.common.sqltags.parser.TagPathParser.access$200(TagPathParser.java:27)
	at com.inductiveautomation.ignition.common.sqltags.parser.TagPathParser$ParseFunction.load(TagPathParser.java:409)
	... 24 more `

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [January 19, 2016, 12:34am UTC](https://forum.inductiveautomation.com/t/unexpected-error-executing-scan-class/11060/2 "2016-01-19T00:34:32Z")

</div>

Somehow you’ve created a tag with a comma in its name, or otherwise are trying to reference such a tag.

---

<div class="post-metadata">

**Author:** ![jreynolds](https://avatars.discourse-cdn.com/v4/letter/j/58956e/32.png) [@jreynolds](https://forum.inductiveautomation.com/u/jreynolds)\
**Post date:** [January 19, 2016, 3:04pm UTC](https://forum.inductiveautomation.com/t/unexpected-error-executing-scan-class/11060/3 "2016-01-19T15:04:23Z")

</div>

Is there any way to track down what tag is causing the issue. I’ve tried moving the tags one at a time to a different provider and I couldn’t narrow it down that way.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [January 19, 2016, 6:01pm UTC](https://forum.inductiveautomation.com/t/unexpected-error-executing-scan-class/11060/4 "2016-01-19T18:01:09Z")

</div>

I’d export the whole tree and search for commas in the xml.

---

<div class="post-metadata">

**Author:** ![jreynolds](https://avatars.discourse-cdn.com/v4/letter/j/58956e/32.png) [@jreynolds](https://forum.inductiveautomation.com/u/jreynolds)\
**Post date:** [January 20, 2016, 11:17pm UTC](https://forum.inductiveautomation.com/t/unexpected-error-executing-scan-class/11060/5 "2016-01-20T23:17:39Z")

</div>

That worked thanks!
