Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 291835 - app-office/openoffice: ooBase (openoffice base) form wizard fails with error
Summary: app-office/openoffice: ooBase (openoffice base) form wizard fails with error
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-04 12:50 UTC by Enrique Domínguez
Modified: 2011-03-16 11:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enrique Domínguez 2009-11-04 12:50:57 UTC
Making form in oobase via wizard fails with this error:
com.sun.star.ucb.InteractiveAugmentedIOException: Operation not supported
	at com.sun.star.bridges.jni_uno.JNI_proxy.dispatch_call(Native Method)
	at com.sun.star.bridges.jni_uno.JNI_proxy.invoke(JNI_proxy.java:178)
	at $Proxy4.createInstanceWithArguments(Unknown Source)
	at com.sun.star.wizards.db.DBMetaData.addDatabaseDocument(DBMetaData.java:899)
	at com.sun.star.wizards.db.DBMetaData.addFormDocument(DBMetaData.java:855)
	at com.sun.star.wizards.form.FormWizard.startFormWizard(FormWizard.java:335)
	at com.sun.star.wizards.form.CallFormWizard$FormWizardImplementation.trigger(CallFormWizard.java:112)


Reproducible: Always

Steps to Reproduce:
1.Open oobase an load a database (a table is needed) with HSQL database engine 
2.OPen form and select form wizard
3.Select a table a a few fields, no subform. Follow steps one by one until finish
4.Form will not to be built and an error is reported on console 

Actual Results:  
Error reported on conole and form lost

Expected Results:  
form is build without errors

$ emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.1, glibc-2.9_p20081201-r2, 2.6.25-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.25-gentoo-r7-i686-Intel-R-_Pentium-R-_4_CPU_2.66GHz-with-gentoo-1.12.11.1
Timestamp of tree: Thu, 08 Oct 2009 02:15:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -mmmx -msse -msse2 -m32"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/share/config /var/lib/hsqldb /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -mmmx -msse -msse2 -m32"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--load-average=4 -j"
FEATURES="ccache collision-protect distcc distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo "
LANG="en_US.ISO-8859-1"
LC_ALL="en_US.ISO-8859-1"
LDFLAGS="-Wl,-O1"
LINGUAS="en es es_ES"
MAKEOPTS="-j11"
PKGDIR="/usr/local/portage/binpackages"
PORTAGE_COMPRESS="lzma"
PORTAGE_COMPRESS_FLAGS="-9"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acpi alsa apic berkdb cli cracklib cups custom-cflags custom-optimization dbus doc gdbm gnome gpm gtk hal iconv isdnlog mmx mmxext modules mudflap ncurses nls nptl nptlonly nvidia opengl openmp pcre perl pppd python readline reflection session spl sse sse2 ssl sysfs tcpd threads unicode x86 xorg xvmc zlib" ALSA_CARDS="ens1371" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en es es_ES" SANE_BACKENDS="epson" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Patrick Lauer gentoo-dev 2009-11-15 09:08:31 UTC
What version of Openoffice is this happening with?
Comment 2 Enrique Domínguez 2009-11-15 12:46:25 UTC
(In reply to comment #1)
> What version of Openoffice is this happening with?
> 
Thanks for your answer, it's 3.1.1 version. Please, could you told me if next future I could drop java useflag and openoffice wizards will work? I prefer don't wastting space in my system with HSQLDB and Java.
Thanks a lot.
Comment 3 Andreas Proschofsky (RETIRED) gentoo-dev 2009-11-25 10:07:28 UTC
I find this quite difficult to reproduce, so: Does this only happen with hsql databases or also other types?

Also: Why do you want to use it, if you don't want to have it on your system, I don't quite get that part.

About running without java: Some wizards will work, some not, see:

http://wiki.services.openoffice.org/wiki/Java_and_OpenOffice.org

for more information. The java-based hsqldb obviously won't work ;-)



Comment 4 Andreas Proschofsky (RETIRED) gentoo-dev 2009-11-25 10:08:10 UTC
Could you please also provide the ooo-build-version that is listed in the about-dialog?
Comment 5 Enrique Domínguez 2009-11-25 11:57:29 UTC
>I find this quite difficult to reproduce, so: Does this only happen with hsql
databases or also other types?
Over postgresql fail with this output:
(soffice:7174): Gtk-WARNING **: Unable to find default local directory monitor type

(soffice:7174): Gtk-WARNING **: Unable to find default local directory monitor type
java.lang.ArrayIndexOutOfBoundsException: 1
	at com.sun.star.wizards.db.CommandName.setComposedCommandName(CommandName.java:123)
	at com.sun.star.wizards.db.CommandName.<init>(CommandName.java:54)
	at com.sun.star.wizards.db.RelationController.<init>(RelationController.java:70)
	at com.sun.star.wizards.form.FormWizard.enterStep(FormWizard.java:116)
	at com.sun.star.wizards.ui.WizardDialog.switchToStep(WizardDialog.java:359)
	at com.sun.star.wizards.ui.WizardDialog.gotoNextAvailableStep(WizardDialog.java:642)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at com.sun.star.wizards.ui.event.MethodInvocation.invoke(MethodInvocation.java:99)
	at com.sun.star.wizards.ui.event.AbstractListener.invoke(AbstractListener.java:92)
	at com.sun.star.wizards.ui.event.CommonListener.actionPerformed(CommonListener.java:52)
	at com.sun.star.bridges.jni_uno.JNI_proxy.dispatch_call(Native Method)
	at com.sun.star.bridges.jni_uno.JNI_proxy.invoke(JNI_proxy.java:178)
	at $Proxy77.execute(Unknown Source)
	at com.sun.star.wizards.ui.UnoDialog.executeDialog(UnoDialog.java:733)
	at com.sun.star.wizards.ui.UnoDialog.executeDialog(UnoDialog.java:774)
	at com.sun.star.wizards.form.FormWizard.startFormWizard(FormWizard.java:331)
	at com.sun.star.wizards.form.CallFormWizard$FormWizardImplementation.trigger(CallFormWizard.java:112)
com.sun.star.ucb.InteractiveAugmentedIOException: Operation not supported
	at com.sun.star.bridges.jni_uno.JNI_proxy.dispatch_call(Native Method)
	at com.sun.star.bridges.jni_uno.JNI_proxy.invoke(JNI_proxy.java:178)
	at $Proxy4.createInstanceWithArguments(Unknown Source)
	at com.sun.star.wizards.db.DBMetaData.addDatabaseDocument(DBMetaData.java:899)
	at com.sun.star.wizards.db.DBMetaData.addFormDocument(DBMetaData.java:855)
	at com.sun.star.wizards.form.FormWizard.startFormWizard(FormWizard.java:335)
	at com.sun.star.wizards.form.CallFormWizard$FormWizardImplementation.trigger(CallFormWizard.java:112)

>Also: Why do you want to use it, if you don't want to have it on your system, I
don't quite get that part.
I'm doing a course of oobase which require java (for wizards) I found a couple of things didn't working as expected.

>Could you please also provide the ooo-build-version that is listed in the
about-dialog?
Sure,
OpenOffice.org 3.1.1
OOO310m19 (Build:9420)
...blah blah...
Build 3.1.1.2
Comment 6 Andreas Proschofsky (RETIRED) gentoo-dev 2009-11-25 12:07:45 UTC
Further questions:

*) Which jvm are you using? Is it set in the preferences?

*) Did you try with openoffice-bin?

You also could try to rebuild OOo 3.1.1 (to get the latest used ooo-build which is 3.1.1.4) though I don't see related fixes from a quick glance at the ChangeLog :-/
Comment 7 Enrique Domínguez 2009-11-27 13:23:14 UTC
>*) Which jvm are you using? Is it set in the preferences?
Yes it's set in preferences and version is dev-java/sun-jdk-1.6.0.17 (currenly)

>*) Did you try with openoffice-bin?
I didn't try Ooo-bin, I'm using (pacefully) ooBase on knoppix; only for a while! :)

