NetRexx scripting problem with jEdit

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

NetRexx scripting problem with jEdit

Kermit Kiser
My apologies to those on the RexxLA list for the duplication of this
message.

Has anyone successfully used NetRexx for the scripting language in
jEdit? If so, can you provide any pointers on how to make it work?
I have no problem running a NetRexx script with standalone BSF but under
jEdit with the SuperScript BSF plugin, I receive an error message:

static
BSFNetRexx1.BSFNetRexxEngineEntry(org.apache.bsf.util.BSFFunctions) --
no signature match

The message implies to me that the BSF entry point was not added to the
script correctly but I don't know how to debug it.
Thanks for any assistance.
-  Kermit Kiser

The complete jEdit (4.2) activity log data follows:


[debug] EditBus: BufferUpdate[what=LOADED,view=null,source=Untitled-1
(C:\Program Files\jEdit\)]
[notice] jEdit: Loading edit mode C:\Program Files\jEdit\modes\netrexx.xml
[notice] jEdit: Loading edit mode C:\Program Files\jEdit\modes\java.xml
[notice] jEdit: Loading edit mode C:\Program Files\jEdit\modes\xml.xml
[debug] EditBus:
BufferUpdate[what=PROPERTIES_CHANGED,view=null,source=__Tinker_.nrx
(C:\personal\KERMITS\Jrobots\v42\Tinker\)]
[debug] EditBus: BufferUpdate[what=LOADED,view=null,source=__Tinker_.nrx
(C:\personal\KERMITS\Jrobots\v42\Tinker\)]
[debug] EditBus:
BufferUpdate[what=PROPERTIES_CHANGED,view=null,source=bsftest1.nrx
(C:\Documents and Settings\dad\.jedit\macros\)]
[debug] NrxParser: nrxParser: activated for bsftest1.nrx (C:\Documents
and Settings\dad\.jedit\macros\)
[debug] EditBus: BufferUpdate[what=LOADED,view=null,source=bsftest1.nrx
(C:\Documents and Settings\dad\.jedit\macros\)]
[debug] SideKickParsedData: Setting parsed data of
org.gjt.sp.jedit.View[active] to sidekick.SideKickParsedData@3e89c3
[debug] EditBus: SideKickUpdate[source=null]
[debug] EditBus:
BufferUpdate[what=PROPERTIES_CHANGED,view=null,source=obfuscate_notes.txt
(C:\personal\KERMITS\Jrobots\)]
[debug] EditBus:
BufferUpdate[what=LOADED,view=null,source=obfuscate_notes.txt
(C:\personal\KERMITS\Jrobots\)]
[debug] EditBus:
BufferUpdate[what=PROPERTIES_CHANGED,view=null,source=robots.txt
(C:\personal\KERMITS\Jrobots\v42\)]
[debug] WorkThread: Work request thread starting [SideKick #1]
[debug] EditBus: BufferUpdate[what=LOADED,view=null,source=robots.txt
(C:\personal\KERMITS\Jrobots\v42\)]
[notice] jEdit: Loading edit mode C:\Program Files\jEdit\modes\prolog.xml
[debug] WorkThread: Running in work thread:
[id=13,run=sidekick.SideKick$ParseRequest@10849bc]
[debug] EditBus:
BufferUpdate[what=PROPERTIES_CHANGED,view=null,source=Tinker.pro
(C:\personal\KERMITS\Jrobots\v42\Tinker\)]
[debug] EditBus: BufferUpdate[what=LOADED,view=null,source=Tinker.pro
(C:\personal\KERMITS\Jrobots\v42\Tinker\)]
[debug] SideKick$ParseAWTRequest: ParseAWTRequest
[debug] SideKickParsedData: Setting parsed data of
org.gjt.sp.jedit.View[active] to sidekick.SideKickParsedData@92bbba
[debug] EditBus: SideKickUpdate[source=null]
[debug] ActionSet: Loading actions from
jeditresource:/NetRexxJe.jar!/actions.xml
[debug] ActionSet: Loading actions from
jeditresource:/SuperScript.jar!/actions.xml
[debug] DockableWindowManager: Loading dockables from
jeditresource:/SuperScript.jar!/dockables.xml
[debug] EditPlugin$JAR: Opening C:\Documents and
Settings\dad\.jedit\jars\NetRexxC.jar
[error] SuperScriptPlugin: static
BSFNetRexx1.BSFNetRexxEngineEntry(org.apache.bsf.util.BSFFunctions) --
no signature match
[error] BSFPanel$1: org.apache.bsf.BSFException: static
BSFNetRexx1.BSFNetRexxEngineEntry(org.apache.bsf.util.BSFFunctions) --
no signature match
[error] BSFPanel$1:  at
org.apache.bsf.engines.netrexx.NetRexxEngine.callStatic(Unknown Source)
[error] BSFPanel$1:  at
org.apache.bsf.engines.netrexx.NetRexxEngine.execEvalShared(Unknown Source)
[error] BSFPanel$1:  at
org.apache.bsf.engines.netrexx.NetRexxEngine.exec(Unknown Source)
[error] BSFPanel$1:  at org.apache.bsf.BSFManager$6.run(Unknown Source)
[error] BSFPanel$1:  at
java.security.AccessController.doPrivileged(Native Method)
[error] BSFPanel$1:  at org.apache.bsf.BSFManager.exec(Unknown Source)
[error] BSFPanel$1:  at
com.patelsoft.superscript.SuperScriptPlugin.executeScript(SuperScriptPlugin.java:149)

[error] BSFPanel$1:  at
com.patelsoft.superscript.SuperScriptPlugin.executeScript(SuperScriptPlugin.java:127)

[error] BSFPanel$1:  at
com.patelsoft.superscript.SuperScriptPlugin.executeScript(SuperScriptPlugin.java:122)

[error] BSFPanel$1:  at
com.patelsoft.superscript.BSFPanel$1.actionPerformed(BSFPanel.java:50)
[error] BSFPanel$1:  at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
[error] BSFPanel$1:  at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)

