Issue 11461

Summary: interactive beanshell scripting does not work
Product: General Reporter: robert.kinsella
Component: scriptingAssignee: noel.power
Status: CLOSED FIXED QA Contact: issues@framework <issues>
Severity: Trivial    
Priority: P1 (highest) CC: issues
Version: 644   
Target Milestone: OOo 2.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description robert.kinsella 2003-02-13 16:49:03 UTC
scripting framework SFrameworkInstall.02.13.2003, staroffice 644 build m1
(openoffice 644 build not yet available) tested on Solaris and windows.

Select Tools-Scripting add on's Interactive beanshell scripting.

--> Bug an interactive beanshell scripting dialog should be launched - it isn't

Trace Message : ScriptNameResolverImpl::resolve Starting...
Trace Message : ** about to resolve from storage using id -1 from vector of size 3
Trace Message : @@@@ **** ScriptNameResolverImpl::resolve DOC_STORAGE_ID_NOT_SET
Trace Message : ** about to resolve from storage using id 1 from vector of size 3
Trace Message : ** ==> ScriptStorageManager in getStorageInstance

Trace Message : ** ==> request for id=1
Trace Message : received uri: script://Interactive.BeanShell

Trace Message : getting impl for logical name: Interactive.BeanShell
Trace Message : Adding to sequence of impls
Trace Message : < ++++++ ScriptInfo ctor called >

Trace Message : < ++++++
parcelURI=file:///home/solitst1/staroffice6.1/user/Scripts/beanshell/InteractiveBeanShell>

Trace Message : returning from ScriptStorage::getImplementations with 1 entries
Trace Message : < ScriptURI dtor called >

Trace Message : ScriptNameResolverImpl::resolve Got some results...
Trace Message : ScriptInfo::getLanguage()
Trace Message : ScriptInfo::getFunctionName()
Trace Message : ScriptInfo::getLogicalName()
Trace Message : [0] URI, {language = BeanShell}, {funtionName =
interactive.bsh}, {logicalName = Interactive.BeanShell}

Trace Message : ScriptInfo::getLanguage()
Trace Message : Found desired language

Trace Message : found match in uri from storage 1
Trace Message : < ScriptNameResolverImpl dtor called >

Trace Message : Storage sid is: 1

Trace Message : ** ==> ScriptRuntimeManager in getScriptRuntime

Trace Message : ScriptInfo::getLanguage()
Trace Message : <Destructing a FunctionImpl>

Trace Message : ScriptProtocolHandler::dispatchWithNotificationn caught
RuntimeException: FunctionImpl::invoke RuntimeException :
ScriptRuntimeManager::invoke RuntimeException:
ScriptRuntimeManager::GetScriptRuntime: no service object raising singleton
/singletons/drafts.com.sun.star.script.framework.theScriptRuntimeForBeanShell
Trace Message : ScriptProtocolHandler::dispatchWithNotification - end
Trace Message : ScriptProtocolHandler::ScriptProtocolHandler - dtor
Trace Message : < FunctionProvider dtor called >

Trace Message : < ScriptingContext dtor called >

Trace Message : < ScriptInfo dtor called >
Comment 1 Unknown 2003-02-17 07:47:47 UTC
Assign to Noel to fix - build issue, build.xml needs updated to
include appropriate beanshell jar
Comment 2 Unknown 2003-02-17 07:58:51 UTC
Assign to Noel to fix - build issue
Comment 3 noel.power 2003-02-18 13:52:51 UTC
Build problem, build.xml updated
Comment 4 robert.kinsella 2003-02-28 13:41:14 UTC
verified fixed on all platforms, SFrameworkINstall.jar.27.02.2003
Comment 5 michael.bemmer 2003-03-13 11:12: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.