# Can't Open Project UnmarshalException

**URL:** <https://forum.katalon.com/t/cant-open-project-unmarshalexception/9069>\
**Category:** Bug Report\
**Tags:** bugs-report, katalon-studio\
**Created:** [January 26, 2018, 2:04pm UTC](https://forum.katalon.com/t/cant-open-project-unmarshalexception/9069 "2018-01-26T14:04:04Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kate\_S](https://avatars.discourse-cdn.com/v4/letter/k/7cd45c/32.png) [@Kate\_S](https://forum.katalon.com/u/Kate_S)\
**Post date:** [January 26, 2018, 2:04pm UTC](https://forum.katalon.com/t/cant-open-project-unmarshalexception/9069/1 "2018-01-26T14:04:04Z")

</div>

It’s not possible to open already existing project after Katalon Studio was closed.

**Steps To reproduce** :  
Open Katalon Studio  
Select Project to Open

**Expected Result** :  
Project will be opened

**Actual Result** :  
Can’t open the project  
UnmarshalExcetion error  
 ![](https://s3.amazonaws.com/katalon-forum/editor/he/0zijxcqgd8h3.png)

This happens second time (second project)  
I tried to restart computer  
I tried to reinstall Katalon studio

[2018-01-26\_0900.png](https://s3.amazonaws.com/katalon-forum/editor/he/0zijxcqgd8h3.png)

---

<div class="post-metadata">

**Author:** ![Zarashima](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/zarashima/32/928_2.png) [@Zarashima](https://forum.katalon.com/u/Zarashima)\
**Post date:** [January 26, 2018, 2:17pm UTC](https://forum.katalon.com/t/cant-open-project-unmarshalexception/9069/2 "2018-01-26T14:17:23Z")

</div>

Can you send me your project?

---

<div class="post-metadata">

**Author:** ![Kate\_S](https://avatars.discourse-cdn.com/v4/letter/k/7cd45c/32.png) [@Kate\_S](https://forum.katalon.com/u/Kate_S)\
**Post date:** [January 26, 2018, 2:26pm UTC](https://forum.katalon.com/t/cant-open-project-unmarshalexception/9069/3 "2018-01-26T14:26:35Z")

</div>

@Vinh Nguyen  
Give me an idea how to send it. I tried message, but it says file is too big (even zipped)

---

<div class="post-metadata">

**Author:** ![Kate\_S](https://avatars.discourse-cdn.com/v4/letter/k/7cd45c/32.png) [@Kate\_S](https://forum.katalon.com/u/Kate_S)\
**Post date:** [January 26, 2018, 2:32pm UTC](https://forum.katalon.com/t/cant-open-project-unmarshalexception/9069/4 "2018-01-26T14:32:16Z")

</div>

Just emailed the project @Vinh Nguyen

---

<div class="post-metadata">

**Author:** ![Zarashima](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/zarashima/32/928_2.png) [@Zarashima](https://forum.katalon.com/u/Zarashima)\
**Post date:** [January 26, 2018, 4:51pm UTC](https://forum.katalon.com/t/cant-open-project-unmarshalexception/9069/5 "2018-01-26T16:51:01Z")

</div>

Your whole project files are broken. Do you resolve your conflicts automatically when you pull your project? There are some unusual git merging lines so that’s why Katalon Studio can’t parse it.

---

<div class="post-metadata">

**Author:** ![Kate\_S](https://avatars.discourse-cdn.com/v4/letter/k/7cd45c/32.png) [@Kate\_S](https://forum.katalon.com/u/Kate_S)\
**Post date:** [January 26, 2018, 5:03pm UTC](https://forum.katalon.com/t/cant-open-project-unmarshalexception/9069/6 "2018-01-26T17:03:54Z")

</div>

I pulled first part of the project and then I didn’t pull or commit anything. I created bunch of test cases. Everything worked. I was able to exit Katalon and then reopen the project…  
Than this issue happened without any additional related steps…

I need at least to understand how to avoid such situation in the future…I want to present this tool…

---

<div class="post-metadata">

**Author:** ![Kate\_S](https://avatars.discourse-cdn.com/v4/letter/k/7cd45c/32.png) [@Kate\_S](https://forum.katalon.com/u/Kate_S)\
**Post date:** [February 27, 2018, 6:28pm UTC](https://forum.katalon.com/t/cant-open-project-unmarshalexception/9069/7 "2018-02-27T18:28:28Z")

</div>

This issue is reproducible again in another project. I do not use GIT for it…  
The bad thing is I don’t know, how to recover it now…

---

<div class="post-metadata">

**Author:** ![Zarashima](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/zarashima/32/928_2.png) [@Zarashima](https://forum.katalon.com/u/Zarashima)\
**Post date:** [March 2, 2018, 2:10am UTC](https://forum.katalon.com/t/cant-open-project-unmarshalexception/9069/8 "2018-03-02T02:10:10Z")

</div>

Hi Kate S,

I will take a look at this and try to tweak your project, so please wait for me.

Regards

---

<div class="post-metadata">

**Author:** ![Zarashima](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/zarashima/32/928_2.png) [@Zarashima](https://forum.katalon.com/u/Zarashima)\
**Post date:** [March 2, 2018, 3:41am UTC](https://forum.katalon.com/t/cant-open-project-unmarshalexception/9069/9 "2018-03-02T03:41:20Z")

</div>

Hi there,

Upon looking at Katalon Studio logs:

```auto
!ENTRY org.eclipse.e4.ui.workbench 4 0 2018-03-02 09:15:53.098
!MESSAGE 
!STACK 0
javax.xml.bind.UnmarshalException
 - with linked exception:
[Exception [EclipseLink-25004] (Eclipse Persistence Services - 2.5.0.v20130425-368d603): org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: An error occurred unmarshalling the document
Internal Exception: org.xml.sax.SAXParseException; systemId: file:/C:/GHI/GHI.prj; lineNumber: 1; columnNumber: 1; Premature end of file.]
	at org.eclipse.persistence.jaxb.JAXBUnmarshaller.handleXMLMarshalException(JAXBUnmarshaller.java:980)
	at org.eclipse.persistence.jaxb.JAXBUnmarshaller.unmarshal(JAXBUnmarshaller.java:126)
	at com.kms.katalon.dal.fileservice.EntityService.loadEntityFromFile(EntityService.java:178)
	at com.kms.katalon.dal.fileservice.EntityService.getEntityByPath(EntityService.java:157)
	at com.kms.katalon.dal.fileservice.manager.ProjectFileServiceManager.openProjectWithoutClasspath(ProjectFileServiceManager.java:71)
	at com.kms.katalon.dal.fileservice.dataprovider.ProjectFileServiceDataProvider.getProjectWithoutClasspath(ProjectFileServiceDataProvider.java:27)
	at com.kms.katalon.controller.ProjectController.openProjectForUI(ProjectController.java:60)
	at com.kms.katalon.composer.project.handlers.OpenProjectHandler$1.run(OpenProjectHandler.java:114)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Caused by: Exception [EclipseLink-25004] (Eclipse Persistence Services - 2.5.0.v20130425-368d603): org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: An error occurred unmarshalling the document
Internal Exception: org.xml.sax.SAXParseException; systemId: file:/C:/GHI/GHI.prj; lineNumber: 1; columnNumber: 1; Premature end of file.
	at org.eclipse.persistence.exceptions.XMLMarshalException.unmarshalException(XMLMarshalException.java:113)
	at org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.convertSAXException(SAXUnmarshaller.java:999)
	at org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:903)
	at org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:388)
	at org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:366)
	at org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:323)
	at org.eclipse.persistence.oxm.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:367)
	at org.eclipse.persistence.jaxb.JAXBUnmarshaller.unmarshal(JAXBUnmarshaller.java:123)
	... 7 more
Caused by: org.xml.sax.SAXParseException; systemId: file:/C:/GHI/GHI.prj; lineNumber: 1; columnNumber: 1; Premature end of file.
	at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
	at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
	at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
	at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
	at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1472)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1014)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:841)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:770)
	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
	at org.eclipse.persistence.internal.oxm.record.XMLReader.parse(XMLReader.java:221)
	at org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:895)
	... 12 more

```

I’ve found no data in GHI.project file, so might worth adding these lines into it directly:

\<?xml version="1.0" encoding="UTF-8"?\>

GHI

b677a5a9-2c31-455e-b489-8b5bd1e6e446

0

Hope that will resolve your isse

---

<div class="post-metadata">

**Author:** ![Kate\_S](https://avatars.discourse-cdn.com/v4/letter/k/7cd45c/32.png) [@Kate\_S](https://forum.katalon.com/u/Kate_S)\
**Post date:** [March 5, 2018, 1:52pm UTC](https://forum.katalon.com/t/cant-open-project-unmarshalexception/9069/10 "2018-03-05T13:52:50Z")

</div>

Thanks a lot! It solved an issue. 🙂  
Somehow it was wiped out…  
It will be great if you can explain for future where these

… comes from?

If it happens again in another project? @Vinh Nguyen

---

<div class="post-metadata">

**Author:** ![Zarashima](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/zarashima/32/928_2.png) [@Zarashima](https://forum.katalon.com/u/Zarashima)\
**Post date:** [March 6, 2018, 2:46am UTC](https://forum.katalon.com/t/cant-open-project-unmarshalexception/9069/11 "2018-03-06T02:46:43Z")

</div>

> [Kate S](https://forum.katalon.com/profile/3507/Kate%20S) said:
> 
> Thanks a lot! It solved an issue. 🙂  
> Somehow it was wiped out…  
> It will be great if you can explain for future where these
> 
> … comes from?
> 
> If it happens again in another project? @Vinh Nguyen

Hi Kate S,

Well this is just a random ID and I copy it from another project of mine, so I’m not really sure what it could be. 🙂

---

<div class="post-metadata">

**Author:** ![Kate\_S](https://avatars.discourse-cdn.com/v4/letter/k/7cd45c/32.png) [@Kate\_S](https://forum.katalon.com/u/Kate_S)\
**Post date:** [March 6, 2018, 8:11pm UTC](https://forum.katalon.com/t/cant-open-project-unmarshalexception/9069/12 "2018-03-06T20:11:48Z")

</div>

This is the problem I guess…It’s different in different projects 🙂 I was able to open my project, edit/create test cases, etc. But I can not run them … @Vinh Nguyen  
((

---

<div class="post-metadata">

**Author:** ![Zarashima](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/zarashima/32/928_2.png) [@Zarashima](https://forum.katalon.com/u/Zarashima)\
**Post date:** [March 7, 2018, 5:10am UTC](https://forum.katalon.com/t/cant-open-project-unmarshalexception/9069/13 "2018-03-07T05:10:20Z")

</div>

Does it generate any error message in this case?

---

<div class="post-metadata">

**Author:** ![Zarashima](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/zarashima/32/928_2.png) [@Zarashima](https://forum.katalon.com/u/Zarashima)\
**Post date:** [March 7, 2018, 5:14am UTC](https://forum.katalon.com/t/cant-open-project-unmarshalexception/9069/14 "2018-03-07T05:14:05Z")

</div>

So do you have any history commits related to that .project file from your source control? You can grab it as well and then use it.

---

<div class="post-metadata">

**Author:** ![StereoBroo](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@StereoBroo](https://forum.katalon.com/u/StereoBroo)\
**Post date:** [September 10, 2018, 9:39am UTC](https://forum.katalon.com/t/cant-open-project-unmarshalexception/9069/15 "2018-09-10T09:39:28Z")

</div>

In my case the problem was in .project file.  
A lot of duplicate stuff …

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/katalon/original/3X/d/5/d55596ab02785a255798e87ede769734747b30c4.svg) [@system](https://forum.katalon.com/u/system)\
**Post date:** [November 2, 2019, 4:42am UTC](https://forum.katalon.com/t/cant-open-project-unmarshalexception/9069/16 "2019-11-02T04:42:42Z")

</div>

Closed on November 2, 2019, 4:42am UTC


