# SAX Exception error with Client Launch

**URL:** <https://forum.inductiveautomation.com/t/sax-exception-error-with-client-launch/22419>\
**Category:** Ignition\
**Created:** [February 7, 2019, 4:07pm UTC](https://forum.inductiveautomation.com/t/sax-exception-error-with-client-launch/22419 "2019-02-07T16:07:35Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![matt.turner80](https://avatars.discourse-cdn.com/v4/letter/m/bc8723/32.png) [@matt.turner80](https://forum.inductiveautomation.com/u/matt.turner80)\
**Post date:** [February 7, 2019, 4:07pm UTC](https://forum.inductiveautomation.com/t/sax-exception-error-with-client-launch/22419/1 "2019-02-07T16:07:35Z")

</div>

Getting this error when trying to launch the client launcher:  
INFO [ClientLauncher] [09:01:27,019]: Using C:\Users\operator.ignition\clientlauncher-data\clientlauncher.log to store logging info. Check there for all future logging events.  
ERROR [ClientLauncherUtil] [09:01:27,044]: SAXException thrown in loadLaunchConfig()  
org.xml.sax.SAXParseException; systemId: file:///C:/Users/operator/.ignition/clientlauncher-data/launch.xml; lineNumber: 1; columnNumber: 1; Premature end of file.  
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)  
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown Source)  
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)  
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)  
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(Unknown Source)  
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source)  
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)  
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)  
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)  
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)  
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)  
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)  
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)  
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source)  
at javax.xml.parsers.SAXParser.parse(Unknown Source)  
at com.inductiveautomation.ignition.client.nativelaunch.util.ClientLauncherUtil.loadLaunchConfig(ClientLauncherUtil.java:60)  
at com.inductiveautomation.ignition.client.nativelaunch.ClientLauncher.main(ClientLauncher.java:203)

---

<div class="post-metadata">

