jalopy plug - in question
Submitted by Wednesday, 28 April, 2004 - 00:09
on
Hi, I am trying to use the jalopy plugin for jedit 4.1.
Using version 0.3.6 of the plugin which has these jars:
11/14/2002 10:29p 905,948 jalopy-1.0b10.jar
11/14/2002 10:29p 26,050 jalopy-jedit-0.3.6.jar
11/14/2002 10:29p 89,584 jdom-1.0b8.jar
11/14/2002 10:29p 350,525 log4j-1.2.6.jar
11/14/2002 10:29p 39,099 messageview-0.1.0.jar
11/14/2002 10:29p 65,383 oro-2.0.6.jar
the (jedit) program hangs when I choose the Plugins>Format Active Buffer command.
Also, if I try to use the jars that
Plugins>Plugin Manager>Install Plugins gets for me:
jalopy.jar
JalopyPlugin.jar
I get:
java.lang.NullPointerException
at de.hunsicker.jalopy.plugin.jedit.JEditPlugin$PluginImpl.formatActive(JEditPlugin.java:463)
at de.hunsicker.jalopy.plugin.jedit.JEditPlugin.formatActive(JEditPlugin.java:162)
at java.lang.reflect.Method.invoke(Native Method)
at bsh.Reflect.invokeMethod(Unknown Source)
at bsh.Reflect.invokeStaticMethod(Unknown Source)
at bsh.Name.invokeMethod(Unknown Source)
at bsh.BSHMethodInvocation.eval(Unknown Source)
at bsh.BSHPrimaryExpression.eval(Unknown Source)
at bsh.BSHBlock.eval(Unknown Source)
at bsh.BshMethod.invokeDeclaredMethod(Unknown Source)
at bsh.BshMethod.invoke(Unknown Source)
at org.gjt.sp.jedit.BeanShell.runCachedBlock(Unknown Source)
at org.gjt.sp.jedit.BeanShellAction.invoke(Unknown Source)
at org.gjt.sp.jedit.gui.InputHandler.invokeAction(Unknown Source)
at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1461)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1515)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:392)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:264)
at javax.swing.AbstractButton.doClick(AbstractButton.java:290)
at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:957)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:244)
at java.awt.Component.processMouseEvent(Component.java:3799)
at java.awt.Component.processEvent(Component.java:3628)
at java.awt.Container.processEvent(Container.java:1202)
at java.awt.Component.dispatchEventImpl(Component.java(Compiled Code))
at java.awt.Container.dispatchEventImpl(Container.java(Compiled Code))
at java.awt.Component.dispatchEvent(Component.java(Inlined Compiled Code))
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java(Compiled Code))
at java.awt.LightweightDispatcher.processMouseEvent(Container.java(Compiled Code))
at java.awt.LightweightDispatcher.dispatchEvent(Container.java(Compiled Code))
at java.awt.Container.dispatchEventImpl(Container.java(Compiled Code))
at java.awt.Window.dispatchEventImpl(Window.java(Compiled Code))
at java.awt.Component.dispatchEvent(Component.java(Inlined Compiled Code))
at java.awt.EventQueue.dispatchEvent(EventQueue.java(Compiled Code))
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java(Compiled Code))
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java(Compiled Code))
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:132)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:124)
Does anyone know how I can fix either/both of these problems so that I can use jalopy? I am not very familiar with JEdit.
Thanks in advance,
Thomas
Using version 0.3.6 of the plugin which has these jars:
11/14/2002 10:29p 905,948 jalopy-1.0b10.jar
11/14/2002 10:29p 26,050 jalopy-jedit-0.3.6.jar
11/14/2002 10:29p 89,584 jdom-1.0b8.jar
11/14/2002 10:29p 350,525 log4j-1.2.6.jar
11/14/2002 10:29p 39,099 messageview-0.1.0.jar
11/14/2002 10:29p 65,383 oro-2.0.6.jar
the (jedit) program hangs when I choose the Plugins>Format Active Buffer command.
Also, if I try to use the jars that
Plugins>Plugin Manager>Install Plugins gets for me:
jalopy.jar
JalopyPlugin.jar
I get:
java.lang.NullPointerException
at de.hunsicker.jalopy.plugin.jedit.JEditPlugin$PluginImpl.formatActive(JEditPlugin.java:463)
at de.hunsicker.jalopy.plugin.jedit.JEditPlugin.formatActive(JEditPlugin.java:162)
at java.lang.reflect.Method.invoke(Native Method)
at bsh.Reflect.invokeMethod(Unknown Source)
at bsh.Reflect.invokeStaticMethod(Unknown Source)
at bsh.Name.invokeMethod(Unknown Source)
at bsh.BSHMethodInvocation.eval(Unknown Source)
at bsh.BSHPrimaryExpression.eval(Unknown Source)
at bsh.BSHBlock.eval(Unknown Source)
at bsh.BshMethod.invokeDeclaredMethod(Unknown Source)
at bsh.BshMethod.invoke(Unknown Source)
at org.gjt.sp.jedit.BeanShell.runCachedBlock(Unknown Source)
at org.gjt.sp.jedit.BeanShellAction.invoke(Unknown Source)
at org.gjt.sp.jedit.gui.InputHandler.invokeAction(Unknown Source)
at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1461)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1515)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:392)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:264)
at javax.swing.AbstractButton.doClick(AbstractButton.java:290)
at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:957)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:244)
at java.awt.Component.processMouseEvent(Component.java:3799)
at java.awt.Component.processEvent(Component.java:3628)
at java.awt.Container.processEvent(Container.java:1202)
at java.awt.Component.dispatchEventImpl(Component.java(Compiled Code))
at java.awt.Container.dispatchEventImpl(Container.java(Compiled Code))
at java.awt.Component.dispatchEvent(Component.java(Inlined Compiled Code))
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java(Compiled Code))
at java.awt.LightweightDispatcher.processMouseEvent(Container.java(Compiled Code))
at java.awt.LightweightDispatcher.dispatchEvent(Container.java(Compiled Code))
at java.awt.Container.dispatchEventImpl(Container.java(Compiled Code))
at java.awt.Window.dispatchEventImpl(Window.java(Compiled Code))
at java.awt.Component.dispatchEvent(Component.java(Inlined Compiled Code))
at java.awt.EventQueue.dispatchEvent(EventQueue.java(Compiled Code))
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java(Compiled Code))
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java(Compiled Code))
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:132)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:124)
Does anyone know how I can fix either/both of these problems so that I can use jalopy? I am not very familiar with JEdit.
Thanks in advance,
Thomas