#668473 java error when registering libreoffice-writer2xhtml

#668473#5
Date:
2012-04-12 04:36:07 UTC
From:
To:
While installing the package in aptitude, I get the following message:

Setting up openclipart-svg (2.0-2) ...
Processing triggers for menu ...
Processing triggers for libreoffice-common ...
Synchronizing repository for bundled extensions



 Enabling: Writer2xhtml export filters
  Enabling: writer2xhtml.rdb
  Enabling: W2XDialogs
  Enabling: Options.xcs
  Enabling: writer2xhtml-filter.jar

ERROR: (com.sun.star.uno.RuntimeException) { { Message = "javaloader
error - no mapping from java to C++ ", Context =
(com.sun.star.uno.XInterface) @0 } }
  rollback...
   Disabling: Options.xcs
   Disabling: W2XDialogs
   Disabling: writer2xhtml.rdb
   rollback finished.

unopkg done.
Press return to continue.

#668473#10
Date:
2012-04-12 07:21:09 UTC
From:
To:
[ I am not the openclipart maintainer, but... ]

Obviously not, it doesn't break the whole system.

But not openclipart-svg alone. The log shows this:
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

openclipart-svg doesn't contain anything which triggers this trigger.
So whatever you upgrade in the same dist-upgrade does, but not openclipart.

Let's look further.
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^

Here it registers lireoffice-writer2xhtml.

And this looks like your Java environment of your URE is broken somehow.
So the registration fails.

Again, what is your upgrade? What is upgraded? Full log.

More care in bug reports, please.

Regards,

Rene

#668473#15
Date:
2012-04-12 07:57:25 UTC
From:
To:
Hi,

But as you obviously didn't put any of the important info reportbg
would have put there (distrto uses, versions of dependencies) here it
will just be guesswork.

What I assume right now is that you use wheezy with sid in sources.list.

openclipart-libreoffice (I assume that if you installed openclipart-svg
you might also have installed that one) 2.0-2 is for LO 3.5 and isn't
co-installable with 3.4 (but is already in testing because the testing
scripts let that do...), so conflicts against libreoffice-common 3.4 and apt
tries to upgrade -common alone. Which isn't bad per se if there wasn't a
path change and incompatibilities. -common can't depends on a newer -core,
though.

-> boom. The stuff unopkg needs doesn't work anymore.

But that needs to be verified with information *from yopu* of course.

Regards,

Rene

#668473#20
Date:
2012-04-12 08:08:27 UTC
From:
To:
severity 668473 serious
tag 668473 + moreinfo
reassign 668473 libreoffice-writer2xhtml
thanks

Hi,

And before you ask, no it does work in general:

Entpacken von libreoffice-writer2xhtml (aus .../libreoffice-writer2xhtml_1.0.2-7_all.deb) ...
Trigger für libreoffice-common werden verarbeitet ...
Synchronizing repository for bundled extensions



 Enabling: Writer2xhtml export filters
  Enabling: writer2xhtml.rdb
  Enabling: W2XDialogs
  Enabling: Options.xcs
  Enabling: writer2xhtml-filter.jar
  Enabling: w2x_types.xcu
  Enabling: w2x_filters.xcu
  Enabling: Options.xcu

unopkg done.
Schreiben des Protokolls nicht möglich, openpty() fehlgeschlagen (/dev/pts nicht eingebunden?)
libreoffice-writer2xhtml (1.0.2-7) wird eingerichtet ...

(That's of course with a consistent 3.5.x in sid)

So it's not a libreoffice-writer2xhtml bug either (it might be able
to be *workarounded* there, though)... I am reassigning this anyway,
as it's so obviously not a openclipart-svg bug that it's totally wrong
leaving it here...

Regards,

Rene

#668473#33
Date:
2012-04-12 11:28:12 UTC
From:
To:
Dear Rene, thank you a lot, I'm understanding what you are saying. I'm
expecting to get access to the machine where the culprit lives in a
couple of days - I'll report here once again with more information. For
now: I've been upgrading to the current libreoffice in testing (Version
1:3.4.6-2).

Best regards,

Jaakov

#668473#38
Date:
2012-04-12 11:38:03 UTC
From:
To:
Hi,

Which is unsupported. And can't (at least not without a hughe overhead)
fixed anymore given unstable is already as the (suppported) 3.5.x-

Regards,

Rene

#668473#43
Date:
2012-04-12 11:59:37 UTC
From:
To:
overhead)

In this case, will my data on the previous version still be useful for
you or would you like to wait a bit more until I try out 3.5.x?

