com.aspose.tasks.TasksReadingException: Project reading exception


hi
My name is dongsoon park

I have a another error In unix server.
It is ok in Window7 but There is error In unix server.
I am using below jar and I will attach jar file.
aspose-tasks-6.9.0-jdk16.jar

What is wrong?
Please help me~

[error message]
|Approval/Decision and 2 others|Approval/Decision 外 2件|[6.2.1, 6.2.1, 6.2.1]
2014-08-29 19:45:04,509 INFO [ajp-bio-8010-exec-1] wt.system.out mandoadmin - ------------------------------------------------------------------- -----------------------------------------
2014-08-29 19:45:05,954 INFO [ajp-bio-8010-exec-1] wt.system.err mandoadmin - com.aspose.tasks.TasksReadingException: Project reading exception.
2014-08-29 19:45:05,955 INFO [ajp-bio-8010-exec-1] wt.system.err mandoadmin - at com.aspose.tasks.tq.d(Unknown Source)
2014-08-29 19:45:05,955 INFO [ajp-bio-8010-exec-1] wt.system.err mandoadmin - at com.aspose.tasks.tq.a(Unknown Source)
2014-08-29 19:45:05,955 INFO [ajp-bio-8010-exec-1] wt.system.err mandoadmin - at com.aspose.tasks.ProjectReader.a(Unknown Source)

[source]
Project prj = new Project(xmlPath + GMPWbsConstants.MPP_FILE_TEMPLATE_NAME);

Hi Dongsoon,


We are sorry for a delayed response.

Could you please provide us with your sample MPP file that is giving raise to this issue on Linux? Also, please specify the exact version of Unix that you are using at your end. We’ll look into it as soon as possible and assist you accordingly.

PS: Please don’t create a new post for the same thread. A thread refers to a particular issue and you can reply to our messages on the same thread by clicking the “Reply” button. This makes all the discussions accessible on the same thread.



Thank you for reply
I will give you the information and file.

UNIX version : AIS 7.1

Have a nice days.

Hi Dongsoon,


Could you please share the Java version installed on the mentioned UNIX server? I have tested the issue on Linux UBuntu but it seems that won’t be helpful to reproduce the issue at our end.


Hi
Thank you for your reply.

Our system Java version is java version "1.7.0"
and Our Unix System is AIX 7.1

Hava a nice day.


I noticed another message.
Please help me.
I want to be It will be helpful.

[another error message]
Caused by: class com.aspose.tasks.private.Exceptions.ArgumentException: FontFamily 'Arial' not found

wt.system.err mandoadmin - at org.apache.tomcat.util.threads.TaskThread.run(TaskThread.java:77)
2014-09-02 15:05:35,944 INFO [ajp-bio-8010-exec-1] wt.system.err mandoadmin - Caused by: class com.aspose.tasks.private.Exceptions.ArgumentException: FontFamily 'Arial' not found
2014-09-02 15:05:35,944 INFO [ajp-bio-8010-exec-1] wt.system.err mandoadmin - Parameter name: Arial
2014-09-02 15:05:35,944 INFO [ajp-bio-8010-exec-1] wt.system.err mandoadmin - com.aspose.tasks.private.ac.i.(Unknown Source)
2014-09-02 15:05:35,944 INFO [ajp-bio-8010-exec-1] wt.system.err mandoadmin - com.aspose.tasks.private.ac.i.(Unknown Source)
2014-09-02 15:05:35,944 INFO [ajp-bio-8010-exec-1] wt.system.err mandoadmin - com.aspose.tasks.TextStyle.(Unknown Source)
2014-09-02 15:05:35,944 INFO [ajp-bio-8010-exec-1] wt.system.err mandoadmin - com.aspose.tasks.ph.b(Unknown Source)
2014-09-02 15:05:35,945 INFO [ajp-bio-8010-exec-1] wt.system.err mandoadmin - com.aspose.tasks.ph.b(Unknown Source)
2014-09-02 15:05:35,945 INFO [ajp-bio-8010-exec-1] wt.system.err mandoadmin - com.aspose.tasks.tl.b(Unknown Source)
2014-09-02 15:05:35,945 INFO [ajp-bio-8010-exec-1] wt.system.err mandoadmin - com.aspose.tasks.tl.a(Unknown Source)
2014-09-02 15:05:35,945 INFO [ajp-bio-8010-exec-1] wt.system.err mandoadmin - com.aspose.tasks.ud.d(Unknown Source)
2014-09-02 15:05:35,945 INFO [ajp-bio-8010-exec-1] wt.system.err mandoadmin - com.aspose.tasks.ud.a(Unknown Source)
2014-09-02 15:05:35,945 INFO [ajp-bio-8010-exec-1] wt.system.err mandoadmin - com.aspose.tasks.pn.j(Unknown Source)
2014-09-02 15:05:35,945 INFO [ajp-bio-8010-exec-1] wt.system.err mandoadmin - com.aspose.tasks.tq.p(Unknown Source)
2014-09-02 15:05:35,945 INFO [ajp-bio-8010-exec-1] wt.system.err mandoadmin - com.aspose.tasks.tq.o(Unknown Source)
2014-09-02 15:05:35,945 INFO [ajp-bio-8010-exec-1] wt.system.err mandoadmin - com.aspose.tasks.tq.d(Unknown Source)

Hi Dongsoon,

Thank you for sharing the stack trace.

We have looked into the details of this issue and the reason could be that Aspose.Tasks for Java uses “Arial” font by default and missing this on the target system may give raise to such issue. I have logged it as TASKS-33733 in our issue tracking system for further investigation by our development team. Once there is some information available in this regard, we’ll update you here via this thread.

The issues you have found earlier (filed as ) have been fixed in this Aspose.Words for JasperReports 18.3 update.