Error reading file (failed at line 21)
com.tapsterrock.mpx.MPXException: Error reading file (failed at line 21)
at com.tapsterrock.mpx.MPXFile.read(MPXFile.java:292)
at com.tapsterrock.mpx.MPXFile.<init>(MPXFile.java:129)
at org.ganttproject.impex.msproject.GanttMPXOpen.load(GanttMPXOpen.java:62)
at org.ganttproject.impex.msproject.ImporterFromMsProjectFile.openDocument(ImporterFromMsProjectFile.java:88)
at org.ganttproject.impex.msproject.ImporterFromMsProjectFile.run(ImporterFromMsProjectFile.java:44)
at net.sourceforge.ganttproject.importer.ImportFileWizardImpl.onOkPressed(ImportFileWizardImpl.java:51)
at net.sourceforge.ganttproject.gui.projectwizard.WizardImpl$1.actionPerformed(WizardImpl.java:120)
at net.sourceforge.ganttproject.UIFacadeImpl$ProxyOkAction.actionPerformed(UIFacadeImpl.java:349)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:177)
at java.awt.Dialog$1.run(Dialog.java:1039)
at java.awt.Dialog$3.run(Dialog.java:1091)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1089)
at java.awt.Component.show(Component.java:1419)
at java.awt.Component.setVisible(Component.java:1372)
at java.awt.Window.setVisible(Window.java:801)
at java.awt.Dialog.setVisible(Dialog.java:979)
at net.sourceforge.ganttproject.UIFacadeImpl.showDialog(UIFacadeImpl.java:149)
at net.sourceforge.ganttproject.gui.projectwizard.WizardImpl.show(Wiza
Ligne 21: (in French)
30;Process3m1;;;24 Heures;Jeu 01/03/07;Mar 13/03/07;0;Mar 13/03/07;;€15062.00;€8200.00;€0.00;1506.2h;820h;0h;0%;34.63j;21j;0j;0%;Lun 05/03/07;Lun 02/04/07;NC;NC;-10.88j;-61.38j;;;
40;Nº;Nº propre;Nom;Initiales;Capacité max;Taux standard;Taux heures sup.;Coût par utilisation;Affectation;Coût;Coût planifié;Coût réel;Travail;Travail planifié;Travail réel;Heures sup.;Groupe;Code;Rem1;Rem2;Rem3;Rem4;Rem5;Adresse messagerie
Logged In: YES
user_id=162766
Originator: NO
Could you please test if this problem is reproducible in stable GP 2.0.4 (most likely it is)? If it is reproducible there then I would like to ask you to attach (or send by email) the file.
We are not accepting yet bug reports for milestone builds
MPX File1
Logged In: YES
user_id=1277980
Originator: YES
Reproduced in 2.04
File Added: Process3m12.mpx
MPX File2
Logged In: YES
user_id=1277980
Originator: YES
Same error but on line 21 for Process3m1.mpx (MPX2):
Error reading file (failed at line 21)
com.tapsterrock.mpx.MPXException: Error reading file (failed at line 21)
at com.tapsterrock.mpx.MPXFile.read(MPXFile.java:292)
at com.tapsterrock.mpx.MPXFile.<init>(MPXFile.java:129)
File Added: Process3m1.mpx
Using v2.0.9,
Process3m12.mpx fail at line 34
Process3m1.mpx fail at line 21
After downloaded the code, it turns out the problem lies in the mpxj.jar... So it cannot be fixed in Ganttproject, right ?