#668473#48
Date:
2012-04-12 14:21:39 UTC
From:
To:
Dear Maintainer(s), dear Rene:

I've got access to the relevant system earlier than expected. Here is
the reportbug report. As soon as libreoffice 3.5.x enters testing, I'll
try it out and report here.

Thank you,

Jaakov.

* What led up to the situation? Update of libreoffice.
* What exactly did you do (or not do) that was effective (or
ineffective)? Running aptitude, selecting a bunch of upgradable packages
(what exactly can be seen below), asking to upgrade them.
* What was the outcome of this action? In the console, errors during
installation are observed (see the relevant portion of the attached file
/var/log/apt/term.log).
* What outcome did you expect instead? No errors during installation.

*** Downloads/term.log
Log started: 2012-04-11  23:39:37
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 233492 files and directories currently installed.)
Preparing to replace dpkg 1.16.1.2 (using
.../archives/dpkg_1.16.2_i386.deb) ...
Unpacking replacement dpkg ...
Processing triggers for man-db ...
Setting up install-info (4.13a.dfsg.1-9) ...
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 233268 files and directories currently installed.)
Preparing to replace info 4.13a.dfsg.1-8 (using
.../info_4.13a.dfsg.1-9_i386.deb) ...
Unpacking replacement info ...
Preparing to replace man-db 2.6.1-1 (using .../man-db_2.6.1-2_i386.deb)
...
Unpacking replacement man-db ...
Preparing to replace acpid 1:2.0.15-2 (using
.../acpid_1%3a2.0.16-1_i386.deb) ...
Stopping ACPI services....
Unpacking replacement acpid ...
Preparing to replace libreoffice-emailmerge 1:3.4.5-5 (using
.../libreoffice-emailmerge_1%3a3.4.6-2_all.deb) ...
Unpacking replacement libreoffice-emailmerge ...
Preparing to replace libreoffice-filter-mobiledev 1:3.4.5-5 (using
.../libreoffice-filter-mobiledev_1%3a3.4.6-2_all.deb) ...
Unpacking replacement libreoffice-filter-mobiledev ...
Preparing to replace libreoffice-help-en-us 1:3.4.5-5 (using
.../libreoffice-help-en-us_1%3a3.4.6-2_all.deb) ...
Unpacking replacement libreoffice-help-en-us ...
Preparing to replace libreoffice-l10n-de 1:3.4.5-5 (using
.../libreoffice-l10n-de_1%3a3.4.6-2_all.deb) ...
Unpacking replacement libreoffice-l10n-de ...
Preparing to replace libreoffice-l10n-en-gb 1:3.4.5-5 (using
.../libreoffice-l10n-en-gb_1%3a3.4.6-2_all.deb) ...
Unpacking replacement libreoffice-l10n-en-gb ...
Preparing to replace libreoffice-l10n-es 1:3.4.5-5 (using
.../libreoffice-l10n-es_1%3a3.4.6-2_all.deb) ...
Unpacking replacement libreoffice-l10n-es ...
Preparing to replace libreoffice-l10n-fr 1:3.4.5-5 (using
.../libreoffice-l10n-fr_1%3a3.4.6-2_all.deb) ...
Unpacking replacement libreoffice-l10n-fr ...
Preparing to replace libreoffice-l10n-ru 1:3.4.5-5 (using
.../libreoffice-l10n-ru_1%3a3.4.6-2_all.deb) ...
Unpacking replacement libreoffice-l10n-ru ...
Preparing to replace libreoffice-l10n-uk 1:3.4.5-5 (using
.../libreoffice-l10n-uk_1%3a3.4.6-2_all.deb) ...
Unpacking replacement libreoffice-l10n-uk ...
Preparing to replace libreoffice-presentation-minimizer
1.0.3+LibO3.4.5-5 (using
.../libreoffice-presentation-minimizer_1.0.3+LibO3.4.6-2_i386.deb) ...
Synchronizing repository for bundled extensions



 Enabling: Writer2xhtml export filters
  Enabling: writer2xhtml.rdb
  Enabling: W2XDialogs
  Enabling: Options.xcs
  Enabling: writer2xhtml-filter.jar

ERROR: (com.sun.star.uno.RuntimeException) { { Message = "javaloader
error - no mapping from java to C++ ", Context =
(com.sun.star.uno.XInterface) @0 } }
  rollback...
   Disabling: Options.xcs
   Disabling: W2XDialogs
   Disabling: writer2xhtml.rdb
   rollback finished.

unopkg done.
Unpacking replacement libreoffice-presentation-minimizer ...
Preparing to replace libreoffice-presenter-console 1.1.0+LibO3.4.5-5
(using .../libreoffice-presenter-console_1.1.0+LibO3.4.6-2_i386.deb) ...
Synchronizing repository for bundled extensions



 Enabling: Writer2xhtml export filters
  Enabling: writer2xhtml.rdb
  Enabling: W2XDialogs
  Enabling: Options.xcs
  Enabling: writer2xhtml-filter.jar

ERROR: (com.sun.star.uno.RuntimeException) { { Message = "javaloader
error - no mapping from java to C++ ", Context =
(com.sun.star.uno.XInterface) @0 } }
  rollback...
   Disabling: Options.xcs
   Disabling: W2XDialogs
   Disabling: writer2xhtml.rdb
   rollback finished.

unopkg done.
Unpacking replacement libreoffice-presenter-console ...
Preparing to replace libreoffice-report-builder-bin 1:3.4.5-5 (using
.../libreoffice-report-builder-bin_1%3a3.4.6-2_i386.deb) ...
Unpacking replacement libreoffice-report-builder-bin ...
Preparing to replace libreoffice-style-galaxy 1:3.4.5-5 (using
.../libreoffice-style-galaxy_1%3a3.4.6-2_all.deb) ...
Unpacking replacement libreoffice-style-galaxy ...
Preparing to replace libreoffice-style-tango 1:3.4.5-5 (using
.../libreoffice-style-tango_1%3a3.4.6-2_all.deb) ...
Unpacking replacement libreoffice-style-tango ...
Preparing to replace libzvbi-common 0.2.33-4 (using
.../libzvbi-common_0.2.33-5_all.deb) ...
Unpacking replacement libzvbi-common ...
Preparing to replace linux-doc-3.2 3.2.9-1 (using
.../linux-doc-3.2_3.2.12-1_all.deb) ...
Unpacking replacement linux-doc-3.2 ...
Preparing to replace linux-libc-dev:i386 3.2.9-1 (using
.../linux-libc-dev_3.2.12-1_i386.deb) ...
Unpacking replacement linux-libc-dev:i386 ...
Preparing to replace libreoffice-pdfimport 1.0.5+LibO3.4.5-5 (using
.../libreoffice-pdfimport_1.0.5+LibO3.4.6-2_i386.deb) ...
Synchronizing repository for bundled extensions



 Enabling: Writer2xhtml export filters
  Enabling: writer2xhtml.rdb
  Enabling: W2XDialogs
  Enabling: Options.xcs
  Enabling: writer2xhtml-filter.jar

ERROR: (com.sun.star.uno.RuntimeException) { { Message = "javaloader
error - no mapping from java to C++ ", Context =
(com.sun.star.uno.XInterface) @0 } }
  rollback...
   Disabling: Options.xcs
   Disabling: W2XDialogs
   Disabling: writer2xhtml.rdb
   rollback finished.

unopkg done.
Unpacking replacement libreoffice-pdfimport ...
Preparing to replace openclipart-svg 0.18+dfsg-12 (using
.../openclipart-svg_2.0-2_all.deb) ...
Unpacking replacement openclipart-svg ...
Processing triggers for menu ...
Processing triggers for doc-base ...
Processing 1 changed doc-base file...
Registering documents with scrollkeeper...
Processing triggers for gnome-menus ...
Processing triggers for desktop-file-utils ...
Processing triggers for libreoffice-common ...
Synchronizing repository for bundled extensions



 Enabling: Writer2xhtml export filters
  Enabling: writer2xhtml.rdb
  Enabling: W2XDialogs
  Enabling: Options.xcs
  Enabling: writer2xhtml-filter.jar

ERROR: (com.sun.star.uno.RuntimeException) { { Message = "javaloader
error - no mapping from java to C++ ", Context =
(com.sun.star.uno.XInterface) @0 } }
  rollback...
   Disabling: Options.xcs
   Disabling: W2XDialogs
   Disabling: writer2xhtml.rdb
   rollback finished.

