To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=114195 Issue #|114195 Summary|xBitmapContainer.insertByName does not seem to work Component|udk Version|OOO330m3 Platform|Unknown URL| OS/Version|All Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|kr Reported by|scanti
------- Additional comments from sca...@openoffice.org Mon Aug 30 07:57:07 +0000 2010 ------- I have a Java application that uses OpenOffice.org to create Presentation. It used to work till OOo 3.2. Recently I have updated to OOo 3.3 beta and I got this this exception com.sun.star.container.NoSuchElementException: at com.sun.star.lib.uno.environments.remote.Job.remoteUnoRequestRaisedException(Job.java:182) at com.sun.star.lib.uno.environments.remote.Job.execute(Job.java:148) at com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:344) at com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:313) at com.sun.star.lib.uno.environments.remote.JavaThreadPool.enter(JavaThreadPool.java:101) at com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:652) at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java:154) at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:136) the exception comes from this code: private String loadGraphicIntoDocument(XMultiServiceFactory factory, String cUrl, String internalName) { try { XNameContainer xBitmapContainer = (XNameContainer) UnoRuntime.queryInterface( XNameContainer.class, factory.createInstance("com.sun.star.drawing.BitmapTable")); xBitmapContainer.insertByName(internalName, cUrl); String internalURL = AnyConverter.toString(xBitmapContainer.getByName(internalName)); return internalURL; } catch (Exception ex) { Logger.getLogger(OOoWorker.class.getName()).log(Level.SEVERE, "Cannot load data", ex); return null; } } I hope this can be fixed for the release --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@udk.openoffice.org For additional commands, e-mail: issues-h...@udk.openoffice.org --------------------------------------------------------------------- To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org