Error while building PDF

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Error while building PDF

Köditz, Martin

Hi,

 

I’ve just finished the refdocs commons section and wanted to cross check it via PDF, but I got following error. Can I see what is the responsible element?

HTML output is no problem.

 

Kind regards

Martin

 

 

sh build.sh pdf -Dsfx=de

openjdk version "1.8.0_91"

OpenJDK Runtime Environment (IcedTea 3.0.1) (suse-12.1-x86_64)

OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode)

 

Unable to locate tools.jar. Expected to find it in /usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/lib/tools.jar

Buildfile: build.xml

 

init:

     [echo] Apache Ant version 1.6.5 compiled on June 2 2005

 

prepare:

 

getrootarg:

 

getfontargs:

 

fo:

     [echo] Building Formatting Objects file. Please wait...

   [delete] Deleting: /srv/www/htdocs/firebird/manual/inter/fo/de/firebirddocs-de.fo

     [java] Making portrait pages on A4 paper (210mmx297mm)

     [java] Error: no ID for constraint linkend: fblangref25-license.

     [java] Error: no ID for constraint linkend: fblangref25-dml-execblock-de.

     [java] Error: no ID for constraint linkend: fblangref25-structure-dialects.

     [java] Error: no ID for constraint linkend: fblangref25-commons-predcontaining.

     [java] Error: no ID for constraint linkend: fblangref25-ddl-domn-alter-de.

     [java] Error: no ID for constraint linkend: fblangref25-commons-introducer-syntax.

     [java] Error: no ID for constraint linkend: fblangref25-ddl-sequence-de.

     [java] Error: no ID for constraint linkend: fblangref25-functions-scalarfuncs-gen_id-de.

     [java] Error: no ID for constraint linkend: fblangref25-functions-conditional-de.

     [java] Error: no ID for constraint linkend: fblangref25-functions-scalarfuncs-decode-de.

     [java] Error: no ID for constraint linkend: fblangref25-datatypes-custom.

     [java] Error: no ID for constraint linkend: fblangref25-appx01-supp-rdb_validblr.

     [java] Error: no ID for constraint linkend: fblangref25-appx01-supp-rdb_validblr.

     [java] Error: no ID for constraint linkend: fblangref25-appx01-supp-rdb_validblr.

     [java] Error: no ID for constraint linkend: fblangref25-commons-conditional-nxtvlufor.

     [java] Error: no ID for constraint linkend: fblangref25-commons-conditional-nxtvlufor.

     [java] Error: no ID for constraint linkend: fblangref25-commons-conditional-nxtvlufor.

     [java] Error: no ID for constraint linkend: fblangref25-structure-identifiers.

     [java] Error: no ID for constraint linkend: fblangref-appx04-exceptions.

     [java] Error: no ID for constraint linkend: fblangref25-commons-subqueries.

     [java] Error: no ID for constraint linkend: fblangref25-commons-isnotdistinct.

     [java] Error: no ID for constraint linkend: fblangref25-datatypes.

     [java] Error: no ID for constraint linkend: fblangref25-datatypes-custom.

     [java] Error: no ID for constraint linkend: fblangref25-appx02-errorcodes.

     [java] Error: no ID for constraint linkend: fblangref25-appx02-sqlstates.

     [java] Error: no ID for constraint linkend: fblangref25-appx02-sqlcodes.

     [java] Error: no ID for constraint linkend: fblangref-appx04-exceptions.

     [java] Error: no ID for constraint linkend: fblangref25-appx02-tbl-sqlstates.

     [java] Error: no ID for constraint linkend: fblangref25-datatypes-convert-shortcasts.

     [java] Error: no ID for constraint linkend: fblangref25-appx02-tbl-sqlstates.

     [java] Error: no ID for constraint linkend: fblangref25-datatypes-convert-shortcasts.

     [java] Error: no ID for constraint linkend: fblangref25-datatypes-convert-shortcasts.

     [java] Error: no ID for constraint linkend: fblangref25-datatypes-convert-shortcasts.

     [java] Error: no ID for constraint linkend: fblangref25-datatypes-datetimeops.

     [java] Error: no ID for constraint linkend: fblangref25-datatypes-datetimeops.

     [java] Error: no ID for constraint linkend: fblangref25-datatypes-datetime.

     [java] Error: no ID for constraint linkend: fblangref25-appx01-supp-rdb_validblr.

     [java] Error: no ID for constraint linkend: fblangref25-appx01-supp-rdb_validblr.

     [java] Error: no ID for constraint linkend: fblangref25-commons-conditional-nxtvlufor.

     [java] Error: no ID for constraint linkend: fblangref25-commons-conditional-case-simple.

     [java] Error: no ID for constraint linkend: fblangref25-commons-conditional-case-simple.

     [java] Error: no ID for constraint linkend: fblangref25-structure-identifiers.

     [java] Error: no ID for constraint linkend: fblangref25-appx02-tbl-errcodes01-de.

     [java] Error: no ID for constraint linkend: fblangref25-appx02-tbl-errcodes04-de.

 

copy-images:

 

copy-img-files:

     [copy] Copying 1 file to /srv/www/htdocs/firebird/manual/inter/fo/de/images

 

copy-img-files:

     [copy] Copying 9 files to /srv/www/htdocs/firebird/manual/inter/fo/de/images

 

copy-img-files:

 

fo2pdf:

     [echo] Building PDF from Formatting Objects. Please wait...

      [fop] Mai 12, 2017 9:14:06 AM org.apache.fop.apps.FopFactory configure

      [fop] INFORMATION: Initializing FopFactory Configuration

      [fop] /srv/www/htdocs/firebird/manual/inter/fo/de/firebirddocs-de.fo -> /srv/www/htdocs/firebird/manual/dist/pdf/de/firebirddocs-de.pdf

      [fop] Mai 12, 2017 9:14:07 AM org.apache.fop.apps.FOUserAgent setTargetResolution

      [fop] INFORMATION: target-resolution set to: 72.0dpi (px2mm=0.35277778)

      [fop] Mai 12, 2017 9:14:09 AM org.apache.fop.fo.flow.TableColumn bind

      [fop] WARNUNG: table-layout="fixed" and column-width unspecified => falling back to proportional-column-width(1)

      [fop] Mai 12, 2017 9:14:09 AM org.apache.fop.fo.flow.TableColumn bind

      [fop] WARNUNG: table-layout="fixed" and column-width unspecified => falling back to proportional-column-width(1)

      [fop] Mai 12, 2017 9:14:09 AM org.apache.fop.fo.flow.TableColumn bind

      [fop] WARNUNG: table-layout="fixed" and column-width unspecified => falling back to proportional-column-width(1)

 

BUILD FAILED

/srv/www/htdocs/firebird/manual/src/build/build.xml:738: org.apache.fop.apps.FOPException: java.lang.NullPointerException

javax.xml.transform.TransformerException: java.lang.NullPointerException

 

Total time: 2 minutes 45 seconds


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Firebird-docs mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/firebird-docs
Reply | Threaded
Open this post in threaded view
|

Re: Error while building PDF

Norman Dunbar-2
Morning Martin,

I think that the IcedTea java environment is not suitable for fop to create pdfs. I've got a recollection that this has bugged me in the past. I'm pretty sure you need Sun/Oracle jave.

Opened was no use either, at least according to a post of mine from 2011 (Update of Build System thread.)

HTH

Cheers,
Norm.


--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Firebird-docs mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/firebird-docs
Reply | Threaded
Open this post in threaded view
|

Re: Error while building PDF

Norman Dunbar-2
Sorry, auto correct trashed my reply!

OpenJDK was no use either.

Cheers,
Norm.

On 12 May 2017 09:40:09 BST, Norman Dunbar <[hidden email]> wrote:
Morning Martin,

I think that the IcedTea java environment is not suitable for fop to create pdfs. I've got a recollection that this has bugged me in the past. I'm pretty sure you need Sun/Oracle jave.

Opened was no use either, at least according to a post of mine from 2011 (Update of Build System thread.)

HTH

Cheers,
Norm.



--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Firebird-docs mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/firebird-docs
Reply | Threaded
Open this post in threaded view
|

Re: Error while building PDF

Köditz, Martin
In reply to this post by Köditz, Martin

OK, I will check this later.

 

Regards,

Martin


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Firebird-docs mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/firebird-docs