**Author:** ![matt.turner80](https://avatars.discourse-cdn.com/v4/letter/m/bc8723/32.png) [@matt.turner80](https://forum.inductiveautomation.com/u/matt.turner80)\
**Post date:** [February 7, 2019, 4:43pm UTC](https://forum.inductiveautomation.com/t/sax-exception-error-with-client-launch/22419/2 "2019-02-07T16:43:38Z")

</div>

Only way I’ve fixed it before was to wipe and reload windows, which I’m not above doing but I’d prefer a better fix since it worked fine until we had the computer off for a few weeks during a remodel of the office. Updated Java and the Client launcher as well.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [February 7, 2019, 4:50pm UTC](https://forum.inductiveautomation.com/t/sax-exception-error-with-client-launch/22419/3 "2019-02-07T16:50:20Z")

</div>

Delete the .ignition folder and launch again.

If it still doesn’t work after that open the launch.xml file at the path in the error message and see if it’s empty or not.

---

<div class="post-metadata">

**Author:** ![luca.mori](https://avatars.discourse-cdn.com/v4/letter/l/5daacb/32.png) [@luca.mori](https://forum.inductiveautomation.com/u/luca.mori)\
**Post date:** [September 3, 2019, 3:17pm UTC](https://forum.inductiveautomation.com/t/sax-exception-error-with-client-launch/22419/4 "2019-09-03T15:17:49Z")

</div>

Hi @Kevin.Herron, your solution does work.

However, I’d like to know why does this happen.

I have an application where i have 9 remote tv monitor, each with a windows pc, that eventually raise this event.

It is quite annoying, because the client does not have access to those PCs, so i was wondering if you could give me an hint, on how to prevent this issue, and what is actually raising it in the first place.

Thanks

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [September 3, 2019, 3:20pm UTC](https://forum.inductiveautomation.com/t/sax-exception-error-with-client-launch/22419/5 "2019-09-03T15:20:40Z")

</div>

I see 2 possibilities for how it happens:

1. some antivirus software or firewall is interfering when the file is first downloaded, or
2. the file downloaded successfully, but somehow corrupted after some time

---

<div class="post-metadata">

**Author:** ![luca.mori](https://avatars.discourse-cdn.com/v4/letter/l/5daacb/32.png) [@luca.mori](https://forum.inductiveautomation.com/u/luca.mori)\
**Post date:** [September 4, 2019, 8:21am UTC](https://forum.inductiveautomation.com/t/sax-exception-error-with-client-launch/22419/6 "2019-09-04T08:21:41Z")

</div>

Hi Kevin,

clients PCs are industrial PCs, with windows 10 iot, no antivirus on it, only the windows defender.

No access to the internet is permitted, so just local lan and updates are suspended.

My only concern is about power outage, in fact those PCs are not under UPS.

Is it possible that if the ignition runtime is running, and the pc get shouted down due power outage, the file doesnt close properly, or get corrupted is some way?

Thanks for your time.

---

<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:** [September 4, 2019, 12:21pm UTC](https://forum.inductiveautomation.com/t/sax-exception-error-with-client-launch/22419/7 "2019-09-04T12:21:07Z")

</div>

Microsoft has a tool called the Enhanced Write Filter that you should use in such deployments. It freezes the disk image so that the station boots up exactly the same every time. You should let your Ignition client cache everything it needs before you “freeze” the disk. This also protects you from virii and other malware – just reboot to have clean system.

---

<div class="post-metadata">

**Author:** ![mcolson1590](https://avatars.discourse-cdn.com/v4/letter/m/e8c25b/32.png) [@mcolson1590](https://forum.inductiveautomation.com/u/mcolson1590)\
**Post date:** [May 13, 2021, 7:26pm UTC](https://forum.inductiveautomation.com/t/sax-exception-error-with-client-launch/22419/8 "2021-05-13T19:26:46Z")

</div>

Could you be more specific on the folder which needs to be deleted? Do we need to reinstall Ignition after? I’m experiencing this issue with Ignition Edge 7.9.16

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [May 13, 2021, 7:28pm UTC](https://forum.inductiveautomation.com/t/sax-exception-error-with-client-launch/22419/9 "2021-05-13T19:28:36Z")

</div>

The folder I was talking about was the `.ignition` folder that gets created in a user’s home directory. It will get re-created next time that user launches the client or designer. Ignition doesn’t need to be reinstalled and this folder is not used by the Ignition Gateway in any way.

---

<div class="post-metadata">

**Author:** ![user58](https://avatars.discourse-cdn.com/v4/letter/u/a5b964/32.png) [@user58](https://forum.inductiveautomation.com/u/user58)\
**Post date:** [November 30, 2021, 3:01am UTC](https://forum.inductiveautomation.com/t/sax-exception-error-with-client-launch/22419/10 "2021-11-30T03:01:50Z")

</div>

Already tried deleting the folder and still getting this error,  
@Kevin.Herron is there any other solution I can do?  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/4/54ea65494a4652c934cee173dcd0a9adc9d80ec4.png)

---

<div class="post-metadata">

**Author:** ![jcoffman](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jcoffman/32/6429_2.png) [@jcoffman](https://forum.inductiveautomation.com/u/jcoffman)\
**Post date:** [November 30, 2021, 4:25pm UTC](https://forum.inductiveautomation.com/t/sax-exception-error-with-client-launch/22419/11 "2021-11-30T16:25:28Z")

</div>

this looks like a different problem, are you seeing this when you attempt to launch a client? (as opposed to opening the launcher itself) If this is the case I would confirm that the gateway address is correct, it’s reachable, and the project is enabled/valid.

---

<div class="post-metadata">

**Author:** ![user58](https://avatars.discourse-cdn.com/v4/letter/u/a5b964/32.png) [@user58](https://forum.inductiveautomation.com/u/user58)\
**Post date:** [November 30, 2021, 9:14pm UTC](https://forum.inductiveautomation.com/t/sax-exception-error-with-client-launch/22419/12 "2021-11-30T21:14:47Z")

</div>

Yes, when trying to launch a client from the Ignition gateway website  
I fix it by rebooting my computer, but not the best way
