Hi, I got the error while establish a connection to Libreoffice from sdk.(Handle is not initialized.)
private XMultiServiceFactory Connect()
{
m_xContext = uno.util.Bootstrap.bootstrap(); // This line causing the errro
return (XMultiServiceFactory)m_xContext.getServiceManager();
}