[error] BSFPanel$1:  at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)

[error] BSFPanel$1:  at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
[error] BSFPanel$1:  at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)

[error] BSFPanel$1:  at
java.awt.Component.processMouseEvent(Component.java:6038)
[error] BSFPanel$1:  at
javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
[error] BSFPanel$1:  at
java.awt.Component.processEvent(Component.java:5803)
[error] BSFPanel$1:  at
java.awt.Container.processEvent(Container.java:2058)
[error] BSFPanel$1:  at
java.awt.Component.dispatchEventImpl(Component.java:4410)
[error] BSFPanel$1:  at
java.awt.Container.dispatchEventImpl(Container.java:2116)
[error] BSFPanel$1:  at
java.awt.Component.dispatchEvent(Component.java:4240)
[error] BSFPanel$1:  at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
[error] BSFPanel$1:  at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
[error] BSFPanel$1:  at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
[error] BSFPanel$1:  at
java.awt.Container.dispatchEventImpl(Container.java:2102)
[error] BSFPanel$1:  at java.awt.Window.dispatchEventImpl(Window.java:2429)
[error] BSFPanel$1:  at
java.awt.Component.dispatchEvent(Component.java:4240)
[error] BSFPanel$1:  at
java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
[error] BSFPanel$1:  at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)

[error] BSFPanel$1:  at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)

[error] BSFPanel$1:  at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)

[error] BSFPanel$1:  at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
[error] BSFPanel$1:  at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
[error] BSFPanel$1:  at
java.awt.EventDispatchThread.run(EventDispatchThread.java:121)



Reply | Threaded
Open this post in threaded view
|

NetRexx scripting problem with jEdit

rvjansen
Hi Kermit,

if you did not get any answer, I will be happy to look into this later  
this week - I just downloaded jEdit so I have to adjust a bit to the  
surroundings. I see its macro language is BeanShell - interoperability  
with Java should not be a big problem, but I'll try to debug, if you  
have a bit of patience.

best regards,

Ren? Jansen.

On 6 feb 2008, at 01:23, Kermit Kiser wrote:

> My apologies to those on the RexxLA list for the duplication of this  
> message.
>
> Has anyone successfully used NetRexx for the scripting language in  
> jEdit? If so, can you provide any pointers on how to make it work?
> I have no problem running a NetRexx script with standalone BSF but  
> under jEdit with the SuperScript BSF plugin, I receive an error  
> message:
>
> static  
> BSFNetRexx1.BSFNetRexxEngineEntry(org.apache.bsf.util.BSFFunctions)  
> -- no signature match
>
> The message implies to me that the BSF entry point was not added to  
> the script correctly but I don't know how to debug it.
> Thanks for any assistance.
> -  Kermit Kiser
>
> The complete jEdit (4.2) activity log data follows:
>
>
> [debug] EditBus:  
> BufferUpdate[what=LOADED,view=null,source=Untitled-1 (C:\Program  
> Files\jEdit\)]
> [notice] jEdit: Loading edit mode C:\Program Files\jEdit\modes
> \netrexx.xml
> [notice] jEdit: Loading edit mode C:\Program Files\jEdit\modes
> \java.xml
> [notice] jEdit: Loading edit mode C:\Program Files\jEdit\modes\xml.xml
> [debug] EditBus:  
> BufferUpdate[what=PROPERTIES_CHANGED,view=null,source=__Tinker_.nrx  
> (C:\personal\KERMITS\Jrobots\v42\Tinker\)]
> [debug] EditBus:  
> BufferUpdate[what=LOADED,view=null,source=__Tinker_.nrx (C:\personal
> \KERMITS\Jrobots\v42\Tinker\)]
> [debug] EditBus:  
> BufferUpdate[what=PROPERTIES_CHANGED,view=null,source=bsftest1.nrx  
> (C:\Documents and Settings\dad\.jedit\macros\)]
> [debug] NrxParser: nrxParser: activated for bsftest1.nrx (C:
> \Documents and Settings\dad\.jedit\macros\)
> [debug] EditBus:  
> BufferUpdate[what=LOADED,view=null,source=bsftest1.nrx (C:\Documents  
> and Settings\dad\.jedit\macros\)]
> [debug] SideKickParsedData: Setting parsed data of  
> org.gjt.sp.jedit.View[active] to sidekick.SideKickParsedData@3e89c3
> [debug] EditBus: SideKickUpdate[source=null]
> [debug] EditBus:  
> BufferUpdate
> [what=PROPERTIES_CHANGED,view=null,source=obfuscate_notes.txt (C:
> \personal\KERMITS\Jrobots\)]
> [debug] EditBus:  
> BufferUpdate[what=LOADED,view=null,source=obfuscate_notes.txt (C:
> \personal\KERMITS\Jrobots\)]
> [debug] EditBus:  
> BufferUpdate[what=PROPERTIES_CHANGED,view=null,source=robots.txt (C:
> \personal\KERMITS\Jrobots\v42\)]
> [debug] WorkThread: Work request thread starting [SideKick #1]
> [debug] EditBus:  
> BufferUpdate[what=LOADED,view=null,source=robots.txt (C:\personal
> \KERMITS\Jrobots\v42\)]
> [notice] jEdit: Loading edit mode C:\Program Files\jEdit\modes
> \prolog.xml
> [debug] WorkThread: Running in work thread:  
> [id=13,run=sidekick.SideKick$ParseRequest@10849bc]
> [debug] EditBus:  
> BufferUpdate[what=PROPERTIES_CHANGED,view=null,source=Tinker.pro (C:
> \personal\KERMITS\Jrobots\v42\Tinker\)]
> [debug] EditBus:  
> BufferUpdate[what=LOADED,view=null,source=Tinker.pro (C:\personal
> \KERMITS\Jrobots\v42\Tinker\)]
> [debug] SideKick$ParseAWTRequest: ParseAWTRequest
> [debug] SideKickParsedData: Setting parsed data of  
> org.gjt.sp.jedit.View[active] to sidekick.SideKickParsedData@92bbba
> [debug] EditBus: SideKickUpdate[source=null]
> [debug] ActionSet: Loading actions from jeditresource:/
> NetRexxJe.jar!/actions.xml
> [debug] ActionSet: Loading actions from jeditresource:/
> SuperScript.jar!/actions.xml
> [debug] DockableWindowManager: Loading dockables from jeditresource:/
> SuperScript.jar!/dockables.xml
> [debug] EditPlugin$JAR: Opening C:\Documents and Settings\dad\.jedit
> \jars\NetRexxC.jar
> [error] SuperScriptPlugin: static  
> BSFNetRexx1.BSFNetRexxEngineEntry(org.apache.bsf.util.BSFFunctions)  
> -- no signature match
> [error] BSFPanel$1: org.apache.bsf.BSFException: static  
> BSFNetRexx1.BSFNetRexxEngineEntry(org.apache.bsf.util.BSFFunctions)  
> -- no signature match
> [error] BSFPanel$1:  at  
> org.apache.bsf.engines.netrexx.NetRexxEngine.callStatic(Unknown  
> Source)
> [error] BSFPanel$1:  at  
> org.apache.bsf.engines.netrexx.NetRexxEngine.execEvalShared(Unknown  
> Source)
> [error] BSFPanel$1:  at  
> org.apache.bsf.engines.netrexx.NetRexxEngine.exec(Unknown Source)
> [error] BSFPanel$1:  at org.apache.bsf.BSFManager$6.run(Unknown  
> Source)
> [error] BSFPanel$1:  at  
> java.security.AccessController.doPrivileged(Native Method)
> [error] BSFPanel$1:  at org.apache.bsf.BSFManager.exec(Unknown Source)
> [error] BSFPanel$1:  at  
> com
> .patelsoft
> .superscript.SuperScriptPlugin.executeScript(SuperScriptPlugin.java:
> 149)
> [error] BSFPanel$1:  at  
> com
> .patelsoft
> .superscript.SuperScriptPlugin.executeScript(SuperScriptPlugin.java:
> 127)
> [error] BSFPanel$1:  at  
> com
> .patelsoft
> .superscript.SuperScriptPlugin.executeScript(SuperScriptPlugin.java:
> 122)
> [error] BSFPanel$1:  at com.patelsoft.superscript.BSFPanel
> $1.actionPerformed(BSFPanel.java:50)
> [error] BSFPanel$1:  at  
> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:
> 1995)
> [error] BSFPanel$1:  at javax.swing.AbstractButton
> $Handler.actionPerformed(AbstractButton.java:2318)
> [error] BSFPanel$1:  at  
> javax
> .swing
> .DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
> [error] BSFPanel$1:  at  
> javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
> [error] BSFPanel$1:  at  
> javax
> .swing
> .plaf
> .basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
> [error] BSFPanel$1:  at  
> java.awt.Component.processMouseEvent(Component.java:6038)
> [error] BSFPanel$1:  at  
> javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
> [error] BSFPanel$1:  at  
> java.awt.Component.processEvent(Component.java:5803)
> [error] BSFPanel$1:  at  
> java.awt.Container.processEvent(Container.java:2058)
> [error] BSFPanel$1:  at  
> java.awt.Component.dispatchEventImpl(Component.java:4410)
> [error] BSFPanel$1:  at  
> java.awt.Container.dispatchEventImpl(Container.java:2116)
> [error] BSFPanel$1:  at  
> java.awt.Component.dispatchEvent(Component.java:4240)
> [error] BSFPanel$1:  at  
> java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
> [error] BSFPanel$1:  at  
> java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
> [error] BSFPanel$1:  at  
> java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
> [error] BSFPanel$1:  at  
> java.awt.Container.dispatchEventImpl(Container.java:2102)
> [error] BSFPanel$1:  at  
> java.awt.Window.dispatchEventImpl(Window.java:2429)
> [error] BSFPanel$1:  at  
> java.awt.Component.dispatchEvent(Component.java:4240)
> [error] BSFPanel$1:  at  
> java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
> [error] BSFPanel$1:  at  
> java
> .awt
> .EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:
> 273)
> [error] BSFPanel$1:  at  
> java
> .awt
> .EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
> [error] BSFPanel$1:  at  
> java
> .awt
> .EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:
> 173)
> [error] BSFPanel$1:  at  
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
> [error] BSFPanel$1:  at  
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
> [error] BSFPanel$1:  at  
> java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
>
>
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
>


