#206 Importing resources MSPDIW NullPointerException

open
None
6
2012-01-24
2012-01-24
No

I try to open a small planning in XML-file. I've exported this file using the MPXJ's MSPDIWriter. I can succesfully open it in Microsoft Project (2010), though OpenProj gives me a blank screen. Opening up the commandline gives me the following trace:

java.lang.NullPointerException
at com.projity.server.data.MPXConverter.toProjityResource(Unknown Source
)
at com.projity.exchange.MicrosoftImporter.importLocalResources(Unknown S
ource)
at com.projity.exchange.MicrosoftImporter.access$1100(Unknown Source)
at com.projity.exchange.MicrosoftImporter$4.execute(Unknown Source)
at com.projity.exchange.MicrosoftImporter.importResources(Unknown Source
)
at com.projity.exchange.MicrosoftImporter.importResources(Unknown Source
)
at com.projity.exchange.MicrosoftImporter$2.run(Unknown Source)
at com.projity.job.Job$InternalRunnable.run(Unknown Source)
at com.projity.job.Job$5.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(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)
[Loaded com.projity.server.access.ErrorLogger from file:/C:/Program%20Files%20(x
86)/Serena%20Software%20Inc/OpenProj/openproj.jar]
[Loaded java.io.StringWriter from C:\Program Files\Java\jre6\lib\rt.jar]
[Loaded java.io.PrintWriter from C:\Program Files\Java\jre6\lib\rt.jar]
Job Exception: importFile
java.lang.NullPointerException
at com.projity.server.data.MPXConverter.toProjityResource(Unknown Source
)
at com.projity.exchange.MicrosoftImporter.importLocalResources(Unknown S
ource)
at com.projity.exchange.MicrosoftImporter.access$1100(Unknown Source)
at com.projity.exchange.MicrosoftImporter$4.execute(Unknown Source)
at com.projity.exchange.MicrosoftImporter.importResources(Unknown Source
)
at com.projity.exchange.MicrosoftImporter.importResources(Unknown Source
)
at com.projity.exchange.MicrosoftImporter$2.run(Unknown Source)
at com.projity.job.Job$InternalRunnable.run(Unknown Source)
at com.projity.job.Job$5.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(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)

[Loaded com.projity.job.Job$2 from file:/C:/Program%20Files%20(x86)/Serena%20Sof
tware%20Inc/OpenProj/openproj.jar]
[Loaded java.awt.Window$1DisposeAction from C:\Program Files\Java\jre6\lib\rt.ja
r]

If any additional information is required, please request so.

Discussion

  • Robert de Wilde

    Robert de Wilde - 2012-01-24

    Example file I tried to open.

     
  • Robert de Wilde

    Robert de Wilde - 2012-01-24
    • priority: 5 --> 6
    • assigned_to: nobody --> projity
     
  • Tahoeob

    Tahoeob - 2012-07-23

    Hi , I just posted a note on the pending release of ProjectLibre which will fix the issues you are having. We are hosting ProjectLibre on SourceForge as well. We were the founders and developers of OpenProj and happy to be updating it...............

    * Bug fixes (many, many, many)
    * Microsoft Project Import/Export fixed
    * Printing being added
    * other items

     

Log in to post a comment.