QuickNotepad-Plugin written in Scala - java.lang.NoClassDefFoundError: QuickNotepadActions
Submitted by
gadei on
Wednesday, 6 October, 2010 - 06:34
Hallo!
I've tried to rewrite the simple QuickNotepad plugin in scala. I'm using Netbeans 6.8 for this.
Inside the IDE everthing works really fine, but if I copy my 'QuickNotepad.jar'-file in the .jedit/jar directory and then run jEdit, I get following Error-Message:
(Note: This error occurs when I try to open my plugin => Plugins/QuickNotepad->QuickNotepad)
> java.lang.NoClassDefFoundError: QuickNotepadActions
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:466)
> at org.gjt.sp.jedit.JARClassLoader._loadClass(JARClassLoader.java:456)
> at org.gjt.sp.jedit.JARClassLoader.loadClass(JARClassLoader.java:109)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> at org.gjt.sp.jedit.bsh.classpath.ClassManagerImpl.classForName(ClassManagerImpl.java:203)
> at org.gjt.sp.jedit.bsh.NameSpace.classForName(NameSpace.java:1318)
> at org.gjt.sp.jedit.bsh.NameSpace.getClassImpl(NameSpace.java:1218)
> at org.gjt.sp.jedit.bsh.NameSpace.getClass(NameSpace.java:1159)
> at org.gjt.sp.jedit.bsh.Name.consumeNextObjectField(Name.java:298)
> at org.gjt.sp.jedit.bsh.Name.toObject(Name.java:199)
> at org.gjt.sp.jedit.bsh.BSHAmbiguousName.toObject(BSHAmbiguousName.java:59)
> at org.gjt.sp.jedit.bsh.BSHAllocationExpression.objectAllocation(BSHAllocationExpression.java:86)
> at org.gjt.sp.jedit.bsh.BSHAllocationExpression.eval(BSHAllocationExpression.java:62)
> at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
> at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
> at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:644)
> at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:738)
> at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:727)
> at org.gjt.sp.jedit.BeanShellFacade._eval(BeanShellFacade.java:148)
> at org.gjt.sp.jedit.BeanShellFacade.eval(BeanShellFacade.java:113)
> at org.gjt.sp.jedit.BeanShell.eval(BeanShell.java:369)
> at org.gjt.sp.jedit.gui.DockableWindowFactory$Window.createDockableWindow(DockableWindowFactory.java:467)
> at org.gjt.sp.jedit.gui.DockableWindowManagerImpl.showDockableWindow(DockableWindowManagerImpl.java:349)
> at org.gjt.sp.jedit.gui.DockableWindowFactory$Window$OpenAction.invoke(DockableWindowFactory.java:491)
> at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:352)
> at org.gjt.sp.jedit.jEdit$4.invokeAction(jEdit.java:3255)
> at org.gjt.sp.jedit.jEdit$4.invokeAction(jEdit.java:3237)
> at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(EditAction.java:221)
QuickNotepadActions is just a "triat" (=Scala) [Interfac (=Java)] -> so this error message don't really make sens to me
Do you have an idea what could be wrong here?
Marco
Ps
I'm using:
jdk1.6
scala 2.8.0 final
netbeans6.8
jEdit 4.3.1
FindFile plugin to use selected text as search filter
Submitted by
mindjoy on
Thursday, 2 September, 2010 - 13:01
Hi there,
First I want to thank developers for the great plugin FindFile. I'd like to use selected text to show up in the filter box. Could you please give me some pointers of how to do that? Thank you.
Regards,
Ivica Mikic
XML Indenter
Submitted by
tonka on
Monday, 12 July, 2010 - 17:22
Is there another plugin that rolls the XML Indenter into it? With Jedit version 4.3 this plugin is not available. When searching it comes up as obsolete.
http://plugins.jedit.org/plugins/?XmlIndenter
Thanks in advance..
Project viewer stopped working
Hi there,
I have a problem with Project Viewer plugin.
I am using JEdit 4.3.2 server mode with sun JDK 1.6.0_20, on a Linux64 machine.
Every time I hit the menu item Plugins->Project viewer, I get the following error message:
java.lang.RuntimeException: org.xml.sax.SAXParseException: Premature end of file.
at projectviewer.ProjectManager.loadConfig(ProjectManager.java:190)
at projectviewer.ProjectManager.(ProjectManager.java:129)
at projectviewer.ProjectManager.getInstance(ProjectManager.java:100)
at projectviewer.PVMenuProvider.(PVMenuProvider.java:57)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.gjt.sp.jedit.bsh.Reflect.constructObject(Reflect.java:620)
at org.gjt.sp.jedit.bsh.BSHAllocationExpression.constructObject(BSHAllocationExpression.java:123)
at org.gjt.sp.jedit.bsh.BSHAllocationExpression.objectAllocation(BSHAllocationExpression.java:114)
at org.gjt.sp.jedit.bsh.BSHAllocationExpression.eval(BSHAllocationExpression.java:62)
at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:644)
at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:738)
at org.gjt.sp.jedit.bsh.Interpreter.eval(Interpreter.java:727)
at org.gjt.sp.jedit.BeanShellFacade._eval(BeanShellFacade.java:148)
at org.gjt.sp.jedit.BeanShellFacade.eval(BeanShellFacade.java:113)
at org.gjt.sp.jedit.BeanShell.eval(BeanShell.java:369)
at org.gjt.sp.jedit.menu.EnhancedMenu.init(EnhancedMenu.java:114)
at org.gjt.sp.jedit.menu.EnhancedMenu.menuSelected(EnhancedMenu.java:99)
at javax.swing.JMenu.fireMenuSelected(JMenu.java:1028)
at javax.swing.JMenu$MenuChangeListener.stateChanged(JMenu.java:1107)
at javax.swing.DefaultButtonModel.fireStateChanged(DefaultButtonModel.java:333)
at javax.swing.DefaultButtonModel.setSelected(DefaultButtonModel.java:215)
at javax.swing.JMenu.setSelected(JMenu.java:294)
at javax.swing.JMenu.menuSelectionChanged(JMenu.java:1175)
at javax.swing.MenuSelectionManager.setSelectedPath(MenuSelectionManager.java:100)
at javax.swing.plaf.basic.BasicMenuUI$Handler.mouseEntered(BasicMenuUI.java:491)
at java.awt.Component.processMouseEvent(Component.java:6272)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
at java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:4363)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4220)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: org.xml.sax.SAXParseException: Premature end of file.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at projectviewer.ProjectManager.loadConfig(ProjectManager.java:185)
... 50 more
Can anybody help?
Thanks
gm
Plugin FTP, SFTP
Submitted by
Jabberwock on
Wednesday, 7 July, 2010 - 13:12
HI,
I use the FTP plugin to open sftp files. It's works
But, i see in the log file that jedit release the connection. Ok it's not a problem, but on the server the connection still there.
How i can really close the connections ?
Updated CandyFold plugin
Submitted by
maulik13 on
Wednesday, 19 May, 2010 - 09:11
hi,
I have updated the candy fold plugin. I have tried contacting the author on SourceForge, but I have not heard anything back.
I was wondering how to I share this update?
-Maulik
Issues with TaskList
Submitted by
hath on
Wednesday, 12 May, 2010 - 18:21
Hi,
I'm trying to use the TaskList plugin. Its working for the most part but it only seems to be able to parse and display thing in the current buffer. It has a tab for all Open files which would be really useful but it doesn't work. Right now I'm using a Sessions plugin and I'm wondering it could be the cause?
The only other plugins I have at the moment are quicknotepad, and TextAutoComplete.
How to show a plugin title directly as menu item
Submitted by
qooraf on
Friday, 23 April, 2010 - 14:37
Hi,
I am relatively new to jEdit, and have couple of questions about plugin development.
1 - I like to show Plugin options as a separate menu item same as View or Search. How can i edit the props file to get this.
2 - Is it possible for one of my plugin to read the action string? If yes then any pointer on this would be really helpful.
Thanking you all in anticipation.
Cheers
Qooraf
Can't use System.getProperty
Submitted by
kamcknig on
Thursday, 22 April, 2010 - 20:26
Hey everyone... I'm very very new to plugin development in jEdit, and java in general. I'm trying to use System.getProperty("os.name") so that I can determine the operating system a user is using. But I keep getting a stackoverflow error, with something about the JARClassLoader or something. I can't using anything in System actually. Every line I put that uses it, returns that same error.
Kyle
First Mate
Submitted by
ezuk on
Sunday, 18 April, 2010 - 20:31
Hi guys,
Does anybody know why
First Mate still isn't in the official plugin repo? How can we get it there?
FTP - New feature request FTPS/FTPES support
Submitted by
Ed34222 on
Thursday, 8 April, 2010 - 12:08
It is cool that it does FTP and SFTP (FTP over SSH); but it would be even more handy if it did FTPS(FTP over SSL Passive connection) and FTPES (FTP over SSL Active connection).
SSH is first and foremost a telnet protocol. As such it carries risks.
In order to use it for FTP users must also, often, have telnet access - not exactly ideal from an administrative point of view.
Many servers now use FTPS and FTPES instead of SFTP.
Being able to access those servers directly from jEdit would be quite the time saver.
I currently use the open source FileZilla client to access these kinds of servers.
Is there a way to create a local mirror for one plugin?
I am developing a plugin that I dont necessarily believe is best served for public consumption. Is there a way for me to create a local "mirror" with only my plugin on it, without having to actually mirror everything?
Basically, I'd like my users to pull from the public mirrors, but have access to our Intranet to download an additional plugin.
Thanks.
Fast Open plugin -- is it Open Source?
Submitted by
Lee Elms on
Saturday, 27 February, 2010 - 17:26
I think the title says it (nearly) all ... if the source is available, can someone point me to it.
Highlight Plugin: "Highlight word at caret" & subsequences
Submitted by
autocart on
Saturday, 27 February, 2010 - 16:41
Hi!
I wonder if this is a bug.
In the Plugin Options of the Highlight-Plugin I can check "Highlight word at caret" and as another seperate option I can check "Highlight subsequences".
Well, even if I check the option "Highlight word at caret" but do not check the subsequences option it still highlights subsequences. I.e. I have the caret at the word "c:TE". (In my case the ":" is part of the word.) In the next line I have "c:TE2" and "c:TE2c:TE2" in both cases the subsequences "c:TE" are highlighted but not the "2", altough the option is not checked. Do I misunderstand the concept of this option or is it a bug?
Thanks, Stephan
Jdiffplugin - Merge same text
Submitted by
Jabberwock on
Wednesday, 24 February, 2010 - 20:49
Hi,
With jDiffPlugin, it's possible to merge the part of text who are the same ?
I search on the plugin options and on the web with no success.
Antother question, i have a macro who do the diff of two buffer. With an old version of the plugin it's ok, but with the new one, some function are disepear. For exemple DualDiff.toggleFor.
Do you know how i can re*write my macro ?
Thanks in adavance.
properties dialog of ftp plugin not working
Submitted by
notknow on
Thursday, 4 February, 2010 - 01:31
Hi erveryone,
i'm working with jQuery for years now and i love it.
had to use the ftp.Plugin, it works as far as up- and downloads are concerned, but i can not
use The properties-dialog. I just get an java-whatever exception.
I am using jQuery 4.3.1 with on Mac OS X 10.4.11.
I need this dialog urgently, so i wasted time with trying 3 other editors - TextWrangler, the ftp connection seems to work, but the app itself is not too user friendly (no side by side windows for multiple files etc), Komodo-Edit-5.2.4 which reproducably crashes when trying to connet to a remote server with its ftp functions", Textmate (i would even have bought it - but out of the box it does not even offer the slightest support for ftp).
I'm a bit under stress and this is time killing.
Does anyone know how to get the properties dialog to work?
Or anyone who has a tip on another app than jQuery which is capable of doing what it says it does - basic ftp?
Thanks a lot.
Yes, i might use a "normal" ftp client, i might use one where i can define a standard app to open downloaded files with etc. But i cannot believe the only ftp plugin for jQuery i found is not working. And it is not hat i wanted in the first place. Do i have to pay for Zend Studio in the very end -
Had to test some applications and frameworks (php) over the last days, i'm really pissed with all of that stuff not working, sorry, i'm really...
And i'm not into Java at all, so...
placing scrollbar or tabs in commando custom UI ..
Submitted by
d_l on
Tuesday, 12 January, 2010 - 17:24
I have a number of options/arguments to to be selected in a commando UI window.
The selected arguments are concatenated into a long command line (as in java.xml commando example).
However the number of arguments to be selected creates a UI with too many lines and too large a height.
Can I add a scroll bar and/or additional tabs to a custom commando UI?
.. to be placed in %USERPROFILE%\.jedit\console\commando\ ?
There are already two default tabs which show in the commando UI window -
"Settings" and "Commands" -
so it must be possible to insert extra tabs.
e.g. Settings 1, Settings 2, Settings 3, Commands
But I don't see any syntax for "scrollbar" or "tabs" in Commando help.
And what sets the width/height dimensions of the commando UI?
Thanks for any tips on extending the UI.
startup.js has problems!
Submitted by
zcjsg on
Monday, 11 January, 2010 - 01:56
when using the javascript shell plugin,I refrenced the jedit help,
found there is an file "startup.js" .
I putted it into the "startup"directory of jedit setup dirs,
restart jedit,but see error screens.
then i found these codes(seems something wrong) in "startup.js".
function include(path) {//{{{
var paths, i;
if (!path) {
paths = openFileDialog();
for (i = 0; i /}}}
//{{{ echo function
anyone help?
Small problem with FTP plugin when username contains @
Submitted by
marchost on
Tuesday, 17 November, 2009 - 14:23
Hi all, first if some of jedit developper are reading this, I would like to say that jedit is a wonderful editor, continue your great work...
I just ran into a small issue today with the FTP plugin.
I couldnt connect to a FTP (using plugin->ftp->connect to ftp) when a username had an "@" (user@domain.net) it would create an address of : ftp://user@domain.net@domain.net:21 which obviously dont work.
The workaround is to put the FTP address in the path and after the plugin prompt for user/password...
NetRexxScript plugin
Submitted by
kermit on
Sunday, 1 November, 2009 - 22:31
Newbie plugin developer here. I have a new plugin ready for beta testing. It adds support for NetRexx macros/scripts in jEdit. (Before anyone mentions the SuperScript plugin - yes I know about it and [A] it doesn't work, [B] BSF 2.x NetRexx support is slower than molasses, [C] it has no real features for practical use, [d] and did I mention that it doesn't work?
Should I upload it here first since it may not be production quality yet and I am not really sure it is in the right format for Plugin Central? Can anyone check it out and give pointers on the next steps? I will try to do the submit process to sourceforge also when I get time.
By the way, even if you don't want to learn anything about NetRexx, this plugin supports compiled Java classes as jEdit macros also so it may have a wider appeal. Anyway here is the announcment that I posted to the NetRexx mailing list:
The NetRexxScript plugin for jEdit is now feature complete and ready for beta testing.
Here are the main features:
* Efficient execution of NetRexx scripts and macros in jEdit
* Optional caching of parsed scripts to improve performance
* Option to "preparse" all available scripts as a unit for performance (aka "greased lightning mode") and cross-script access support
* Option to suppress or allow trace output
* Options to execute a currently open NetRexx file including unsaved changes
* Optional dockable console window with command line to run scripts with parms and view say output or respond to ask input
* View say output with or without trace from the console window to aid debugging
* Option to "prefix" scripts automatically adds access to jEdit functions and variables
* Script parse errors are automatically highlighted in script source files and listed in the "Error List" as well as displayed in a console window
* User defined "classpath" option for making classes available to NetRexx scripts
* User defined "scriptpath" option for access to scripts outside of jEdit macro libraries
* Support for executing compiled NetRexx scripts or any "main" type Java class file as a macro or console command
* Includes an updated version of the "NetRexx at Once" cross reference guide to Java and NetRexx
Here are the distributions:
Binaries -
http://kermitkiser.com/NetRexx/Script/NetRexxScript-0.1.0-bin.zip
http://kermitkiser.com/NetRexx/Script/NetRexxScript-0.1.0-bin.tgz
Binary plus source -
http://kermitkiser.com/NetRexx/Script/NetRexxScript-0.1.0.zip
http://kermitkiser.com/NetRexx/Script/NetRexxScript-0.1.0.tgz
Help document:
http://kermitkiser.com/NetRexx/Script/NetRexxScript.html
To install, download and unzip a distribution file, copy NetRexxScript.jar and NetRexxC.jar to your jEdit profile "jars" directory, then restart jEdit. The jars directory is probably "C:\Documents and Settings\username\.jedit\jars" on Windows or "/home/username/.jedit/jars" on Linux.
To verify the install, select Plugins => NetRexxScript => NetRexxScript to open the console window, dock it at top or bottom, then select Macros => NetRexx to run the included sample scripts or just type some NetRexx in a new edit window and click the "Run current" button in the console.
Please let me know if there are any problems.
-- Kermit