SDK: loadComponentFromURL hangs when hidden is false and storeAsURL hangs with some docs

Hi,

Today I updated my OS to Fedora 19 and as a result my LibreOffice is upgraded to version 4.1.0.1.
After installing the new SDK jar files, my java programs hangs on 2 different methods. Hangs means the called method doesn’t returns or throws an exception.

  1. loadComponentFromURL: this method hangs when I doesn’t change the property values “Hidden” to True. This occurs to all tested calc sheets.
  2. storeAsURL: this method hangs with some documents, other docs works fine. Sorry, I can not determine which.

here is the relevent code:

	// load doc
	XComponent	xComp = null;
	try {
		PropertyValue[] loadProps = new PropertyValue[1];
		loadProps[0] = new PropertyValue();
        loadProps[0].Name = "Hidden";
        loadProps[0].Value = Boolean.TRUE;

        xComp = this.xCLoader.loadComponentFromURL(url, "_default", 0
				                                 , loadProps);
	} catch (IOException ioe) {
		// throw new OpenOfficeInstanceException
		OpenOfficeInstanceException ooie = new OpenOfficeInstanceException(
				"Can not open OpenOffice document \"" 
				+ url + "\": " + ioe.getMessage());
		ooie.initCause(ioe);
		throw ooie;
	} catch (IllegalArgumentException iae) {
		// throw new OpenOfficeInstanceException
		OpenOfficeInstanceException ooie = new OpenOfficeInstanceException(
				"Can not open OpenOffice document \"" 
				+ url + "\": " + iae.getMessage());
		ooie.initCause(iae);
		throw ooie;
	}
	...
	// save doc
	XStorable xStorable = 
		( XStorable ) UnoRuntime.queryInterface(XStorable.class, xComp);
	try {
		PropertyValue[] loadProps = new PropertyValue[1];
		loadProps[0] = new PropertyValue();
        loadProps[0].Name = "Overwrite";
        loadProps[0].Value = Boolean.TRUE;
        
		xStorable.storeAsURL(url, loadProps);
	} catch (IOException ioe) {
		// throw new OpenOfficeInstanceException
		OpenOfficeInstanceException ooie = 
				new OpenOfficeInstanceException(
							"Can not save OpenOffice document \"" 
									+ url + "\": " + ioe.getMessage());
		ooie.initCause(ioe);
		throw ooie;
	}

FYI: same result if I use the old SDK 3.6.6.2 jar files (I had them in my maven directory) with the new LibreOffice 4.1.0.1 software.

Thanks in advance for your help.