Bug 170417 - Base create table Wizard
Summary: Base create table Wizard
Status: RESOLVED DUPLICATE of bug 167799
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
25.2.1.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-21 12:38 UTC by prrvchr
Modified: 2026-01-22 21:56 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description prrvchr 2026-01-21 12:38:51 UTC
Description:
I don't really use the LibreOffice Base Wizard to create new tables, but rather the design mode.

On the other hand, if I use the Wizard I have all these messages in the console:

prrvchr@Asus-E510:~$ libreoffice25.2
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.star.lib.util.NativeLibraryLoader in an unnamed module (file:/opt/libreoffice25.2/program/classes/libreoffice.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

Jan 21, 2026 1:23:28 PM com.sun.star.wizards.db.DBMetaData supportsPrimaryKeys
SEVERE: null
java.lang.ClassCastException: class java.lang.Boolean cannot be cast to class com.sun.star.uno.Any (java.lang.Boolean is in module java.base of loader 'bootstrap'; com.sun.star.uno.Any is in unnamed module of loader com.sun.star.lib.unoloader.UnoClassLoader @30f39991)
        at com.sun.star.wizards.db.DBMetaData.supportsPrimaryKeys(DBMetaData.java:722)
        at com.sun.star.wizards.table.TableWizard.buildSteps(TableWizard.java:225)
        at com.sun.star.wizards.table.TableWizard.startTableWizard(TableWizard.java:346)
        at com.sun.star.wizards.table.CallTableWizard$TableWizardImplementation.trigger(CallTableWizard.java:80)

Jan 21, 2026 1:23:28 PM com.sun.star.wizards.db.DBMetaData supportsPrimaryKeys
SEVERE: null
java.lang.ClassCastException: class java.lang.Boolean cannot be cast to class com.sun.star.uno.Any (java.lang.Boolean is in module java.base of loader 'bootstrap'; com.sun.star.uno.Any is in unnamed module of loader com.sun.star.lib.unoloader.UnoClassLoader @30f39991)
        at com.sun.star.wizards.db.DBMetaData.supportsPrimaryKeys(DBMetaData.java:722)
        at com.sun.star.wizards.table.TableWizard.insertFormRelatedSteps(TableWizard.java:329)
        at com.sun.star.wizards.table.TableWizard.startTableWizard(TableWizard.java:349)
        at com.sun.star.wizards.table.CallTableWizard$TableWizardImplementation.trigger(CallTableWizard.java:80)

Jan 21, 2026 1:24:31 PM com.sun.star.wizards.db.DBMetaData supportsPrimaryKeys
SEVERE: null
java.lang.ClassCastException: class java.lang.Boolean cannot be cast to class com.sun.star.uno.Any (java.lang.Boolean is in module java.base of loader 'bootstrap'; com.sun.star.uno.Any is in unnamed module of loader com.sun.star.lib.unoloader.UnoClassLoader @30f39991)
        at com.sun.star.wizards.db.DBMetaData.supportsPrimaryKeys(DBMetaData.java:722)
        at com.sun.star.wizards.table.TableWizard.createTable(TableWizard.java:239)
        at com.sun.star.wizards.table.TableWizard.finishWizard(TableWizard.java:275)
        at com.sun.star.wizards.ui.WizardDialog.finishWizard_1(WizardDialog.java:578)
        at com.sun.star.wizards.ui.WizardDialog.access$600(WizardDialog.java:46)
        at com.sun.star.wizards.ui.WizardDialog$5.actionPerformed(WizardDialog.java:416)
        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:185)
        at jdk.proxy1/jdk.proxy1.$Proxy76.execute(Unknown Source)
        at com.sun.star.wizards.ui.UnoDialog.executeDialog(UnoDialog.java:546)
        at com.sun.star.wizards.ui.UnoDialog.executeDialog(UnoDialog.java:560)
        at com.sun.star.wizards.ui.UnoDialog.executeDialog(UnoDialog.java:575)
        at com.sun.star.wizards.table.TableWizard.startTableWizard(TableWizard.java:350)
        at com.sun.star.wizards.table.CallTableWizard$TableWizardImplementation.trigger(CallTableWizard.java:80)


Steps to Reproduce:
1. Open LibreOffice from a console.
2. Open Base and try creating a new table with the Wizard.
3. You should see errors in the console.

Actual Results:
Errors in the console

Expected Results:
no errors in the console.


Reproducible: Always


User Profile Reset: No

Additional Info:
no
Comment 1 Julien Nabet 2026-01-22 21:56:40 UTC
It's been fixed from 26.2

*** This bug has been marked as a duplicate of bug 167799 ***