unopkg done.
Setting up info (4.13a.dfsg.1-9) ...
Setting up man-db (2.6.1-2) ...
Updating database of manual pages ...
Setting up acpid (1:2.0.16-1) ...
Starting ACPI services....
Setting up libreoffice-emailmerge (1:3.4.6-2) ...
Setting up libreoffice-filter-mobiledev (1:3.4.6-2) ...
Setting up libreoffice-help-en-us (1:3.4.6-2) ...
Setting up libreoffice-l10n-de (1:3.4.6-2) ...
Setting up libreoffice-l10n-en-gb (1:3.4.6-2) ...
Setting up libreoffice-l10n-es (1:3.4.6-2) ...
Setting up libreoffice-l10n-fr (1:3.4.6-2) ...
Setting up libreoffice-l10n-ru (1:3.4.6-2) ...
Setting up libreoffice-l10n-uk (1:3.4.6-2) ...
Setting up libreoffice-presentation-minimizer (1.0.3+LibO3.4.6-2) ...
Setting up libreoffice-presenter-console (1.1.0+LibO3.4.6-2) ...
Setting up libreoffice-report-builder-bin (1:3.4.6-2) ...
Setting up libreoffice-style-galaxy (1:3.4.6-2) ...
Setting up libreoffice-style-tango (1:3.4.6-2) ...
Setting up libzvbi-common (0.2.33-5) ...
Setting up linux-doc-3.2 (3.2.12-1) ...
Setting up linux-libc-dev:i386 (3.2.12-1) ...
Setting up libreoffice-pdfimport (1.0.5+LibO3.4.6-2) ...
Setting up openclipart-svg (2.0-2) ...
Processing triggers for menu ...
Processing triggers for libreoffice-common ...
Synchronizing repository for bundled extensions



 Enabling: Writer2xhtml export filters
  Enabling: writer2xhtml.rdb
  Enabling: W2XDialogs
  Enabling: Options.xcs
  Enabling: writer2xhtml-filter.jar

ERROR: (com.sun.star.uno.RuntimeException) { { Message = "javaloader
error - no mapping from java to C++ ", Context =
(com.sun.star.uno.XInterface) @0 } }
  rollback...
   Disabling: Options.xcs
   Disabling: W2XDialogs
   Disabling: writer2xhtml.rdb
   rollback finished.

unopkg done.
Log ended: 2012-04-12  06:23:30

#668473#53
Date:
2012-04-12 15:00:42 UTC
From:
To:
[...]

No, it didn't. This is a upgrade of ...

... "a bunch of upgradable packages". I actually don't believe that
you installed *all* upgradable packages (or you had a interesting
mix before so that -common etc are not needed to be upgaded.
So it doesn't even make sense to try and debootstrap a snapshot
and try a upgrade (and fwiw, 3.4.6-2 is in testing since
2 weeks...)

I am actually not sure this is *ever* reproducable unless we know
the exact state before.

And gcj is unreliable... See e.g. http://bugs.debian.org/470397.
It might just also be that writer2latex doesn't work with gcj.

Regards,

Rene

#668473#58
Date:
2012-09-15 16:48:08 UTC
From:
To:
retitle 668473 java error when registering libreoffice-writer2xhtml
tag 668473 +unreproducible
thanks


Dear Rene,

I've been reading through this bug during the Berlin BSP, and I wonder
if the RC severity (lowered from 'critical' to 'serious' by you, but still
RC) is actually justified or should be lowered to e.g. 'normal',
comparable to #470397 (writer2latex: w2l fails with gij when no absolute
path specified).

According to your analysis, upgrades work fine in the general case, and
this particular problem - if reproducible at all - may be related to
either old versions of the package, a funny combination of packages on a
partly upgraded system, or issues with gcj as the java5-runtime.

I tried to see if I can reproduce the problem when using gcj-jre as
the java5-runtime, but failed to encounter any issue.

In sum, I don't think this is a bug that merits blocking the release.

Florian

#668473#67
Date:
2012-09-30 12:35:29 UTC
From:
To:
When installing openclipart2 version 2.0-2 with parts -libreoffice, -png, and -svg, the behaviour does not occur.
#668473#72
Date:
2012-09-30 12:44:45 UTC
From:
To:
While uninstalling and installing libreoffice-writer2xhtml version 1.0.2-8 on amd64, the erroneous behaviour does not occur. However, the default-jre (1:1.6-47) for that architecture is openjdk-6-jre (6b24-1.11.4-3). Alas, I cannot test other JREs now.
#668473#77
Date:
2012-09-30 12:58:55 UTC
From:
To:
Yeah, you need to install gcj-jdk and select gcj in the options. default-jdk is openjdk (almost)
everywhere, but people who have gcj-jdk from older versions might still use gcj-jdk....

But as Florian said in the comment before yours, this is (and actually never was) reproducible,
so..

Regards

Rene

#668473#82
Date:
2012-11-24 15:13:57 UTC
From:
To:
thanks

Hello Rene,

just like Florian in Berlin I read through this thread here at BSP Essen.
If at all, this is a normal bug.

Maybe your remark:

should be added to the release info.

Regards,

Wolfgang