[Libreoffice-bugs] [Bug 37167] Null pointer exception while executing a prepared statement
https://bugs.freedesktop.org/show_bug.cgi?id=37167 Lionel Elie Mamane lio...@mamane.lu changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|libreoffice-b...@lists.free |lio...@mamane.lu |desktop.org | -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 37167] Null pointer exception while executing a prepared statement
https://bugs.freedesktop.org/show_bug.cgi?id=37167 --- Comment #28 from Julien Nabet serval2...@yahoo.fr --- About update queries, it seems only SELECT can work according to these: http://opengrok.libreoffice.org/xref/core/dbaccess/source/core/api/SingleSelectQueryComposer.cxx#checkForSingleSelect_throwError and http://opengrok.libreoffice.org/xref/core/dbaccess/source/core/resource/strings.src#73 73 String RID_STR_ONLY_QUERY 74 { 75 Text [ en-US ] = The given command is not a SELECT statement.\nOnly queries are allowed.; 76 }; -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 37167] Null pointer exception while executing a prepared statement
https://bugs.freedesktop.org/show_bug.cgi?id=37167 --- Comment #25 from Julien Nabet serval2...@yahoo.fr --- Created attachment 91371 -- https://bugs.freedesktop.org/attachment.cgi?id=91371action=edit hs_err_pid On pc Debian x86-64 with master sources updated today, I gave a try and had a crash while running the macro step by step. I attached error I noticed too these kinds of logs: warn:basic.sbx:19947:1:basic/source/sbx/sbxvalue.cxx:192: Not at Parent-Prop - otherwise CyclicRef warn:legacy.osl:19947:1:dbaccess/source/ui/uno/dbinteraction.cxx:65: BasicInteractionHandler::BasicInteractionHandler: enabling legacy behavior, there should be no clients of this anymore! java.lang.NullPointerException warn:legacy.osl:19947:1:unotools/source/config/moduleoptions.cxx:635: unknown factory -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 37167] Null pointer exception while executing a prepared statement
https://bugs.freedesktop.org/show_bug.cgi?id=37167 --- Comment #26 from Julien Nabet serval2...@yahoo.fr --- Created attachment 91374 -- https://bugs.freedesktop.org/attachment.cgi?id=91374action=edit bt I attached bt when I'm trying look at the content of stmt variable in watch pane just after this: stmt=connection.prepareCall(update mytable set text='aaa';) -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 37167] Null pointer exception while executing a prepared statement
https://bugs.freedesktop.org/show_bug.cgi?id=37167 Julien Nabet serval2...@yahoo.fr changed: What|Removed |Added CC||lio...@mamane.lu --- Comment #27 from Julien Nabet serval2...@yahoo.fr --- the SQL update mytable set text='aaa'; from the macro doesn't even work. Lionel: any idea? -- You are receiving this mail because: You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 37167] Null pointer exception while executing a prepared statement
https://bugs.freedesktop.org/show_bug.cgi?id=37167 Alex Thurgood ipla...@yahoo.co.uk changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVALID | Ever Confirmed|1 |0 --- Comment #14 from Alex Thurgood ipla...@yahoo.co.uk 2012-08-15 07:13:16 UTC --- Florian, Am re-opening as unconfirmed, will test later today, then report back. The original submitter has given us enough information to test, at least for those of us who know Base, so its rather unfair to state that we needmoreinfo unless we've actually tested. Alex -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 37167] Null pointer exception while executing a prepared statement
https://bugs.freedesktop.org/show_bug.cgi?id=37167 Alex Thurgood ipla...@yahoo.co.uk changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 37167] Null pointer exception while executing a prepared statement
https://bugs.freedesktop.org/show_bug.cgi?id=37167 --- Comment #16 from Alex Thurgood ipla...@yahoo.co.uk 2012-08-15 08:13:14 UTC --- Confirming also in LibreOffice 3.5.5.2 Build ID: 24b32b4-b87ec2e-85c8e98-87a4e20-9a1b8c1 Alex -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 37167] Null pointer exception while executing a prepared statement
https://bugs.freedesktop.org/show_bug.cgi?id=37167 Alex Thurgood ipla...@yahoo.co.uk changed: What|Removed |Added OS/Version|Windows (All) |All --- Comment #17 from Alex Thurgood ipla...@yahoo.co.uk 2012-08-15 08:13:54 UTC --- Changing platform to All as reproducible on Linux as well. Alex -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 37167] Null pointer exception while executing a prepared statement
https://bugs.freedesktop.org/show_bug.cgi?id=37167 Alex Thurgood ipla...@yahoo.co.uk changed: What|Removed |Added Platform|x86 (IA32) |All -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 37167] Null pointer exception while executing a prepared statement
https://bugs.freedesktop.org/show_bug.cgi?id=37167 --- Comment #18 from Alex Thurgood ipla...@yahoo.co.uk 2012-08-15 10:40:59 UTC --- Confirming also on 3.6.0.4 Linux 64bit Mint 12 -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 37167] Null pointer exception while executing a prepared statement
https://bugs.freedesktop.org/show_bug.cgi?id=37167 --- Comment #19 from Alex Thurgood ipla...@yahoo.co.uk 2012-08-15 11:19:09 UTC --- Running gdb When I click on Run Macro from the Tools Macros menu, I see this : Program received signal SIGSEGV, Segmentation fault. 0x7fffbc45ae86 in ?? () (gdb) (gdb) (gdb) (gdb) cc Undefined command: cc. Try help. (gdb) bt #0 0x7fffbc45ae86 in ?? () #1 0xfb2d49a2 in ?? () #2 0x001b in ?? () #3 0x in ?? () -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 37167] Null pointer exception while executing a prepared statement
https://bugs.freedesktop.org/show_bug.cgi?id=37167 --- Comment #20 from Alex Thurgood ipla...@yahoo.co.uk 2012-08-15 11:26:52 UTC --- If I press continue in gdb, I get the Macro Selector dialog, and can navigate down to the macro included in the ODB file. Now, when I click on Run : (gdb) c Continuing. [New Thread 0x7fffc82d5700 (LWP 2576)] [Thread 0x7fffc82d5700 (LWP 2576) exited] [New Thread 0x7fffc82d5700 (LWP 2600)] [New Thread 0x7fffc4199700 (LWP 2601)] [New Thread 0x7fffc62d1700 (LWP 2604)] [Thread 0x7fffc62d1700 (LWP 2604) exited] [New Thread 0x7fffc62d1700 (LWP 2606)] [Thread 0x7fffc62d1700 (LWP 2606) exited] c [New Thread 0x7fffc62d1700 (LWP 2612)] [Thread 0x7fffc62d1700 (LWP 2612) exited] c Program received signal SIGSEGV, Segmentation fault. 0x7fffbc45ae86 in ?? () So doesn't seem to be of much help there. Alex -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 37167] Null pointer exception while executing a prepared statement
https://bugs.freedesktop.org/show_bug.cgi?id=37167 --- Comment #21 from Alex Thurgood ipla...@yahoo.co.uk 2012-08-15 11:30:20 UTC --- Unfortunately, apparently no debug symbols in the 3.6.0.4 version I was testing. Alex -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 37167] Null pointer exception while executing a prepared statement
https://bugs.freedesktop.org/show_bug.cgi?id=37167 --- Comment #22 from Alex Thurgood ipla...@yahoo.co.uk 2012-08-15 20:47:35 UTC --- Downloaded the daily x86_64 from August 13th, 2012, i.e. future 3.6.1 - no debug symbols are provided, so bt attempt worthless :-/ - this is where doing qa becomes a PITA. Alex -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 37167] Null pointer exception while executing a prepared statement
https://bugs.freedesktop.org/show_bug.cgi?id=37167 Alex Thurgood ipla...@yahoo.co.uk changed: What|Removed |Added Component|BASIC |Database --- Comment #23 from Alex Thurgood ipla...@yahoo.co.uk 2012-08-15 20:51:28 UTC --- @Lionel Assigning to you as it seems to be a Base problem at heart, but if you feel it is more of UNO Basic problem, then please re-assign. I've also changed component to Database, if you feel that's wrong, please change back. Alex -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 37167] Null pointer exception while executing a prepared statement
https://bugs.freedesktop.org/show_bug.cgi?id=37167 --- Comment #24 from Noel Power nopo...@novell.com 2012-08-15 21:30:27 UTC --- Nah, it's not a Basic nor UNO problem as far as I can see, seems it is either a problem with the macro ( I can't tell ) or more likely an implementation issue in the associated UNO base related objects. I can see gets as far as 228 sal_Bool java_lang_Object::callBooleanMethod( const char* _pMethodName, jmethodID _inout_MethodID ) const 229 { 230 jboolean out( sal_False ); 231 232 SDBThreadAttach t; 233 OSL_ENSURE( t.pEnv, java_lang_Object::callBooleanMethod: no Java enviroment anymore! ); 234 obtainMethodId(t.pEnv, _pMethodName,()Z, _inout_MethodID); 235 // call method 236 out = t.pEnv-CallBooleanMethod( object, _inout_MethodID ); 237 ThrowSQLException( t.pEnv, NULL ); and the exception is generated based on the contents of t.pEnv from the JNI call at 236. Interestingly 'object' seems to be null there ( surely that should be something ? ) but since I know approx. zero about either base or JNI I can't be sure. #0 connectivity::java_lang_Object::callBooleanMethod (this=0x2460bb8, _pMethodName=0x7f0a0937baa7 execute, _inout_MethodID=@0x7f0a095aabe8) at /media/FreeAgent-4/LIBOO-master/core/connectivity/source/drivers/jdbc/Object.cxx:237 #1 0x7f0a09364055 in connectivity::java_sql_PreparedStatement::execute (this=0x2460b30) at /media/FreeAgent-4/LIBOO-master/core/connectivity/source/drivers/jdbc/PreparedStatement.cxx:100 #2 0x7f0a2336cb39 in gcc3::callVirtualMethod(void*, unsigned int, void*, _typelib_TypeDescriptionReference*, bool, unsigned long*, unsigned int, unsigned long*, unsigned int, double*, unsigned int) () from /media/FreeAgent-4/LIBOO-master/core/INSTALL_LINK/ure/lib/libgcc3_uno.so #3 0x7f0a2336e5bc in cpp_call(bridges::cpp_uno::shared::UnoInterfaceProxy*, bridges::cpp_uno::shared::VtableSlot, _typelib_TypeDescriptionReference*, int, _typelib_MethodParameter*, void*, void**, _uno_Any**) () from /media/FreeAgent-4/LIBOO-master/core/INSTALL_LINK/ure/lib/libgcc3_uno.so -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 37167] Null pointer exception while executing a prepared statement
https://bugs.freedesktop.org/show_bug.cgi?id=37167 Florian Reisinger reisi...@gmail.com changed: What|Removed |Added Status|NEEDINFO|RESOLVED Resolution||INVALID CC||reisi...@gmail.com --- Comment #10 from Florian Reisinger reisi...@gmail.com 2012-08-14 14:01:24 UTC --- Dear bug submitter! Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs. To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem. Yours! Florian -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 37167] Null pointer exception while executing a prepared statement
https://bugs.freedesktop.org/show_bug.cgi?id=37167 --- Comment #11 from Florian Reisinger reisi...@gmail.com 2012-08-14 14:02:29 UTC --- Dear bug submitter! Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs. To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem. Yours! Florian -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 37167] Null pointer exception while executing a prepared statement
https://bugs.freedesktop.org/show_bug.cgi?id=37167 --- Comment #12 from Florian Reisinger reisi...@gmail.com 2012-08-14 14:07:06 UTC --- Dear bug submitter! Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs. To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem. Yours! Florian -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 37167] Null pointer exception while executing a prepared statement
https://bugs.freedesktop.org/show_bug.cgi?id=37167 --- Comment #13 from Florian Reisinger reisi...@gmail.com 2012-08-14 14:09:11 UTC --- Dear bug submitter! Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs. To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem. Yours! Florian -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 37167] Null pointer exception while executing a prepared statement
https://bugs.freedesktop.org/show_bug.cgi?id=37167 --- Comment #8 from Bernhard Donaubauer bernhard.donauba...@bayerwald-online.com 2012-03-01 00:12:27 PST --- Tested it with: LibreOffice 3.5.0rc3 Build-ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735 Problem is still there! -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 37167] Null pointer exception while executing a prepared statement
https://bugs.freedesktop.org/show_bug.cgi?id=37167 Alex Thurgood ipla...@yahoo.co.uk changed: What|Removed |Added CC||ipla...@yahoo.co.uk --- Comment #9 from Alex Thurgood ipla...@yahoo.co.uk 2012-03-01 00:29:17 PST --- Adding myself to cc, will try and find some time to look at this. Alex -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs