bardsoftware / ganttproject

Official GanttProject repository.
http://ganttproject.biz
GNU General Public License v3.0
889 stars 310 forks source link

Does not import mpp12 Project files #108

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. attempt import or open of MS Project *.mpp12 file

What is the expected output? What do you see instead?
Expect to load ok, error Invalid File Format: MSProject.MPP12

What version of the product are you using? On what operating system?
2.0.9, on Vista 32bit SP1

Please provide any additional information below.
 java.runtime.version1.6.0_07-b06

Error output:
*****************************************************************
Invalid file format: MSProject.MPP12

com.tapsterrock.mpx.MPXException: Invalid file format: MSProject.MPP12
    at com.tapsterrock.mpp.MPPFile.read(MPPFile.java:151)
    at com.tapsterrock.mpx.MPXFile.<init>(MPXFile.java:129)
    at com.tapsterrock.mpp.MPPFile.<init>(MPPFile.java:70)
    at org.ganttproject.impex.msproject.GanttMPPOpen.load(GanttMPPOpen.java:60)
    at
org.ganttproject.impex.msproject.ImporterFromMsProjectFile.openDocument(Importer
FromMsProjectFile.java:70)
    at
org.ganttproject.impex.msproject.ImporterFromMsProjectFile.run(ImporterFromMsPro
jectFile.java:43)
    at
net.sourceforge.ganttproject.importer.ImportFileWizardImpl.onOkPressed(ImportFil
eWizardImpl.java:54)
    at
net.sourceforge.ganttproject.gui.projectwizard.WizardImpl$1.actionPerformed(Wiza
rdImpl.java:110)
    at
net.sourceforge.ganttproject.UIFacadeImpl$ProxyOkAction.actionPerformed(UIFacade
Impl.java:341)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.Dialog$1.run(Unknown Source)
    at java.awt.Dialog$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Dialog.show(Unknown Source)
    at java.awt.Component.show(Unknown Source)
    at java.awt.Component.setVisible(Unknown Source)
    at java.awt.Window.setVisible(Unknown Source)
    at java.awt.Dialog.setVisible(Unknown Source)
    at net.sourceforge.ganttproject.UIFacadeImpl.showDialog(UIFacadeImpl.java:199)
    at
net.sourceforge.ganttproject.gui.projectwizard.WizardImpl.show(WizardImpl.java:1
19)
    at
net.sourceforge.ganttproject.importer.ImportFileAction.actionPerformed(ImportFil
eAction.java:37)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.AbstractButton.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
Source)
    at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

Original issue reported on code.google.com by cglto...@gmail.com on 27 Apr 2010 at 4:33

GoogleCodeExporter commented 9 years ago

Original comment by dbarashev on 27 Apr 2010 at 9:43

GoogleCodeExporter commented 9 years ago
Has there been any resolution to this?  I am experiencing the same issue.

Original comment by ezjen...@gmail.com on 6 Sep 2011 at 9:01

GoogleCodeExporter commented 9 years ago
You may want to have a look at issue #40 (which this one is duplicating)

Original comment by dbarashev on 6 Sep 2011 at 9:31