Closed GoogleCodeExporter closed 9 years ago
Attached the XML file
Original comment by d3c1...@yahoo.com
on 6 Oct 2014 at 8:19
Attachments:
Microsoft Project files should be imported with Project->Import, but anyway,
importing this file in GP 2.6.6 produces error:
net.sf.mpxj.MPXJException: Failed to read input
file=/home/bard/Downloads/Project1.xml
at biz.ganttproject.impex.msproject2.ProjectFileImporter.run(ProjectFileImporter.java:184)
at biz.ganttproject.impex.msproject2.ImporterFromMsProjectFile.run(ImporterFromMsProjectFile.java:63)
at net.sourceforge.ganttproject.importer.ImportFileWizardImpl.onOkPressed(ImportFileWizardImpl.java:66)
at net.sourceforge.ganttproject.gui.projectwizard.WizardImpl$3.actionPerformed(WizardImpl.java:86)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.Component.processMouseEvent(Component.java:6516)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3311)
at java.awt.Component.processEvent(Component.java:6281)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4872)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4698)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4698)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:708)
at java.awt.EventQueue$4.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:154)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:221)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:219)
at java.awt.Dialog.show(Dialog.java:1082)
at java.awt.Component.show(Component.java:1655)
at java.awt.Component.setVisible(Component.java:1607)
at java.awt.Window.setVisible(Window.java:1014)
at java.awt.Dialog.setVisible(Dialog.java:1005)
at net.sourceforge.ganttproject.DialogBuilder$DialogImpl.show(DialogBuilder.java:144)
at net.sourceforge.ganttproject.gui.projectwizard.WizardImpl.show(WizardImpl.java:139)
at net.sourceforge.ganttproject.action.project.ProjectImportAction.actionPerformed(ProjectImportAction.java:47)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
at java.awt.Component.processMouseEvent(Component.java:6516)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3311)
at java.awt.Component.processEvent(Component.java:6281)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4872)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4698)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4698)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:708)
at java.awt.EventQueue$4.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.lang.NullPointerException
at net.sf.mpxj.mspdi.MSPDIReader.isSplit(MSPDIReader.java:1350)
at net.sf.mpxj.mspdi.MSPDIReader.readAssignment(MSPDIReader.java:1207)
at net.sf.mpxj.mspdi.MSPDIReader.readAssignments(MSPDIReader.java:1165)
at net.sf.mpxj.mspdi.MSPDIReader.read(MSPDIReader.java:169)
at biz.ganttproject.impex.msproject2.ProjectFileImporter.run(ProjectFileImporter.java:174)
... 87 more
Original comment by dbaras...@ganttproject.biz
on 6 Oct 2014 at 8:26
This is not reproducible in GP 2.7 beta III
Original comment by dbaras...@ganttproject.biz
on 6 Oct 2014 at 8:31
Don't see the error in 2.6.6 for some reason, but 2.7 seems to have fixed it.
Thanks.
Original comment by d3c1...@yahoo.com
on 6 Oct 2014 at 9:30
When I open the sample file Project1.xml with 2.7 beta III r1777 the project
file appears to open normally and no error messages appear, but even so no
tasks are visible. (see ganttproject.log). If I then add a task with Ctrl-T, I
get an error message "column must be valid, was-1" (see screenshot
Project1.xml_NewTaskError_GP 2.7 beta III and file
ganttproject.log_Project1.xml_NewTaskError_GP 2.7 beta III.log).
If I save the project the resulting file is much smaller.
Original comment by MichaelG...@gmail.com
on 15 Oct 2014 at 1:24
Attachments:
As comment #2 suggests,
"Microsoft Project files should be imported with Project->Import"
You probably opened it with Project->Open. That doesn't work (and there is
issue #446 about that). Use Project->Import.
Original comment by dbaras...@ganttproject.biz
on 15 Oct 2014 at 3:08
You are right, importing works. I missed the comment, sorry.
Original comment by MichaelG...@gmail.com
on 15 Oct 2014 at 4:08
Closing all tickets with status "FeelFreeToTest". Feel free to reopen if the
issue is still reproducible.
Original comment by dbaras...@ganttproject.biz
on 18 Mar 2015 at 3:39
Original issue reported on code.google.com by
d3c1...@yahoo.com
on 6 Oct 2014 at 8:18