Ancestris - Forum

Ancestris Support => ENGLISH => Topic started by: Paul on October 04, 2019, 08:59:46

Title: Report Problems
Post by: Paul on October 04, 2019, 08:59:46
Reports that output text directly, .svg or .ps seem to work ok.

Those that output a .pdf create a zero byte sized file with a '*** Formatting Ancestors of ... failed' error.

I imagine this is related to my system (Linux Mint 19.1 64bit XFCE), any suggestions please?

Paul
Title: Re : Report Problems
Post by: Zurga on October 04, 2019, 09:35:23
Could you indicate which reports is involved ?
As far as I have tested, some of them works properly.

Zurga
Title: Re: Report Problems
Post by: Paul on October 04, 2019, 10:28:17
Ancestor List
Ancestor or Descendants Narrative
Close Relatives
Descendant List
...

any that involve outputting to PDF. I guess something is missing to format pdf correctly on my system?

Title: Re : Report Problems
Post by: Zurga on October 04, 2019, 13:11:33
I have no trouble with theses reports.

Could you see in directory .ancestris/trunk/var/log if there any further message in messages.log file ?

Zurga
Title: Re: Report Problems
Post by: Paul on October 04, 2019, 13:46:02
This is at the end of messages.log:

Code: [Select]
WARNING [ancestris.report]: formatting Close Relatives of Upton, Mary failed
java.io.IOException: sun/misc/Service
at genj.fo.Format.format(Format.java:196)
at genj.fo.Format.format(Format.java:178)
[catch] at genj.report.ReportView.showResult(ReportView.java:445)
at genj.report.ReportView$RunnerCallback.handleResult(ReportView.java:202)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at spin.Invocation.evaluate(Invocation.java:181)
at spin.over.SpinOverEvaluator$1.run(SpinOverEvaluator.java:67)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Title: Re : Report Problems
Post by: Zurga on October 04, 2019, 14:45:50
OK, got it.
It's something related to Java 11.

I will try to fix it.

Zurga
Title: Re : Re : Report Problems
Post by: Paul on October 04, 2019, 15:20:12
OK, got it.
It's something related to Java 11.

I will try to fix it.

Zurga
Great, thanks!
Title: Re: Report Problems
Post by: Zurga on October 04, 2019, 23:37:13
I have committed an enhancement of Report module.
This should correct the PDF exports.

Zurga
Title: Re: Report Problems
Post by: Paul on October 06, 2019, 17:40:08
I have committed an enhancement of Report module.
This should correct the PDF exports.

Zurga
It does, many thanks.

Paul