Public bug reported: 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. ** Affects: libreoffice (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1183794 Title: Libreoffice 4 Base: No report generation when sorting order To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1183794/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs