https://bugs.freedesktop.org/show_bug.cgi?id=65047
Priority: medium
Bug ID: 65047
Assignee: [email protected]
Summary: Libreoffice 4 Base Reportbuiilder: No report
generation when sorting order
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: x86-64 (AMD64)
Status: UNCONFIRMED
Version: (See in Summary)
Component: Database
Product: LibreOffice
I'm using Ubuntu 12.04 precise (amd64) and the Libreoffice 4.0 ppa. However,
the bug that I have encountered also takes place with the official deb packages
from www.libreoffice.org.
Every time I generate a report that is sorted alphabetically or in any way, I
always get this:
24-may-2013 14:09:18 com.sun.star.wizards.db.DBMetaData$CommandObject <init>
GRAVE: null
com.sun.star.uno.RuntimeException: [jni_uno bridge error] Java calling UNO
method getByName: [map_to_uno():string] null-ref given!
java stack trace:
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:183)
at com.sun.proxy.$Proxy17.getByName(Unknown Source)
at
com.sun.star.wizards.db.DBMetaData$CommandObject.<init>(DBMetaData.java:305)
at com.sun.star.wizards.db.DBMetaData.getCommandByName(DBMetaData.java:272)
at com.sun.star.wizards.db.DBMetaData.getTableByName(DBMetaData.java:251)
at
com.sun.star.wizards.db.CommandMetaData.getColumnObjectByFieldName(CommandMetaData.java:146)
at
com.sun.star.wizards.db.SQLQueryComposer.appendSortingCriterion(SQLQueryComposer.java:182)
at
com.sun.star.wizards.db.SQLQueryComposer.prependSortingCriteria(SQLQueryComposer.java:158)
at
com.sun.star.wizards.db.SQLQueryComposer.prependSortingCriteria(SQLQueryComposer.java:149)
at
com.sun.star.wizards.report.ReportTextImplementation.reconnectToDatabase(ReportTextImplementation.java:286)
at
com.sun.star.wizards.report.Dataimport.importReportData(Dataimport.java:196)
at com.sun.star.wizards.report.Dataimport.createReport(Dataimport.java:212)
at
com.sun.star.wizards.report.CallReportWizard$ReportWizardImplementation.trigger(CallReportWizard.java:104)
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:183)
at com.sun.proxy.$Proxy17.getByName(Unknown Source)
at
com.sun.star.wizards.db.DBMetaData$CommandObject.<init>(DBMetaData.java:305)
at com.sun.star.wizards.db.DBMetaData.getCommandByName(DBMetaData.java:272)
at com.sun.star.wizards.db.DBMetaData.getTableByName(DBMetaData.java:251)
at
com.sun.star.wizards.db.CommandMetaData.getColumnObjectByFieldName(CommandMetaData.java:146)
at
com.sun.star.wizards.db.SQLQueryComposer.appendSortingCriterion(SQLQueryComposer.java:182)
at
com.sun.star.wizards.db.SQLQueryComposer.prependSortingCriteria(SQLQueryComposer.java:158)
at
com.sun.star.wizards.db.SQLQueryComposer.prependSortingCriteria(SQLQueryComposer.java:149)
at
com.sun.star.wizards.report.ReportTextImplementation.reconnectToDatabase(ReportTextImplementation.java:286)
at
com.sun.star.wizards.report.Dataimport.importReportData(Dataimport.java:196)
at com.sun.star.wizards.report.Dataimport.createReport(Dataimport.java:212)
at
com.sun.star.wizards.report.CallReportWizard$ReportWizardImplementation.trigger(CallReportWizard.java:104)
java.lang.NullPointerException
at
com.sun.star.wizards.db.CommandMetaData.getColumnObjectByFieldName(CommandMetaData.java:147)
at
com.sun.star.wizards.db.SQLQueryComposer.appendSortingCriterion(SQLQueryComposer.java:182)
at
com.sun.star.wizards.db.SQLQueryComposer.prependSortingCriteria(SQLQueryComposer.java:158)
at
com.sun.star.wizards.db.SQLQueryComposer.prependSortingCriteria(SQLQueryComposer.java:149)
at
com.sun.star.wizards.report.ReportTextImplementation.reconnectToDatabase(ReportTextImplementation.java:286)
at
com.sun.star.wizards.report.Dataimport.importReportData(Dataimport.java:196)
at com.sun.star.wizards.report.Dataimport.createReport(Dataimport.java:212)
at
com.sun.star.wizards.report.CallReportWizard$ReportWizardImplementation.trigger(CallReportWizard.java:104)
24-may-2013 14:09:18 com.sun.star.wizards.report.ReportTextImplementation
reconnectToDatabase
GRAVE: null
com.sun.star.sdbc.SQLException: La columna no es vĂ¡lida.
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:183)
at com.sun.proxy.$Proxy63.appendOrderByColumn(Unknown Source)
at
com.sun.star.wizards.db.SQLQueryComposer.appendSortingCriterion(SQLQueryComposer.java:186)
at
com.sun.star.wizards.db.SQLQueryComposer.prependSortingCriteria(SQLQueryComposer.java:158)
at
com.sun.star.wizards.db.SQLQueryComposer.prependSortingCriteria(SQLQueryComposer.java:149)
at
com.sun.star.wizards.report.ReportTextImplementation.reconnectToDatabase(ReportTextImplementation.java:286)
at
com.sun.star.wizards.report.Dataimport.importReportData(Dataimport.java:196)
at com.sun.star.wizards.report.Dataimport.createReport(Dataimport.java:212)
at
com.sun.star.wizards.report.CallReportWizard$ReportWizardImplementation.trigger(CallReportWizard.java:104)
No problem whatsoever with Libreoffice 3.6 or lower versions. If there is no
sorting option, then there is no problem either.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs