| Summary: | Java UNO bridge - internal call arguments need updating to double hyphens | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | pr.nienhuis |
| Component: | Extensions | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | medium | CC: | shenmux09 |
| Version: | 3.4.3 release | ||
| Hardware: | x86 (IA32) | ||
| OS: | All | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
|
Description
pr.nienhuis
2011-09-18 09:05:23 UTC
this is not at calc bug, set the right component (In reply to comment #1) > this is not at calc bug, set the right component Sorry, your comment is too terse for me, so I may have misunderstood. Did I indicate Calc somewhere? I do invoke Calc behind the scenes, yes, but I think this relate to the Java-UNO class libs in general. My guess is the problem lies within /javaunohelper/com/sun/star/comp/helper/Bootstrap.java which is packaged in juh.jar. The method Bootstrap.bootstrap() contains the arguments with single hyphens, see lines 251 to 257 here: http://cgit.freedesktop.org/libreoffice/core/tree/javaunohelper/com/sun/star/comp/helper/Bootstrap.java [This is an automated message.] This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it started right out as NEW without ever being explicitly confirmed. The bug is changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases. Details on how to test the 3.5.0 beta1 can be found at: http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1 more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html Still present in LOdev 3.5 b2
Transcript from a sample Octave session:
ods = odsopen ('foo.ods', 0, 'uno');
Checking requested interface(s):
UNO*; (* = active interface)
filename = file:///C:/home/Philip/Mydocs/octave/spreadsheet-tst/foo.ods
octave:20> ods = odsclose (ods)
ods = [](0x0)
octave:21> CE> Warning: -nologo is deprecated. Use --nologo instead.
CE> Warning: -nodefault is deprecated. Use --nodefault instead.
CE> Warning: -norestore is deprecated. Use --norestore instead.
CE> Warning: -nolockcheck is deprecated. Use --nolockcheck instead.
CE> Warning: -accept=pipe,name=uno8184340080090947882;urp; is deprecated. Use --accept=pipe,name=uno8184340080090947882;urp; instead.
So still the wrong Java calls in the LO jars, with single instead of double hyphens before arguments
I think comment 3 might hit the issue on the nose.
Should be fixed in LibreOffice 3.5 rc1 (not in beta3 that comes next). http://cgit.freedesktop.org/libreoffice/core/commit/?h=libreoffice-3-5&id=c36fb812f806105901b0f5d1bd0315bcc5022812 Thanks Andras, indeed the error messages are gone in 3.5rc1. However... I still see the LibreOffice window pop-up while I thought the relevant command switches should suppress it. Has something changed in the cmd line arguments to hide the LO window? (In reply to comment #7) > However... I still see the LibreOffice window pop-up while I thought the > relevant command switches should suppress it. > Has something changed in the cmd line arguments to hide the LO window? --nodefault is broken, see https://bugs.freedesktop.org/show_bug.cgi?id=42470 |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.