Hello,
I compile libreoffice 6.2.4.2 with
./configure --enable-evolution2 --enable-avahi --enable-python=system --enable-eot
--enable-online-update --without-
doxygen --with-jdk-home=/opt/jdk --with-ant-home=/opt/ant --without-junit --enable-formula-logger
--enable-introspection
--with-system-bzip2 --with-system-cairo --with-system-epoxy --with-system-zlib --with-system-jpeg
--with-system-expat --
with-system-libxml --with-system-icu --with-system-openldap --without-system-poppler
--with-system-curl --with-system-
boost --with-webdav --with-krb5 --with-gssapi --with-system-lcms2 --with-system-nss
--with-system-graphite --with-
system-harfbuzz --with-system-cppunit --with-system-openssl --with-system-libpng --disable-gtk
Having java and javac 11.0.2, make fails with NullPointerExceptions:
mkdir -p /src/libreoffice-6.2.4.2/build/instdir
/src/libreoffice-6.2.4.2/solenv/bin/install-gdb-printers -a /src/libreoffice-6.2.4.2/build/instdir
-c
make -j 4 -rs -f /src/libreoffice-6.2.4.2/Makefile.gbuild all
[build PRL] CustomTarget/postprocess/images/sorted.lst
[build PRL] CustomTarget/postprocess/images/commandimagelist.ilst
[build DEP] LNK:Library/libswuilo.so
[build LNK] Library/libswuilo.so
[build DEP] LNK:Library/libvbaswobjlo.so
[build LNK] Library/libvbaswobjlo.so
[build ECH] CustomTarget/instsetoo_native/setup/versionrc
fatal: not a git repository (or any of the parent directories): .git
…
[build CUT] sd_import_tests
[build CUT] sd_import_tests_smartart
[build CUT] sd_filters_test
[build CUT] sd_misc_tests
[build CUT] sd_html_export_tests
[build CUT] sd_activex_controls_tests
[build CUT] sw_uwriter
[build DEP] LNK:CppunitTest/libtest_sw_docbookexport.so
[build LNK] CppunitTest/libtest_sw_docbookexport.so
SdMiscTest::testTdf96206 finished in: 1824ms
SdMiscTest::testTdf96708 finished in: 1279ms
SdMiscTest::testTdf99396 finished in: 619ms
SdMiscTest::testTdf99396TextEdit finished in: 566ms
SdMiscTest::testFillGradient finished in: 81ms
Exception in thread "main" java.lang.NullPointerException
at org.odftoolkit.odfvalidator.ODFValidator.getValidatorForSchema(ODFValidator.java:286)
at org.odftoolkit.odfvalidator.ODFValidator.getManifestValidator(ODFValidator.java:186)
at
org.odftoolkit.odfvalidator.ODFRootPackageValidator.validateManifest(ODFRootPackageValidator.java:170)
at
org.odftoolkit.odfvalidator.ODFRootPackageValidator.validatePre(ODFRootPackageValidator.java:93)
at org.odftoolkit.odfvalidator.ODFPackageValidator._validate(ODFPackageValidator.java:111)
at org.odftoolkit.odfvalidator.ODFPackageValidator.validate(ODFPackageValidator.java:81)
at org.odftoolkit.odfvalidator.ODFValidator.validateFile(ODFValidator.java:163)
at org.odftoolkit.odfvalidator.ODFValidator.validate(ODFValidator.java:125)
at org.odftoolkit.odfvalidator.Main.main(Main.java:314)
/src/libreoffice-6.2.4.2/test/source/bootstrapfixture.cxx:199:SdMiscTest::testTdf44774
equality assertion failed
- Expected: 0
- Actual : 256
- failed to execute: sh /src/libreoffice-6.2.4.2/build/bin/odfvalidator.sh -M /src/libreoffice-
6.2.4.2/schema/libreoffice/OpenDocument-manifest-schema-v1.3+libreoffice.rng -D /src/libreoffice-
6.2.4.2/schema/libreoffice/OpenDocument-dsig-schema-v1.3+libreoffice.rng -O /src/libreoffice-
6.2.4.2/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng -m /src/libreoffice-
6.2.4.2/schema/mathml2/mathml2.xsd /tmp/lu11615n8eqk4.tmp > /tmp/lu11615n8eqk8.tmp
SdMiscTest::testTdf44774 finished in: 1995ms
Exception in thread "main" java.lang.NullPointerException
at org.odftoolkit.odfvalidator.ODFValidator.getValidatorForSchema(ODFValidator.java:286)
at org.odftoolkit.odfvalidator.ODFValidator.getManifestValidator(ODFValidator.java:186)
at
org.odftoolkit.odfvalidator.ODFRootPackageValidator.validateManifest(ODFRootPackageValidator.java:170)
at
org.odftoolkit.odfvalidator.ODFRootPackageValidator.validatePre(ODFRootPackageValidator.java:93)
at org.odftoolkit.odfvalidator.ODFPackageValidator._validate(ODFPackageValidator.java:111)
at org.odftoolkit.odfvalidator.ODFPackageValidator.validate(ODFPackageValidator.java:81)
at org.odftoolkit.odfvalidator.ODFValidator.validateFile(ODFValidator.java:163)
at org.odftoolkit.odfvalidator.ODFValidator.validate(ODFValidator.java:125)
at org.odftoolkit.odfvalidator.Main.main(Main.java:314)
/src/libreoffice-6.2.4.2/test/source/bootstrapfixture.cxx:199:SdMiscTest::testTdf38225
equality assertion failed
- Expected: 0
- Actual : 256
- failed to execute: sh /src/libreoffice-6.2.4.2/build/bin/odfvalidator.sh -M /src/libreoffice-
6.2.4.2/schema/libreoffice/OpenDocument-manifest-schema-v1.3+libreoffice.rng -D /src/libreoffice-
6.2.4.2/schema/libreoffice/OpenDocument-dsig-schema-v1.3+libreoffice.rng -O /src/libreoffice-
6.2.4.2/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng -m /src/libreoffice-
6.2.4.2/schema/mathml2/mathml2.xsd /tmp/lu11615n8eqka.tmp > /tmp/lu11615n8eqke.tmp
SdMiscTest::testTdf38225 finished in: 2076ms
SdMiscTest::testTdf101242_ODF finished in: 333ms
SdMiscTest::testTdf101242_settings finished in: 335ms
SdMiscTest::testTdf119392 finished in: 340ms
SdMiscTest::testTdf67248 finished in: 287ms
SdMiscTest::testTdf119956 finished in: 297ms
SdMiscTest::testTdf120527 finished in: 66ms
bootstrapfixture.cxx:199:Assertion
Test name: SdMiscTest::testTdf44774
equality assertion failed
- Expected: 0
- Actual : 256
- failed to execute: sh /src/libreoffice-6.2.4.2/build/bin/odfvalidator.sh -M /src/libreoffice-
6.2.4.2/schema/libreoffice/OpenDocument-manifest-schema-v1.3+libreoffice.rng -D /src/libreoffice-
6.2.4.2/schema/libreoffice/OpenDocument-dsig-schema-v1.3+libreoffice.rng -O /src/libreoffice-
6.2.4.2/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng -m /src/libreoffice-
6.2.4.2/schema/mathml2/mathml2.xsd /tmp/lu11615n8eqk4.tmp > /tmp/lu11615n8eqk8.tmp
bootstrapfixture.cxx:199:Assertion
Test name: SdMiscTest::testTdf38225
equality assertion failed
- Expected: 0
- Actual : 256
- failed to execute: sh /src/libreoffice-6.2.4.2/build/bin/odfvalidator.sh -M /src/libreoffice-
6.2.4.2/schema/libreoffice/OpenDocument-manifest-schema-v1.3+libreoffice.rng -D /src/libreoffice-
6.2.4.2/schema/libreoffice/OpenDocument-dsig-schema-v1.3+libreoffice.rng -O /src/libreoffice-
6.2.4.2/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng -m /src/libreoffice-
6.2.4.2/schema/mathml2/mathml2.xsd /tmp/lu11615n8eqka.tmp > /tmp/lu11615n8eqke.tmp
Failures !!!
Run: 13 Failure total: 2 Failures: 2 Errors: 0
Error: a unit test failed, please do one of:
make CppunitTest_sd_misc_tests CPPUNITTRACE="gdb --args"
# for interactive debugging on Linux
make CppunitTest_sd_misc_tests VALGRIND=memcheck
# for memory checking
make CppunitTest_sd_misc_tests DEBUGCPPUNIT=TRUE
# for exception catching
You can limit the execution to just one particular test by:
make CPPUNIT_TEST_NAME="testXYZ" ...above mentioned params...
make[1]: *** [/src/libreoffice-6.2.4.2/solenv/gbuild/CppunitTest.mk:120: /src/libreoffice-
6.2.4.2/build/workdir/CppunitTest/sd_misc_tests.test] Error 1
make[1]: *** Waiting for unfinished jobs....
Exception in thread "main" java.lang.NullPointerException
at org.odftoolkit.odfvalidator.ODFValidator.getValidatorForSchema(ODFValidator.java:286)
at org.odftoolkit.odfvalidator.ODFValidator.getManifestValidator(ODFValidator.java:186)
at
org.odftoolkit.odfvalidator.ODFRootPackageValidator.validateManifest(ODFRootPackageValidator.java:170)
at
org.odftoolkit.odfvalidator.ODFRootPackageValidator.validatePre(ODFRootPackageValidator.java:93)
at org.odftoolkit.odfvalidator.ODFPackageValidator._validate(ODFPackageValidator.java:111)
at org.odftoolkit.odfvalidator.ODFPackageValidator.validate(ODFPackageValidator.java:81)
at org.odftoolkit.odfvalidator.ODFValidator.validateFile(ODFValidator.java:163)
at org.odftoolkit.odfvalidator.ODFValidator.validate(ODFValidator.java:125)
at org.odftoolkit.odfvalidator.Main.main(Main.java:314)
/src/libreoffice-6.2.4.2/test/source/bootstrapfixture.cxx:199:SdImportTest::testDocumentLayout
equality assertion failed
- Expected: 0
- Actual : 256
- failed to execute: sh /src/libreoffice-6.2.4.2/build/bin/odfvalidator.sh -M /src/libreoffice-
6.2.4.2/schema/libreoffice/OpenDocument-manifest-schema-v1.3+libreoffice.rng -D /src/libreoffice-
6.2.4.2/schema/libreoffice/OpenDocument-dsig-schema-v1.3+libreoffice.rng -O /src/libreoffice-
6.2.4.2/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng -m /src/libreoffice-
6.2.4.2/schema/mathml2/mathml2.xsd /tmp/lu11541n8eoco.tmp > /tmp/lu11541n8eoct.tmp
SdImportTest::testDocumentLayout finished in: 18514ms
SdImportTest::testSmoketest finished in: 53ms
SdImportTest::testN759180 finished in: 82ms
SdImportTest::testN778859 finished in: 71ms
SdImportTest::testMasterPageStyleParent finished in: 155ms
SdImportTest::testGradientAngle finished in: 68ms
SdImportTest::testTdf97808 finished in: 55ms
SdImportTest::testFdo64512 finished in: 121ms
SdImportTest::testFdo71075 finished in: 179ms
SdImportTest::testN828390_2 finished in: 69ms
SdImportTest::testN828390_3 finished in: 69ms
SdImportTest::testFdo68594 finished in: 37ms
SdImportTest::testFdo72998 finished in: 272ms
SdImportTest::testFdo77027 finished in: 124ms
SdImportTest::testStrictOOXML finished in: 92ms
SdImportTest::testN862510_1 finished in: 70ms
SdImportTest::testN862510_2 finished in: 81ms
SdImportTest::testN862510_4 finished in: 82ms
SdImportTest::testBnc870237 finished in: 82ms
SdImportTest::testBnc887225 finished in: 134ms
SdImportTest::testBnc591147 finished in: 74ms
SdImportTest::testCreationDate finished in: 128ms
SdImportTest::testBnc584721_1 finished in: 57ms
SdImportTest::testBnc584721_2 finished in: 59ms
SdImportTest::testBnc584721_4 finished in: 82ms
SdImportTest::testBnc904423 finished in: 83ms
SdImportTest::testShapeLineStyle finished in: 87ms
SdImportTest::testTableBorderLineStyle finished in: 111ms
SdImportTest::testBnc862510_6 finished in: 76ms
SdImportTest::testBnc862510_7 finished in: 200ms
SdImportTest::testBulletSuffix finished in: 92ms
SdImportTest::testBnc910045 finished in: 83ms
SdImportTest::testRowHeight finished in: 170ms
SdImportTest::testTdf93830 finished in: 119ms
SdImportTest::testTdf93097 finished in: 75ms
SdImportTest::testTdf62255 finished in: 85ms
SdImportTest::testTdf93124 finished in: 75ms
SdImportTest::testTdf99729 finished in: 594ms
SdImportTest::testTdf89927 finished in: 219ms
SdImportTest::testTdf93868 finished in: 139ms
SdImportTest::testTdf95932 finished in: 149ms
SdImportTest::testTdf99030 finished in: 136ms
SdImportTest::testTdf49561 finished in: 77ms
SdImportTest::testTdf103473 finished in: 65ms
SdImportTest::testAoo124143 finished in: 63ms
SdImportTest::testTdf103567 finished in: 161ms
SdImportTest::testTdf103792 finished in: 91ms
SdImportTest::testTdf103876 finished in: 70ms
SdImportTest::testTdf104015 finished in: 90ms
SdImportTest::testTdf104201 finished in: 90ms
SdImportTest::testTdf103477 finished in: 115ms
SdImportTest::testTdf104445 finished in: 76ms
SdImportTest::testTdf105150 finished in: 73ms
SdImportTest::testTdf105150PPT finished in: 39ms
SdImportTest::testTdf123684 finished in: 138ms
SdImportTest::testTdf100926 finished in: 124ms
SdImportTest::testPatternImport finished in: 78ms
SdImportTest::testTdf89064 finished in: 60ms
SdImportTest::testTdf108925 finished in: 128ms
SdImportTest::testTdf109067 finished in: 56ms
SdImportTest::testTdf109187 finished in: 95ms
SdImportTest::testTdf108926 finished in: 46ms
SdImportTest::testTdf100065 finished in: 71ms
SdImportTest::testTdf90626 finished in: 61ms
SdImportTest::testTdf114488 finished in: 77ms
SdImportTest::testTdf114913 finished in: 82ms
SdImportTest::testTdf114821 finished in: 175ms
SdImportTest::testTdf115394 finished in: 90ms
SdImportTest::testTdf115394PPT finished in: 44ms
SdImportTest::testTdf51340 finished in: 88ms
SdImportTest::testTdf116899 finished in: 43ms
SdImportTest::testTdf77747 finished in: 51ms
SdImportTest::testTdf116266 finished in: 258ms
SdImportTest::testPptCrop finished in: 122ms
SdImportTest::testTdf119015 finished in: 67ms
SdImportTest::testTdf123090 finished in: 77ms
SdImportTest::testTdf120028 finished in: 88ms
SdImportTest::testTdf120028b finished in: 60ms
bootstrapfixture.cxx:199:Assertion
Test name: SdImportTest::testDocumentLayout
equality assertion failed
- Expected: 0
- Actual : 256
- failed to execute: sh /src/libreoffice-6.2.4.2/build/bin/odfvalidator.sh -M /src/libreoffice-
6.2.4.2/schema/libreoffice/OpenDocument-manifest-schema-v1.3+libreoffice.rng -D /src/libreoffice-
6.2.4.2/schema/libreoffice/OpenDocument-dsig-schema-v1.3+libreoffice.rng -O /src/libreoffice-
6.2.4.2/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng -m /src/libreoffice-
6.2.4.2/schema/mathml2/mathml2.xsd /tmp/lu11541n8eoco.tmp > /tmp/lu11541n8eoct.tmp
Failures !!!
Run: 78 Failure total: 1 Failures: 1 Errors: 0
Error: a unit test failed, please do one of:
make CppunitTest_sd_import_tests CPPUNITTRACE="gdb --args"
# for interactive debugging on Linux
make CppunitTest_sd_import_tests VALGRIND=memcheck
# for memory checking
make CppunitTest_sd_import_tests DEBUGCPPUNIT=TRUE
# for exception catching
You can limit the execution to just one particular test by:
make CPPUNIT_TEST_NAME="testXYZ" ...above mentioned params...
make[1]: *** [/src/libreoffice-6.2.4.2/solenv/gbuild/CppunitTest.mk:120: /src/libreoffice-
6.2.4.2/build/workdir/CppunitTest/sd_import_tests.test] Error 1
make: *** [Makefile:286: build] Error 2
What do you propose me to do?
Regards
Дилян
Context
- NullPointerException in org.odftoolkit.odfvalidator.ODFValidator.getValidatorForSchema · Дилян Палаузов
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.