Apache OpenOffice (AOO) Bugzilla – Issue 11430
Sample ExampleSpreadSheet.sxc document fails to execute
Last modified: 2003-03-13 11:09:44 UTC
Scripting framework SFrameworkINstall.jar.02.12.2003, staroffice 644 build 'u' (opneoffice 644 build not available for test yet) Linux RH 6.2. After installing the scripting framework, ensure that the tools, option, security settings is set to always. Open the file <office-install>/user/Scripts/java/MemoryUsage/ExampleSpreadSheet.sxc select ctrl-shoft-m, note the document updates. select ctrl-shift-m the document does not update, it will not not update unless the user restarts staroffice and opens the docuemnt again. Below is trace of output when error occurs:- Trace Message : ScriptNameResolverImpl::resolve Starting... Trace Message : ** about to resolve from storage using id 3 from vector of size 3 Trace Message : ScriptSecurityManager::checkPermission: execute permission request for file:///hda8/solitst2/staroffice6.1/user/Scripts/java/MemoryUsage/ExampleSpreadSheet.sxc Trace Message : ** ==> ScriptStorageManager in getStorageInstance Trace Message : ** ==> request for id=3 Trace Message : received uri: script://MemoryUtils.MemUsage?location=document Trace Message : log name: MemoryUtils.MemUsage Trace Message : chunk: location=document Trace Message : ScriptURI ctor: throwing IllegalArgException Trace Message : < ScriptNameResolverImpl dtor called > Trace Message : <Destructing a FunctionImpl> Trace Message : ScriptProtocolHandler::dispatchWithNotificationn caught RuntimeException: FunctionImpl::invoke RuntimeException : ScriptRuntimeManager::invoke RuntimeException: ScriptRuntimeManager::resolve RuntimeException: ScriptNameResolverImpl::resolve : IllegalArgumentException ScriptRuntimeManager::resolveURIFromStorageID IllegalArgumentException: Failed to parse invalid URI: script://MemoryUtils.MemUsage?location=document Trace Message : ScriptProtocolHandler::dispatchWithNotification - end Trace Message : ScriptProtocolHandler::ScriptProtocolHandler - dtor Trace Message : < FunctionProvider dtor called > Trace Message : < ScriptingContext dtor called > Trace Message : ScriptStorageManager::disposing started Trace Message : Document disposing is ... file:///hda8/solitst2/staroffice6.1/user/Scripts/java/MemoryUsage/ExampleSpreadSheet.sxc Trace Message : disposing storageID = 3 Trace Message : < ScriptStorage dtor called >
Assign to NP to fix
Fixed..., improper use of sal_Bool/bool
fixed
verifed as fixed on Solaris and win2000, SF..jar.21.02.2003, marking issue as verified
As mentioned on the qa dev list on March 5th I will close all resolved <wontfix/duplicate/worksforme/invalid> issues. Please see this posting for details.