Reply | Threaded
Open this post in threaded view
|

NetRexx scripting problem with jEdit

Kermit Kiser
Ren?;

Did you ever look into this problem?

I wonder if I could add the missing call signature?
Or maybe compile to Java and tweak a bit to run as BeanShell?
Or find a better supported NetRexx editor?

Thanks for any thoughts,
-- Kermit


Ren? Jansen wrote:

> Hi Kermit,
>
> if you did not get any answer, I will be happy to look into this later
> this week - I just downloaded jEdit so I have to adjust a bit to the
> surroundings. I see its macro language is BeanShell - interoperability
> with Java should not be a big problem, but I'll try to debug, if you
> have a bit of patience.
>
> best regards,
>
> Ren? Jansen.
>
> On 6 feb 2008, at 01:23, Kermit Kiser wrote:
>
>> My apologies to those on the RexxLA list for the duplication of this
>> message.
>>
>> Has anyone successfully used NetRexx for the scripting language in
>> jEdit? If so, can you provide any pointers on how to make it work?
>> I have no problem running a NetRexx script with standalone BSF but
>> under jEdit with the SuperScript BSF plugin, I receive an error message:
>>
>> static
>> BSFNetRexx1.BSFNetRexxEngineEntry(org.apache.bsf.util.BSFFunctions)
>> -- no signature match
>>
>> The message implies to me that the BSF entry point was not added to
>> the script correctly but I don't know how to debug it.
>> Thanks for any assistance.
>> -  Kermit Kiser
>>
>> The complete jEdit (4.2) activity log data follows:
>>
>>
>> [debug] EditBus: BufferUpdate[what=LOADED,view=null,source=Untitled-1
>> (C:\Program Files\jEdit\)]
>> [notice] jEdit: Loading edit mode C:\Program
>> Files\jEdit\modes\netrexx.xml
>> [notice] jEdit: Loading edit mode C:\Program Files\jEdit\modes\java.xml
>> [notice] jEdit: Loading edit mode C:\Program Files\jEdit\modes\xml.xml
>> [debug] EditBus:
>> BufferUpdate[what=PROPERTIES_CHANGED,view=null,source=__Tinker_.nrx
>> (C:\personal\KERMITS\Jrobots\v42\Tinker\)]
>> [debug] EditBus:
>> BufferUpdate[what=LOADED,view=null,source=__Tinker_.nrx
>> (C:\personal\KERMITS\Jrobots\v42\Tinker\)]
>> [debug] EditBus:
>> BufferUpdate[what=PROPERTIES_CHANGED,view=null,source=bsftest1.nrx
>> (C:\Documents and Settings\dad\.jedit\macros\)]
>> [debug] NrxParser: nrxParser: activated for bsftest1.nrx
>> (C:\Documents and Settings\dad\.jedit\macros\)
>> [debug] EditBus:
>> BufferUpdate[what=LOADED,view=null,source=bsftest1.nrx (C:\Documents
>> and Settings\dad\.jedit\macros\)]
>> [debug] SideKickParsedData: Setting parsed data of
>> org.gjt.sp.jedit.View[active] to sidekick.SideKickParsedData@3e89c3
>> [debug] EditBus: SideKickUpdate[source=null]
>> [debug] EditBus:
>> BufferUpdate[what=PROPERTIES_CHANGED,view=null,source=obfuscate_notes.txt
>> (C:\personal\KERMITS\Jrobots\)]
>> [debug] EditBus:
>> BufferUpdate[what=LOADED,view=null,source=obfuscate_notes.txt
>> (C:\personal\KERMITS\Jrobots\)]
>> [debug] EditBus:
>> BufferUpdate[what=PROPERTIES_CHANGED,view=null,source=robots.txt
>> (C:\personal\KERMITS\Jrobots\v42\)]
>> [debug] WorkThread: Work request thread starting [SideKick #1]
>> [debug] EditBus: BufferUpdate[what=LOADED,view=null,source=robots.txt
>> (C:\personal\KERMITS\Jrobots\v42\)]
>> [notice] jEdit: Loading edit mode C:\Program
>> Files\jEdit\modes\prolog.xml
>> [debug] WorkThread: Running in work thread:
>> [id=13,run=sidekick.SideKick$ParseRequest@10849bc]
>> [debug] EditBus:
>> BufferUpdate[what=PROPERTIES_CHANGED,view=null,source=Tinker.pro
>> (C:\personal\KERMITS\Jrobots\v42\Tinker\)]
>> [debug] EditBus: BufferUpdate[what=LOADED,view=null,source=Tinker.pro
>> (C:\personal\KERMITS\Jrobots\v42\Tinker\)]
>> [debug] SideKick$ParseAWTRequest: ParseAWTRequest
>> [debug] SideKickParsedData: Setting parsed data of
>> org.gjt.sp.jedit.View[active] to sidekick.SideKickParsedData@92bbba
>> [debug] EditBus: SideKickUpdate[source=null]
>> [debug] ActionSet: Loading actions from
>> jeditresource:/NetRexxJe.jar!/actions.xml
>> [debug] ActionSet: Loading actions from
>> jeditresource:/SuperScript.jar!/actions.xml
>> [debug] DockableWindowManager: Loading dockables from
>> jeditresource:/SuperScript.jar!/dockables.xml
>> [debug] EditPlugin$JAR: Opening C:\Documents and
>> Settings\dad\.jedit\jars\NetRexxC.jar
>> [error] SuperScriptPlugin: static
>> BSFNetRexx1.BSFNetRexxEngineEntry(org.apache.bsf.util.BSFFunctions)
>> -- no signature match
>> [error] BSFPanel$1: org.apache.bsf.BSFException: static
>> BSFNetRexx1.BSFNetRexxEngineEntry(org.apache.bsf.util.BSFFunctions)
>> -- no signature match
>> [error] BSFPanel$1:  at
>> org.apache.bsf.engines.netrexx.NetRexxEngine.callStatic(Unknown Source)
>> [error] BSFPanel$1:  at
>> org.apache.bsf.engines.netrexx.NetRexxEngine.execEvalShared(Unknown
>> Source)
>> [error] BSFPanel$1:  at
>> org.apache.bsf.engines.netrexx.NetRexxEngine.exec(Unknown Source)
>> [error] BSFPanel$1:  at org.apache.bsf.BSFManager$6.run(Unknown Source)
>> [error] BSFPanel$1:  at
>> java.security.AccessController.doPrivileged(Native Method)
>> [error] BSFPanel$1:  at org.apache.bsf.BSFManager.exec(Unknown Source)
>> [error] BSFPanel$1:  at
>> com.patelsoft.superscript.SuperScriptPlugin.executeScript(SuperScriptPlugin.java:149)
>>
>> [error] BSFPanel$1:  at
>> com.patelsoft.superscript.SuperScriptPlugin.executeScript(SuperScriptPlugin.java:127)
>>
>> [error] BSFPanel$1:  at
>> com.patelsoft.superscript.SuperScriptPlugin.executeScript(SuperScriptPlugin.java:122)
>>
>> [error] BSFPanel$1:  at
>> com.patelsoft.superscript.BSFPanel$1.actionPerformed(BSFPanel.java:50)
>> [error] BSFPanel$1:  at
>> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
>> [error] BSFPanel$1:  at
>> javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
>>
>> [error] BSFPanel$1:  at
>> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
>>
>> [error] BSFPanel$1:  at
>> javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
>> [error] BSFPanel$1:  at
>> javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
>>
>> [error] BSFPanel$1:  at
>> java.awt.Component.processMouseEvent(Component.java:6038)
>> [error] BSFPanel$1:  at
>> javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
>> [error] BSFPanel$1:  at
>> java.awt.Component.processEvent(Component.java:5803)
>> [error] BSFPanel$1:  at
>> java.awt.Container.processEvent(Container.java:2058)
>> [error] BSFPanel$1:  at
>> java.awt.Component.dispatchEventImpl(Component.java:4410)
>> [error] BSFPanel$1:  at
>> java.awt.Container.dispatchEventImpl(Container.java:2116)
>> [error] BSFPanel$1:  at
>> java.awt.Component.dispatchEvent(Component.java:4240)
>> [error] BSFPanel$1:  at
>> java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
>> [error] BSFPanel$1:  at
>> java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
>> [error] BSFPanel$1:  at
>> java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
>> [error] BSFPanel$1:  at
>> java.awt.Container.dispatchEventImpl(Container.java:2102)
>> [error] BSFPanel$1:  at
>> java.awt.Window.dispatchEventImpl(Window.java:2429)
>> [error] BSFPanel$1:  at
>> java.awt.Component.dispatchEvent(Component.java:4240)
>> [error] BSFPanel$1:  at
>> java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
>> [error] BSFPanel$1:  at
>> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
>>
>> [error] BSFPanel$1:  at
>> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
>>
>> [error] BSFPanel$1:  at
>> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
>>
>> [error] BSFPanel$1:  at
>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
>> [error] BSFPanel$1:  at
>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
>> [error] BSFPanel$1:  at
>> java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
>>
>>
>>
>> _______________________________________________
>> Ibm-netrexx mailing list
>> [hidden email]
>>
>
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns.hursley.ibm.com/pipermail/ibm-netrexx/attachments/20080404/a6c86864/attachment-0001.html
Reply | Threaded
Open this post in threaded view
|

NetRexx scripting problem with jEdit

rvjansen
Kermit,

no, I saw a version related message pass and hoped this would have  
solved it. I will look into it soon.
Do you have other dependencies on the SuperScript BSF plugin?
I myself use Emacs with NetRexx mode.

best regards,

Ren?.

On 4 apr 2008, at 19:24, Kermit Kiser wrote:

> Ren?;
>
> Did you ever look into this problem?
>
> I wonder if I could add the missing call signature?
> Or maybe compile to Java and tweak a bit to run as BeanShell?
> Or find a better supported NetRexx editor?
>
> Thanks for any thoughts,
> -- Kermit
>
>
> Ren? Jansen wrote:
>>
>> Hi Kermit,
>>
>> if you did not get any answer, I will be happy to look into this  
>> later this week - I just downloaded jEdit so I have to adjust a bit  
>> to the surroundings. I see its macro language is BeanShell -  
>> interoperability with Java should not be a big problem, but I'll  
>> try to debug, if you have a bit of patience.
>>
>> best regards,
>>
>> Ren? Jansen.
>>
>> On 6 feb 2008, at 01:23, Kermit Kiser wrote:
>>
>>> My apologies to those on the RexxLA list for the duplication of  
>>> this message.
>>>
>>> Has anyone successfully used NetRexx for the scripting language in  
>>> jEdit? If so, can you provide any pointers on how to make it work?
>>> I have no problem running a NetRexx script with standalone BSF but  
>>> under jEdit with the SuperScript BSF plugin, I receive an error  
>>> message:
>>>
>>> static  
>>> BSFNetRexx1
>>> .BSFNetRexxEngineEntry(org.apache.bsf.util.BSFFunctions) -- no  
>>> signature match
>>>
>>> The message implies to me that the BSF entry point was not added  
>>> to the script correctly but I don't know how to debug it.
>>> Thanks for any assistance.
>>> -  Kermit Kiser
>>>
>>> The complete jEdit (4.2) activity log data follows:
>>>
>>>
>>> [debug] EditBus:  
>>> BufferUpdate[what=LOADED,view=null,source=Untitled-1 (C:\Program  
>>> Files\jEdit\)]
>>> [notice] jEdit: Loading edit mode C:\Program Files\jEdit\modes
>>> \netrexx.xml
>>> [notice] jEdit: Loading edit mode C:\Program Files\jEdit\modes
>>> \java.xml
>>> [notice] jEdit: Loading edit mode C:\Program Files\jEdit\modes
>>> \xml.xml
>>> [debug] EditBus:  
>>> BufferUpdate
>>> [what=PROPERTIES_CHANGED,view=null,source=__Tinker_.nrx (C:
>>> \personal\KERMITS\Jrobots\v42\Tinker\)]
>>> [debug] EditBus:  
>>> BufferUpdate[what=LOADED,view=null,source=__Tinker_.nrx (C:
>>> \personal\KERMITS\Jrobots\v42\Tinker\)]
>>> [debug] EditBus:  
>>> BufferUpdate[what=PROPERTIES_CHANGED,view=null,source=bsftest1.nrx  
>>> (C:\Documents and Settings\dad\.jedit\macros\)]
>>> [debug] NrxParser: nrxParser: activated for bsftest1.nrx (C:
>>> \Documents and Settings\dad\.jedit\macros\)
>>> [debug] EditBus:  
>>> BufferUpdate[what=LOADED,view=null,source=bsftest1.nrx (C:
>>> \Documents and Settings\dad\.jedit\macros\)]
>>> [debug] SideKickParsedData: Setting parsed data of  
>>> org.gjt.sp.jedit.View[active] to sidekick.SideKickParsedData@3e89c3
>>> [debug] EditBus: SideKickUpdate[source=null]
>>> [debug] EditBus:  
>>> BufferUpdate
>>> [what=PROPERTIES_CHANGED,view=null,source=obfuscate_notes.txt (C:
>>> \personal\KERMITS\Jrobots\)]
>>> [debug] EditBus:  
>>> BufferUpdate[what=LOADED,view=null,source=obfuscate_notes.txt (C:
>>> \personal\KERMITS\Jrobots\)]
>>> [debug] EditBus:  
>>> BufferUpdate[what=PROPERTIES_CHANGED,view=null,source=robots.txt  
>>> (C:\personal\KERMITS\Jrobots\v42\)]
>>> [debug] WorkThread: Work request thread starting [SideKick #1]
>>> [debug] EditBus:  
>>> BufferUpdate[what=LOADED,view=null,source=robots.txt (C:\personal
>>> \KERMITS\Jrobots\v42\)]
>>> [notice] jEdit: Loading edit mode C:\Program Files\jEdit\modes
>>> \prolog.xml
>>> [debug] WorkThread: Running in work thread:  
>>> [id=13,run=sidekick.SideKick$ParseRequest@10849bc]
>>> [debug] EditBus:  
>>> BufferUpdate[what=PROPERTIES_CHANGED,view=null,source=Tinker.pro  
>>> (C:\personal\KERMITS\Jrobots\v42\Tinker\)]
>>> [debug] EditBus:  
>>> BufferUpdate[what=LOADED,view=null,source=Tinker.pro (C:\personal
>>> \KERMITS\Jrobots\v42\Tinker\)]
>>> [debug] SideKick$ParseAWTRequest: ParseAWTRequest
>>> [debug] SideKickParsedData: Setting parsed data of  
>>> org.gjt.sp.jedit.View[active] to sidekick.SideKickParsedData@92bbba
>>> [debug] EditBus: SideKickUpdate[source=null]
>>> [debug] ActionSet: Loading actions from jeditresource:/
>>> NetRexxJe.jar!/actions.xml
>>> [debug] ActionSet: Loading actions from jeditresource:/
>>> SuperScript.jar!/actions.xml
>>> [debug] DockableWindowManager: Loading dockables from  
>>> jeditresource:/SuperScript.jar!/dockables.xml
>>> [debug] EditPlugin$JAR: Opening C:\Documents and Settings\dad
>>> \.jedit\jars\NetRexxC.jar
>>> [error] SuperScriptPlugin: static  
>>> BSFNetRexx1
>>> .BSFNetRexxEngineEntry(org.apache.bsf.util.BSFFunctions) -- no  
>>> signature match
>>> [error] BSFPanel$1: org.apache.bsf.BSFException: static  
>>> BSFNetRexx1
>>> .BSFNetRexxEngineEntry(org.apache.bsf.util.BSFFunctions) -- no  
>>> signature match
>>> [error] BSFPanel$1:  at  
>>> org.apache.bsf.engines.netrexx.NetRexxEngine.callStatic(Unknown  
>>> Source)
>>> [error] BSFPanel$1:  at  
>>> org
>>> .apache.bsf.engines.netrexx.NetRexxEngine.execEvalShared(Unknown  
>>> Source)
>>> [error] BSFPanel$1:  at  
>>> org.apache.bsf.engines.netrexx.NetRexxEngine.exec(Unknown Source)
>>> [error] BSFPanel$1:  at org.apache.bsf.BSFManager$6.run(Unknown  
>>> Source)
>>> [error] BSFPanel$1:  at  
>>> java.security.AccessController.doPrivileged(Native Method)
>>> [error] BSFPanel$1:  at org.apache.bsf.BSFManager.exec(Unknown  
>>> Source)
>>> [error] BSFPanel$1:  at  
>>> com
>>> .patelsoft
>>> .superscript
>>> .SuperScriptPlugin.executeScript(SuperScriptPlugin.java:149)
>>> [error] BSFPanel$1:  at  
>>> com
>>> .patelsoft
>>> .superscript
>>> .SuperScriptPlugin.executeScript(SuperScriptPlugin.java:127)
>>> [error] BSFPanel$1:  at  
>>> com
>>> .patelsoft
>>> .superscript
>>> .SuperScriptPlugin.executeScript(SuperScriptPlugin.java:122)
>>> [error] BSFPanel$1:  at com.patelsoft.superscript.BSFPanel
>>> $1.actionPerformed(BSFPanel.java:50)
>>> [error] BSFPanel$1:  at  
>>> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:
>>> 1995)
>>> [error] BSFPanel$1:  at javax.swing.AbstractButton
>>> $Handler.actionPerformed(AbstractButton.java:2318)
>>> [error] BSFPanel$1:  at  
>>> javax
>>> .swing
>>> .DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
>>> [error] BSFPanel$1:  at  
>>> javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:
>>> 242)
>>> [error] BSFPanel$1:  at  
>>> javax
>>> .swing
>>> .plaf
>>> .basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:
>>> 236)
>>> [error] BSFPanel$1:  at  
>>> java.awt.Component.processMouseEvent(Component.java:6038)
>>> [error] BSFPanel$1:  at  
>>> javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
>>> [error] BSFPanel$1:  at  
>>> java.awt.Component.processEvent(Component.java:5803)
>>> [error] BSFPanel$1:  at  
>>> java.awt.Container.processEvent(Container.java:2058)
>>> [error] BSFPanel$1:  at  
>>> java.awt.Component.dispatchEventImpl(Component.java:4410)
>>> [error] BSFPanel$1:  at  
>>> java.awt.Container.dispatchEventImpl(Container.java:2116)
>>> [error] BSFPanel$1:  at  
>>> java.awt.Component.dispatchEvent(Component.java:4240)
>>> [error] BSFPanel$1:  at  
>>> java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:
>>> 4322)
>>> [error] BSFPanel$1:  at  
>>> java.awt.LightweightDispatcher.processMouseEvent(Container.java:
>>> 3986)
>>> [error] BSFPanel$1:  at  
>>> java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
>>> [error] BSFPanel$1:  at  
>>> java.awt.Container.dispatchEventImpl(Container.java:2102)
>>> [error] BSFPanel$1:  at  
>>> java.awt.Window.dispatchEventImpl(Window.java:2429)
>>> [error] BSFPanel$1:  at  
>>> java.awt.Component.dispatchEvent(Component.java:4240)
>>> [error] BSFPanel$1:  at  
>>> java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
>>> [error] BSFPanel$1:  at  
>>> java
>>> .awt
>>> .EventDispatchThread
>>> .pumpOneEventForFilters(EventDispatchThread.java:273)
>>> [error] BSFPanel$1:  at  
>>> java
>>> .awt
>>> .EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:
>>> 183)
>>> [error] BSFPanel$1:  at  
>>> java
>>> .awt
>>> .EventDispatchThread
>>> .pumpEventsForHierarchy(EventDispatchThread.java:173)
>>> [error] BSFPanel$1:  at  
>>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:
>>> 168)
>>> [error] BSFPanel$1:  at  
>>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:
>>> 160)
>>> [error] BSFPanel$1:  at  
>>> java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
>>>
>>>
>>>
>>> _______________________________________________
>>> Ibm-netrexx mailing list
>>> [hidden email]
>>>
>>
>>
>> _______________________________________________
>> Ibm-netrexx mailing list
>> [hidden email]
>>
>>
>>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns.hursley.ibm.com/pipermail/ibm-netrexx/attachments/20080405/4ecf2c3f/attachment.html