https://bugs.freedesktop.org/show_bug.cgi?id=37167

--- Comment #24 from Noel Power <[email protected]> 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  0x00007f0a09364055 in connectivity::java_sql_PreparedStatement::execute
(this=0x2460b30) at
/media/FreeAgent-4/LIBOO-master/core/connectivity/source/drivers/jdbc/PreparedStatement.cxx:100
#2  0x00007f0a2336cb39 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  0x00007f0a2336e5bc 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
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to