>You also could try to rebuild OOo 3.1.1
I'm thinking on rebuild world because I'm using my system time ago and having trouble with another packages not correctly merged (no idea about why :?)
Please this is packages I merged for OOo with useflags, could you told me if you see any missing useflags or incorrect build order?
*) First time I build OOo (without java):
[ebuild     U ] perl-core/Compress-Raw-Zlib-2.020 [2.015] USE="-test" 208 kB
[ebuild  N    ] perl-core/Compress-Raw-Bzip2-2.020  USE="-test" 142 kB
[ebuild     U ] virtual/perl-Compress-Raw-Zlib-2.020 [2.015] 0 kB
[ebuild  N    ] virtual/perl-Compress-Raw-Bzip2-2.020  0 kB
[ebuild  N    ] perl-core/IO-Compress-2.020  200 kB
[ebuild  N    ] virtual/perl-IO-Compress-2.020  0 kB
[ebuild   R   ] app-office/openoffice-3.0.0  USE="cups dbus eds gnome gstreamer* mono odk opengl templates* -binfilter -debug -gtk -java -kde -ldap -nsplugin -pam"

*) Next time I add java to OOo and java6 to dev-db/hsqldb and upgrade:
[ebuild  N    ] dev-java/java-config-wrapper-0.16  8 kB
[ebuild  N    ] dev-python/pyxml-0.8.4-r2  USE="-doc -examples" 718 kB
[ebuild  N    ] dev-java/java-config-2.1.8-r1  56 kB
[ebuild  N    ] dev-java/javatoolkit-0.3.0-r3  17 kB
[ebuild  N    ] dev-java/sun-jdk-1.6.0.15  USE="alsa -X -derby -doc -examples -jce -nsplugin -odbc" 79,903 kB
[ebuild  N    ] virtual/jdk-1.6.0  0 kB
[ebuild  N    ] dev-java/ant-core-1.7.1-r4  USE="-doc -source" 6,828 kB
[ebuild  N    ] virtual/jre-1.6.0  0 kB
[ebuild  N    ] dev-java/rhino-1.5.5-r4  USE="-doc -source" 1,506 kB
[ebuild  N    ] dev-java/lucene-analyzers-2.3.2  USE="-source" 4,495 kB
[ebuild  N    ] dev-java/servletapi-2.4-r5  USE="-doc -source" 4,684 kB
[ebuild  N    ] dev-java/libreadline-java-0.8.0-r2  USE="-doc -source" 76 kB
[ebuild  N    ] dev-java/tomcat-servlet-api-4.1.36  USE="-doc -source" 3,629 kB
[ebuild  N    ] dev-java/ant-nodeps-1.7.1  0 kB
[ebuild  N    ] dev-java/junit-3.8.2-r1  USE="-doc -source" 451 kB
[ebuild  N    ] dev-java/bsh-2.0_beta4-r3  USE="readline -bsf -doc -source" 1,628 kB
[ebuild  N    ] java-virtuals/servlet-api-2.3  0 kB
[ebuild  N    ] dev-java/javacc-4.0-r4  USE="-doc -examples -source -test" 748 kB
[ebuild  N    ] dev-java/lucene-2.3.2  USE="-doc -source -test" 0 kB
[ebuild  N    ] dev-db/hsqldb-1.8.0.10  USE="-doc java6 -source -test" 3,437 kB
[ebuild     U ] app-office/openoffice-3.1.1 [3.0.0] USE="cups dbus eds gnome gstreamer java* mono odk opengl templates (-aqua) -bash-completion% -binfilter -debug -gtk (-kde) -ldap -nsplugin -pam"

I have upgraded that packages few days ago but no success :(
Thanks a lot for your support.
Comment 8 Enrique Domínguez 2009-11-28 00:39:12 UTC
>You also could try to rebuild OOo 3.1.1 (to get the latest used ooo-build which
is 3.1.1.4) though I don't see related fixes from a quick glance at the
ChangeLog :-/

I have rebuilt 3.1.1.4 version with: emerge -evaDN openoffice without sucess. Wizard refuses to work :(
No idea why knoppix version (older) work and newer won't :S
Please, anybody was able to reproduce reported wizard behavior?
Thanks for replies.
Comment 9 Enrique Domínguez 2010-04-27 17:19:39 UTC
I finally switch to bin (happily)
Thanks all
Comment 10 Andreas Proschofsky (RETIRED) gentoo-dev 2011-03-16 11:06:39 UTC
Not really possible to reproduce anymore and as we plan to move people over to libreoffice anyway... closing.