jEdit Community - Resources for users of the jEdit Text Editor
Beanshell Plugin issue
Submitted by rmsh on Wednesday, 17 November, 2004 - 21:35
Hi "getClassPath()" function in Beanshell console is throwing the following error

Surprisingly, same command works fine in beanshell standalone.... any clues what is happening here.

Sourced file: inline evaluation of: ``getClassPath();'' : reflection error: bsh.ReflectError: Method getClassPath() not found in class'org.gjt.sp.jedit.BeanShell$CustomClassManager' : at Line: 10 : in file: getClassPath : .getClassPath ( ) Called from method: getClassPath : at Line: 1 : in file: inline evaluation of: ``getClassPath();'' : getClassPath ( ) at bsh.BSHPrimarySuffix.doSuffix(BSHPrimarySuffix.java:131) at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:80) at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47) at bsh.BSHAssignment.eval(BSHAssignment.java:77) at bsh.BSHBlock.evalBlock(BSHBlock.java:130) at bsh.BSHBlock.eval(BSHBlock.java:80) at bsh.BshMethod.invokeImpl(BshMethod.java:349) at bsh.BshMethod.invoke(BshMethod.java:246) at bsh.BshMethod.invoke(BshMethod.java:179) at bsh.Name.invokeLocalMethod(Name.java:915) at bsh.Name.invokeMethod(Name.java:805) at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:72) at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102) at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47) at bsh.Interpreter.eval(Interpreter.java:641) at bsh.Interpreter.eval(Interpreter.java:731) at bsh.Interpreter.eval(Interpreter.java:720) at org.gjt.sp.jedit.BeanShell._eval(BeanShell.java:446) at console.ConsoleBeanShell.execute(ConsoleBeanShell.java:73) at console.Console.run(Console.java:412) at console.Console.access$1300(Console.java:44) at console.Console$RunActionHandler.actionPerformed(Console.java:758) at console.ConsolePane.fireActionEvent(ConsolePane.java:134) at console.ConsolePane$EnterAction.actionPerformed(ConsolePane.java:347) at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1571) at javax.swing.JComponent.processKeyBinding(JComponent.java:2730) at javax.swing.JComponent.processKeyBindings(JComponent.java:2765) at javax.swing.JComponent.processKeyEvent(JComponent.java:2693) at java.awt.Component.processEvent(Component.java:5265) at java.awt.Container.processEvent(Container.java:1966) at java.awt.Component.dispatchEventImpl(Component.java:3955) at java.awt.Container.dispatchEventImpl(Container.java:2024) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1810) at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:668) at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:916) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:794) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:632) at java.awt.Component.dispatchEventImpl(Component.java:3841) at java.awt.Container.dispatchEventImpl(Container.java:2024) at java.awt.Window.dispatchEventImpl(Window.java:1766) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

-Ramesh
User login
Browse archives
« April 2024  
MoTuWeThFrSaSu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   82349
Context Free Art (*.cfdg)   0.31   46055
BBEdit scheme   1.0   18595
JBuilder scheme   .001   18495
ColdFusion scheme   1.0   18024
R Edit Mode - extensive version   0.1   17473
Advanced HTML edit mode   1.0   16206
Matlab Edit Mode   1.0   16068
jEdit XP icons   1.0   15229
XP icons for jEdit   1.1   14293