Author Topic: Report Problems  (Read 2480 times)

0 Members and 1 Guest are viewing this topic.

Offline Paul

  • VIP
  • Sr. Member
  • *
  • Posts: 97
    • View Profile
Report Problems
« 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
« Last Edit: October 04, 2019, 09:08:54 by Paul »

Online Zurga

  • VIP
  • Supernatural Member
  • *
  • Posts: 2 887
    • View Profile
Re : Report Problems
« Reply #1 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

Offline Paul

  • VIP
  • Sr. Member
  • *
  • Posts: 97
    • View Profile
Re: Report Problems
« Reply #2 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?


Online Zurga

  • VIP
  • Supernatural Member
  • *
  • Posts: 2 887
    • View Profile
Re : Report Problems
« Reply #3 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

Offline Paul

  • VIP
  • Sr. Member
  • *
  • Posts: 97
    • View Profile
Re: Report Problems
« Reply #4 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)

Online Zurga

  • VIP
  • Supernatural Member
  • *
  • Posts: 2 887
    • View Profile
Re : Report Problems
« Reply #5 on: October 04, 2019, 14:45:50 »
OK, got it.
It's something related to Java 11.

I will try to fix it.

Zurga

Offline Paul

  • VIP
  • Sr. Member
  • *
  • Posts: 97
    • View Profile
Re : Re : Report Problems
« Reply #6 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!

Online Zurga

  • VIP
  • Supernatural Member
  • *
  • Posts: 2 887
    • View Profile
Re: Report Problems
« Reply #7 on: October 04, 2019, 23:37:13 »
I have committed an enhancement of Report module.
This should correct the PDF exports.

Zurga

Offline Paul

  • VIP
  • Sr. Member
  • *
  • Posts: 97
    • View Profile
Re: Report Problems
« Reply #8 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