Difference between Jedit 4.2 and 4.3pre6
Submitted by Thursday, 17 August, 2006 - 10:44
on
Hello Developpers
I have a lite Script who work fine in Jedit 4.2 but not in 4.3pre5 and not in 4.3pre6.
The Console Window open and wait but there are errors in the Command Window and in the BeanShell Window. Is there any idea what I can change?
Regrads,
Fabio
import console.Console;
{
Buffer b = view.getBuffer();
String strName = b.getName();
String strPath = b.getPath();
String strCmd = new String("java.exe -jar \"C:\\Programme\\Interlis\\ili2c\\ili2c.jar\" --without-warnings \"" + strPath + "\"");
runCommandInConsole(view, "System", strCmd);
}
1) Console Window:
[error] BeanShell: java.lang.NoClassDefFoundError: org/gjt/sp/jedit/search/RESea
rchMatcher
[error] BeanShell: at console.StreamThread.(StreamThread.java:226)
[error] BeanShell: at console.ConsoleProcess.(ConsoleProcess.java:65)
[error] BeanShell: at console.SystemShell.execute(SystemShell.java:222)
[error] BeanShell: at console.Console.run(Console.java:429)
[error] BeanShell: at console.Console.run(Console.java:226)
[error] BeanShell: at console.Console.run(Console.java:202)
[error] BeanShell: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Metho
d)
[error] BeanShell: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Sourc
e)
[error] BeanShell: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown S
ource)
[error] BeanShell: at java.lang.reflect.Method.invoke(Unknown Source)
[error] BeanShell: at bsh.Reflect.invokeOnMethod(Reflect.java:148)
[error] BeanShell: at bsh.Reflect.invokeObjectMethod(Reflect.java:80)
[error] BeanShell: at bsh.Name.invokeMethod(Name.java:856)
[error] BeanShell: at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:72)
[error] BeanShell: at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:1
02)
[error] BeanShell: at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:4
7)
[error] BeanShell: at bsh.BSHBlock.evalBlock(BSHBlock.java:130)
[error] BeanShell: at bsh.BSHBlock.eval(BSHBlock.java:80)
[error] BeanShell: at bsh.BshMethod.invokeImpl(BshMethod.java:349)
[error] BeanShell: at bsh.BshMethod.invoke(BshMethod.java:246)
[error] BeanShell: at bsh.BshMethod.invoke(BshMethod.java:179)
[error] BeanShell: at bsh.Name.invokeLocalMethod(Name.java:956)
[error] BeanShell: at bsh.Name.invokeMethod(Name.java:805)
[error] BeanShell: at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:72)
[error] BeanShell: at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:1
02)
[error] BeanShell: at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:4
7)
[error] BeanShell: at bsh.BSHBlock.evalBlock(BSHBlock.java:130)
[error] BeanShell: at bsh.BSHBlock.eval(BSHBlock.java:80)
[error] BeanShell: at bsh.BSHBlock.eval(BSHBlock.java:46)
[error] BeanShell: at bsh.Interpreter.eval(Interpreter.java:641)
[error] BeanShell: at org.gjt.sp.jedit.BeanShell._runScript(BeanShell.java:339)
[error] BeanShell: at org.gjt.sp.jedit.BeanShell._runScript(BeanShell.java:284)
[error] BeanShell: at org.gjt.sp.jedit.BeanShell.runScript(BeanShell.java:210)
[error] BeanShell: at org.gjt.sp.jedit.Macros$BeanShellHandler.runMacro(Macros.
java:1012)
[error] BeanShell: at org.gjt.sp.jedit.Macros$Macro.invoke(Macros.java:435)
[error] BeanShell: at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandl
er.java:229)
[error] BeanShell: at org.gjt.sp.jedit.jEdit$3.invokeAction(jEdit.java:2933)
[error] BeanShell: at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(EditA
ction.java:224)
[error] BeanShell: at javax.swing.AbstractButton.fireActionPerformed(Unknown So
urce)
[error] BeanShell: at javax.swing.AbstractButton$Handler.actionPerformed(Unknow
n Source)
[error] BeanShell: at javax.swing.DefaultButtonModel.fireActionPerformed(Unknow
n Source)
[error] BeanShell: at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
[error] BeanShell: at javax.swing.AbstractButton.doClick(Unknown Source)
[error] BeanShell: at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown So
urce)
[error] BeanShell: at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseRelea
sed(Unknown Source)
[error] BeanShell: at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source
)
[error] BeanShell: at java.awt.Component.processMouseEvent(Unknown Source)
[error] BeanShell: at javax.swing.JComponent.processMouseEvent(Unknown Source)
[error] BeanShell: at java.awt.Component.processEvent(Unknown Source)
[error] BeanShell: at java.awt.Container.processEvent(Unknown Source)
[error] BeanShell: at java.awt.Component.dispatchEventImpl(Unknown Source)
[error] BeanShell: at java.awt.Container.dispatchEventImpl(Unknown Source)
[error] BeanShell: at java.awt.Component.dispatchEvent(Unknown Source)
[error] BeanShell: at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown
Source)
[error] BeanShell: at java.awt.LightweightDispatcher.processMouseEvent(Unknown
Source)
[error] BeanShell: at java.awt.LightweightDispatcher.dispatchEvent(Unknown Sour
ce)
[error] BeanShell: at java.awt.Container.dispatchEventImpl(Unknown Source)
[error] BeanShell: at java.awt.Window.dispatchEventImpl(Unknown Source)
[error] BeanShell: at java.awt.Component.dispatchEvent(Unknown Source)
[error] BeanShell: at java.awt.EventQueue.dispatchEvent(Unknown Source)
[error] BeanShell: at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unk
nown Source)
[error] BeanShell: at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unkno
wn Source)
[error] BeanShell: at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
[error] BeanShell: at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
[error] BeanShell: at java.awt.EventDispatchThread.run(Unknown Source)
2) BeanShell Window:
java.lang.NoClassDefFoundError: org/gjt/sp/jedit/search/RESearchMatcher
at console.StreamThread.(StreamThread.java:226)
at console.ConsoleProcess.(ConsoleProcess.java:65)
at console.SystemShell.execute(SystemShell.java:222)
at console.Console.run(Console.java:429)
at console.Console.run(Console.java:226)
at console.Console.run(Console.java:202)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at bsh.Reflect.invokeOnMethod(Reflect.java:148)
at bsh.Reflect.invokeObjectMethod(Reflect.java:80)
at bsh.Name.invokeMethod(Name.java:856)
at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:72)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
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:956)
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.BSHBlock.evalBlock(BSHBlock.java:130)
at bsh.BSHBlock.eval(BSHBlock.java:80)
at bsh.BSHBlock.eval(BSHBlock.java:46)
at bsh.Interpreter.eval(Interpreter.java:641)
at org.gjt.sp.jedit.BeanShell._runScript(BeanShell.java:339)
at org.gjt.sp.jedit.BeanShell._runScript(BeanShell.java:284)
at org.gjt.sp.jedit.BeanShell.runScript(BeanShell.java:210)
at org.gjt.sp.jedit.Macros$BeanShellHandler.runMacro(Macros.java:1012)
at org.gjt.sp.jedit.Macros$Macro.invoke(Macros.java:435)
at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:229)
at org.gjt.sp.jedit.jEdit$3.invokeAction(jEdit.java:2933)
at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(EditAction.java:224)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)