Invalid File Format on PowerProject file
tomerweisman opened this issue · comments
Hi
Im trying to read an Asta PowerProject file but im hitting this exception. When I open the file in Powerproject it reads it OK.
any idea how to fix this issue on my side?
Thank you
Traceback (most recent call last):
File "UniversalProjectReader.java", line 134, in net.sf.mpxj.reader.UniversalProjectReader.read
java.lang.java.lang.NullPointerException: java.lang.NullPointerException: Cannot invoke "net.sf.mpxj.ProjectCalendar.getDuration(java.time.LocalDateTime, java.time.LocalDateTime)" because the return value of "net.sf.mpxj.Task.getEffectiveCalendar()" is null
@tomerweisman thanks for opening the issue. Would you be able to provide me with a sample file which exhibits this behaviour, either attached here or email me something directly? Thanks!
@tomerweisman I've made some changes in a related area which may have an effect on the problem you've raised. These changes are now in git, and will be in the next MPXJ release. In the meantime I'm going to close this issue now as I can't investigate this further without a sample file to look at. Feel free to attach a file here or send me something directly if you would like me to look at this further.