# Error when trying to open mpp file with gantproject

**URL:** <https://help.ganttproject.biz/t/error-when-trying-to-open-mpp-file-with-gantproject/3575>\
**Category:** GanttProject Desktop Support\
**Created:** [September 15, 2021, 3:04pm UTC](https://help.ganttproject.biz/t/error-when-trying-to-open-mpp-file-with-gantproject/3575 "2021-09-15T15:04:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![karim](https://help.ganttproject.biz/letter_avatar_proxy/v4/letter/k/46a35a/32.png) [@karim](https://help.ganttproject.biz/u/karim)\
**Post date:** [September 15, 2021, 3:04pm UTC](https://help.ganttproject.biz/t/error-when-trying-to-open-mpp-file-with-gantproject/3575/1 "2021-09-15T15:04:57Z")

</div>

Hello GantProject team,  
can you please help to solve my issue, I am getting an error when trying to open an MPP file !  
find below the error text :

C:\Users\MMDI\ganttproject.log

java.class.path: eclipsito.jar;.  
java.home: C:\Program Files\Java\jre1.8.0\_301  
java.io.tmpdir: C:\Users\MMDI\AppData\Local\Temp  
java.runtime.version: 1.8.0\_301-b09  
java.vendor: Oracle Corporation  
java.vm.name: Java HotSpot™ 64-Bit Server VM  
java.vm.vendor: Oracle Corporation  
java.vm.version: 25.301-b09  
os.arch: amd64  
os.name: Windows 10  
os.version: 10.0  
sun.java.command: org.bardsoftware.eclipsito.Boot ganttproject-eclipsito-config.xml -log D:\Mes Travaux\Projet MMDI Industry\Projet ERP\MMDI\_ERP\_Odoo14e.mpp  
user.country: FR  
user.dir: C:\Program Files (x86)\GanttProject-2.6  
user.home: C:\Users\MMDI  
user.language: fr  
user.timezone: Africa/Luanda

Creating main frame…

1. loading look’n’feels  
no editor for column=0 class=interface javax.swing.Icon  
no editor for column=1 class=interface javax.swing.Icon  
no editor for column=2 class=interface javax.swing.Icon  
no editor for column=0 class=interface javax.swing.tree.TreeNode
2. loading options
3. creating menus…
4. creating views…
5. calculating size and packing…
6. changing language …
7. changing look’n’feel …
8. finalizing…  
Main frame created  
no editor for column=0 class=interface javax.swing.Icon  
no editor for column=1 class=interface javax.swing.Icon  
no editor for column=2 class=interface javax.swing.Icon  
no editor for column=0 class=interface javax.swing.tree.TreeNode  
sept. 15, 2021 4:00:08 PM net.sourceforge.ganttproject.GPLogger logToLogger  
AVERTISSEMENT: Octet 2 de la séquence UTF-8 à 2 octets non valide.  
org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Octet 2 de la séquence UTF-8 à 2 octets non valide.  
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.XMLVersionDetector.determineDocVersion(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 net.sourceforge.ganttproject.io.GanttXMLOpen.doLoad(GanttXMLOpen.java:116)  
at net.sourceforge.ganttproject.io.GanttXMLOpen.load(GanttXMLOpen.java:98)  
at net.sourceforge.ganttproject.document.ProxyDocument$ParsingState.enter(ProxyDocument.java:339)  
at net.sourceforge.ganttproject.document.ProxyDocument.read(ProxyDocument.java:173)  
at net.sourceforge.ganttproject.GanttProject.open(GanttProject.java:605)  
at net.sourceforge.ganttproject.gui.ProjectUIFacadeImpl.openProject(ProjectUIFacadeImpl.java:287)  
at net.sourceforge.ganttproject.GanttProject$9.run(GanttProject.java:628)  
at net.sourceforge.ganttproject.undo.UndoableEditImpl.(UndoableEditImpl.java:47)  
at net.sourceforge.ganttproject.undo.UndoManagerImpl.undoableEdit(UndoManagerImpl.java:64)  
at net.sourceforge.ganttproject.GanttProject.openStartupDocument(GanttProject.java:624)  
at net.sourceforge.ganttproject.GanttProject.main(GanttProject.java:835)  
at net.sourceforge.ganttproject.application.MainApplication.run(MainApplication.java:37)  
at org.bardsoftware.impl.eclipsito.ApplicationLauncher.launchApplication(ApplicationLauncher.java:29)  
at org.bardsoftware.impl.eclipsito.BootImpl$2.run(BootImpl.java:53)  
Caused by: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Octet 2 de la séquence UTF-8 à 2 octets non valide.  
at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(Unknown Source)  
at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(Unknown Source)  
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(Unknown Source)  
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.arrangeCapacity(Unknown Source)  
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipString(Unknown Source)  
… 22 more

sept. 15, 2021 4:00:08 PM net.sourceforge.ganttproject.GPLogger logToLogger  
AVERTISSEMENT: Failed to read input file=D:\Mes Travaux\Projet MMDI Industry\Projet ERP\MMDI\_ERP\_Odoo14e.mpp  
net.sf.mpxj.MPXJException: Failed to read input file=D:\Mes Travaux\Projet MMDI Industry\Projet ERP\MMDI\_ERP\_Odoo14e.mpp  
at biz.ganttproject.impex.msproject2.ProjectFileImporter.run(ProjectFileImporter.java:184)  
at biz.ganttproject.impex.msproject2.ImporterFromMsProjectFile.run(ImporterFromMsProjectFile.java:44)  
at net.sourceforge.ganttproject.GanttProject.tryImportDocument(GanttProject.java:653)  
at net.sourceforge.ganttproject.GanttProject.access$100(GanttProject.java:120)  
at net.sourceforge.ganttproject.GanttProject$9.run(GanttProject.java:636)  
at net.sourceforge.ganttproject.undo.UndoableEditImpl.(UndoableEditImpl.java:47)  
at net.sourceforge.ganttproject.undo.UndoManagerImpl.undoableEdit(UndoManagerImpl.java:64)  
at net.sourceforge.ganttproject.GanttProject.openStartupDocument(GanttProject.java:624)  
at net.sourceforge.ganttproject.GanttProject.main(GanttProject.java:835)  
at net.sourceforge.ganttproject.application.MainApplication.run(MainApplication.java:37)  
at org.bardsoftware.impl.eclipsito.ApplicationLauncher.launchApplication(ApplicationLauncher.java:29)  
at org.bardsoftware.impl.eclipsito.BootImpl$2.run(BootImpl.java:53)  
Caused by: java.lang.ArrayIndexOutOfBoundsException  
at java.lang.System.arraycopy(Native Method)  
at net.sf.mpxj.mpp.MPPUtility.cloneSubArray(MPPUtility.java:1025)  
at net.sf.mpxj.mpp.FixedData.(FixedData.java:163)  
at net.sf.mpxj.mpp.FixedData.(FixedData.java:78)  
at net.sf.mpxj.mpp.FixedData.(FixedData.java:61)  
at net.sf.mpxj.mpp.MPP14Reader.processTaskData(MPP14Reader.java:1303)  
at net.sf.mpxj.mpp.MPP14Reader.process(MPP14Reader.java:166)  
at net.sf.mpxj.mpp.MPPReader.read(MPPReader.java:98)  
at net.sf.mpxj.reader.AbstractProjectReader.read(AbstractProjectReader.java:66)  
at biz.ganttproject.impex.msproject2.ProjectFileImporter.run(ProjectFileImporter.java:174)  
… 11 more

Splash closed

---

<div class="post-metadata">

**Author:** ![DmitryBarashev](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/dmitrybarashev/32/406_2.png) [@DmitryBarashev](https://help.ganttproject.biz/u/DmitryBarashev)\
**Post date:** [September 15, 2021, 9:17pm UTC](https://help.ganttproject.biz/t/error-when-trying-to-open-mpp-file-with-gantproject/3575/2 "2021-09-15T21:17:32Z")

</div>

Please share the MPP file.

---

<div class="post-metadata">

**Author:** ![karim](https://help.ganttproject.biz/letter_avatar_proxy/v4/letter/k/46a35a/32.png) [@karim](https://help.ganttproject.biz/u/karim)\
**Post date:** [September 16, 2021, 11:21am UTC](https://help.ganttproject.biz/t/error-when-trying-to-open-mpp-file-with-gantproject/3575/3 "2021-09-16T11:21:21Z")

</div>

Hello sir,  
Thanks for your feedback. Find attached the file.

[MMDI\_ERP\_Odoo14e.zip](https://help.ganttproject.biz/uploads/short-url/e7F8XDJwxuDWMXHycHlwUPqSg9V.zip) (57,4 Ko)

---

<div class="post-metadata">

**Author:** ![DmitryBarashev](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/dmitrybarashev/32/406_2.png) [@DmitryBarashev](https://help.ganttproject.biz/u/DmitryBarashev)\
**Post date:** [September 16, 2021, 11:28am UTC](https://help.ganttproject.biz/t/error-when-trying-to-open-mpp-file-with-gantproject/3575/4 "2021-09-16T11:28:29Z")

</div>

It imports fine in the latest GanttProject 3.1.  
Your log indicates that you’re using GanttProject 2.6 which is a little bit dusty.
