Issue 11430 - Sample ExampleSpreadSheet.sxc document fails to execute
Summary: Sample ExampleSpreadSheet.sxc document fails to execute
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: scripting (show other issues)
Version: 644
Hardware: PC Linux, all
: P1 (highest) Trivial (vote)
Target Milestone: OOo 2.0
Assignee: noel.power
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-12 15:58 UTC by robert.kinsella
Modified: 2003-03-13 11:09 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description robert.kinsella 2003-02-12 15:58:57 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 >
Comment 1 Unknown 2003-02-12 18:18:37 UTC
Assign to NP to fix
Comment 2 noel.power 2003-02-13 15:54:57 UTC
Fixed..., improper use of sal_Bool/bool
Comment 3 noel.power 2003-02-13 16:01:52 UTC
fixed
Comment 4 robert.kinsella 2003-02-24 18:45:23 UTC
verifed as fixed on Solaris and win2000, SF..jar.21.02.2003, marking
issue as verified
Comment 5 michael.bemmer 2003-03-13 11:09:44 UTC
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.