jEdit Community - Resources for users of the jEdit Text Editor
java.lang.ClassCastException: org.gjt.sp.jedit.Buffer cannot be cast to java.awt.Component with Java Version 6 Update 15
Submitted by rcrodgers on Thursday, 27 August, 2009 - 21:21
After updating Java to version 6 update 15 on Windows Vista (Ultimate, 64-bit), I realized that I had jEdit 4.2 installed and decided to update it to the latest version (4.3pre17) because certain plug-ins weren't working as expected. After installing 4.3pre17, I'm getting the following exception when trying to launch jEdit:
java.lang.ClassCastException: org.gjt.sp.jedit.Buffer cannot be cast to java.awt.Component
	at org.gjt.sp.jedit.View.restoreSplitConfig(
	at org.gjt.sp.jedit.View.setSplitConfig(
	at org.gjt.sp.jedit.View.(
	at org.gjt.sp.jedit.jEdit.newView(
	at org.gjt.sp.jedit.PerspectiveManager$PerspectiveHandler.endElement(
	at Source)
	at Source)
	at Source)
	at Source)
	at Source)
	at$ Source)
	at Source)
	at Source)
	at Source)
	at Source)
	at Source)
	at Source)
	at Source)
	at org.gjt.sp.util.XMLUtilities.parseXML(
	at org.gjt.sp.jedit.SettingsXML.load(
	at org.gjt.sp.jedit.PerspectiveManager.loadPerspective(
	at org.gjt.sp.jedit.EditServer.handleClient(
	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 org.gjt.sp.jedit.bsh.Reflect.invokeMethod(
	at org.gjt.sp.jedit.bsh.Reflect.invokeStaticMethod(
	at org.gjt.sp.jedit.bsh.Name.invokeMethod(
	at org.gjt.sp.jedit.bsh.BSHMethodInvocation.eval(
	at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(
	at org.gjt.sp.jedit.bsh.BSHPrimaryExpression.eval(
	at org.gjt.sp.jedit.bsh.BSHAssignment.eval(
	at org.gjt.sp.jedit.bsh.Interpreter.eval(
	at org.gjt.sp.jedit.bsh.Interpreter.eval(
	at org.gjt.sp.jedit.bsh.Interpreter.eval(
	at org.gjt.sp.jedit.BeanShellFacade._eval(
	at org.gjt.sp.jedit.BeanShellFacade.eval(
	at org.gjt.sp.jedit.BeanShell.eval(
	at org.gjt.sp.jedit.EditServer$
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at Source)
No SQL plugin properties in project viewer
Submitted by AwesomeSheltie on Tuesday, 18 August, 2009 - 13:43
Hi All, I have installed the Windows version of jEdit version 4.3 pre17 and am having trouble getting the SQL plugin installed properly. After it (jEdit and the SQL plugin)was installed, I read all the documentation and have not been able to get the SQL properties tab or tree to show up in the docked Project Viewer. Initially, I installed it via the plugin manager, but after reading the documentation, I noticed that the C:\Documents and Settings\\.jedit\sql directory was empty. So,I downloaded and manually installed the plugin, but am still having the same result. Any ideas? Since this plugin uses the project viewer plugin could it be a plugin-to-plugin problem, or am I just doing something wrong? Thanks in advance
won't start, hangs at "run startup scripts"
Submitted by hughstimson on Friday, 7 August, 2009 - 17:31
I had a functioning installation of jedit, but something changed and now it won't load.

The splash screen appears and most of the start-up steps seem to complete successfully, but when it gets to the "run statup scripts" stage it stops loading indefinitely, without any cpu activity.

I'm using 4.3pre17 on WindowsXP.

Some things I've tried:

- Starting from the command line with the -nostartupscripts argument

- Deleting startup.bsh, which (apart from readme.txt) is the only file in the startup folder.

- Uninstalling and re-installing jedit 4.3pre17

- Uninstalling, deleting the jedit program folder, and re-installing.

- Uninstalling and installing 4.2

In all cases it still won't get past "run startup scripts"

Is there a settings directory or registry entry that I should also be deleting to perform a complete uninstall? Or does someone have any ideas about how I might otherwise fix the issue?

I miss jedit.
Problem with writing a Mode
Submitted by zorglub76 on Monday, 3 August, 2009 - 13:40
hi all,

i have a problem creating a mode.
i'd like to have some highlighting on the log and i've created this:

but whenever i put anything like a regex special character (e.g. "\d") in the "end" tag, it selects everything until the end of the page.
for instance, "line " or "line 1" works ok, but "line ." is screwed

any ideas?
cannot start :java.lang.unsupporedclassveresionerror :bad versions number in .class file try updating new version of the plugin
Submitted by jagadeesh on Friday, 10 July, 2009 - 07:46
cannot start :java.lang.unsupporedclassveresionerror :bad versions number in .class file try updating new version of the plugin(lazy8ledzer)
Does plugin availability depend on the OS?
Submitted by eze on Wednesday, 1 July, 2009 - 22:28
Greetings! I have recently installed jEdit on Windows and Ubuntu. Under Windows the Plugin Manager lists some plugins not listed under Ubuntu. For instance, XML and Python Client. Is this normal? Is there a fix besides manual installation (which already gave me a few headaches)?

Thanks in advance!

FastOpen Problems
Submitted by raklet on Wednesday, 17 June, 2009 - 13:36
Using jEdit 4.3pre16
7:19:10 AM [main] [message] Log: When reporting bugs, please include the following information:
7:19:10 AM [main] [message] Log: java.version=1.6.0_13
7:19:10 AM [main] [message] Log: java.vm.version=11.3-b02
7:19:10 AM [main] [message] Log: java.runtime.version=1.6.0_13-b03
7:19:10 AM [main] [message] Log: java.vendor=Sun Microsystems Inc.
7:19:10 AM [main] [message] Log: java.compiler=null
7:19:10 AM [main] [message] Log:
7:19:10 AM [main] [message] Log: os.version=2.6.28-11-generic
7:19:10 AM [main] [message] Log: os.arch=i386
7:19:10 AM [main] [message] Log: user.home=/home/raklet
7:19:10 AM [main] [message] Log: java.home=/usr/lib/jvm/java-6-sun-
7:19:10 AM [main] [message] Log: java.class.path=/usr/share/jedit/jedit.jar

Fast open is not behaving properly. First, it does not find all of the files in my project. I have indexing set to 5 seconds and will even click on reindex to make sure it is up to date. I have hundreds of files located in dozens of directories. Here is a subset of some of my files as an example.

Directory - Sources

That is just a small sample of numerous files. In fast open, I type the letters "su" because I am looking for Subs.php. Fast open only returns one result - Subs-Post.php. It misbehaves in this way with every other file search. It will only return few or no results out of many possible. Providing a complete file name usually ends up with no match at all.

There are some errors in the activity log generated by Fast Open.

7:19:15 AM [Thread-2] [error] Thread-2: at com.patelsoft.fastopen.FastOpen.getFilePattern(
7:19:15 AM [Thread-2] [error] Thread-2: at com.patelsoft.fastopen.FastOpen.findfile(
7:19:15 AM [Thread-2] [error] Thread-2: at com.patelsoft.fastopen.FastOpen.indexingCompleted(
7:19:15 AM [Thread-2] [error] Thread-2: at com.patelsoft.fastopen.AbstractIndexManager.notifyListeners(
7:19:15 AM [Thread-2] [error] Thread-2: at com.patelsoft.fastopen.AbstractIndexManager.queryFilesFromSource(
7:19:15 AM [Thread-2] [error] Thread-2: at com.patelsoft.fastopen.PollingIndexManager.collectFiles(
7:19:15 AM [Thread-2] [error] Thread-2: at
Having trouble with whitespace plugin
Submitted by raklet on Sunday, 14 June, 2009 - 20:23
Using jedit 4.3pre16 and java 1.6.0_13 on linux.

When I first installed the whitespace plugin, it wouldn't show any whitespace characters at all. I munged these forums and online until I finally figured out that I needed to install Sun's JDK. After I installed it and restarted jedit, all was well. After a couple weeks of use, I just noticed that whitespace is not showing up again. I don't know exactly when it went away because I wasn't looking for it.

I don't mind figuring out where it went wrong, but I'm not even sure where to look. If someone could point me in the right direction, I would appreciate it.

File association issue
Submitted by ddmoore on Wednesday, 10 June, 2009 - 19:38
I'm a new user of jEdit 4.3. After installing jEdit, I found that I can no longer use links for Microsoft Live Meeting. The link is to a file called launch[1].rtc. When I click on a LiveMeeting link, jEdit opens up with the XML for connecting to the meeting rather than LiveMeeting opening up. This behavior suggests that there is a problem with file associations. However, when I check the file associations the .rtc files are associated to LiveMeeting in the registry as well as "File Types" under Folder Options. Uninstalling jEdit resolves the issue. Before permanently uinstalling jEdit and looking for another editor, I thought I would see if anyone has stumbled upon this issue or perhaps knows if jEdit has it's own set of file associations.
maya plugin loading error.
Submitted by Sorath on Wednesday, 27 May, 2009 - 00:52
hey ppls.

i downloaded the maya plugin from highend - link:

after following the installation rules as described in the tutorial:
i got the following error: (image link):

does anyone know if that could be a compatibility error with the jedit version, any ideas?

thanks in advance
i'd love to get this working, as the internal script editor from maya is totally crap.

dialog box ignores width setting
Submitted by masher on Thursday, 21 May, 2009 - 03:55
I'm using 4.2final

When doing File|Open or File|Save As, the resultant dialog box is very narrow horizontally.

If I type "jEdit.getProperty("vfs.browser.dialog.width")" into the BeanShell, I get a value of 112 (on startup - as indicated in the properties file). If I manually resize the window (by dragging its edge), and check
on the window width, I'll get a value in the range of 600-700 (depending on how I resize it). I can also set the width by jEdit.setProperty("vfs.browser.dialog.width", "650"). If I check the width by jEdit.getProperty("vfs.browser.dialog.width"), the width is reported as I have set it.

If I then try and open (or save) another file, the dialog box opens as a narrow box, and the width reverts back to 112.

I can manually set the height by either dragging the window or using jEdit.setProperty and it is remembered.
I can manually set the x position by using jEdit.setProperty and it is remembered. If I drag it, it isn't remembered.
If I try to set a y value, jEdit forgets it.

I have tried exiting jEdit and editing the properties files to change the vfs.browser.dialog.width to a larger number. If I edit it, and then check on the value (jEdit.getProperty) before opening any dialog boxes, the value is reported as I have set it. After I try to open a file, the dialog box opens up as narrow, and the dialog box width is now reported as 112.

Any ideas?
problems with error-list and console: error line numbers switch always to 1 and a new file is opened
Submitted by bseiz on Wednesday, 20 May, 2009 - 06:26

i've got problems with the error-list plugin. I have searched the forum an google and didn't find any solution for my problem.

Every time i start my batch file for compiling from console the errors were displayed correct in the error-list. Now when i klick on an error in order to jump to it then the file with the errors opens again with now content and the cursor jumps to this file of course in line number 1. After that all other line-numbers in the error-list switch to 1. Sad

So i can't use the error-list for that it was made for Sad. Can anybody help me?
(Win32 version) Files save with DOS CRLF linefeeds and/or /n line endings -- bad for Cygwin stuff.
Submitted by Silversleeves on Friday, 8 May, 2009 - 03:05
Maybe I'm missing something.

Is there a Buffer or Global Options setting in the present stable version to prevent either of these from happening when saving a file? If there isn't one, adding one would put jEdit ahead of the (lite versions of the) commercial developer-oriented text editors and definitely ahead of those emacs and vim clones that are still around for Windows and Mac OS X.

The whack-n's are particularly annoying when they appear in shell scripts in Cygwin and other Linux/Unix-es.

A cross-platform text editor should default with cross-platform file-write settings, imo, and as Mac and Windows both glom onto LF (without any /n ornamentation), logically that's the better, if not best, choice for a default.

Again, my opinion.

If I'm missing a hint or a clue as to the settings, please let me know.

Some keys don't work
Submitted by fieldrabbit21 on Saturday, 2 May, 2009 - 14:57
Recently some of my keys don't work anymore. For example capital B, the left and right arrow, Delete Key. The rest of the keys behave normally.

I'm running jedit 4.3pre14 with Java 1.6 on two machines. One is working fine, the other has the problem.
Has anyone else had this before and what was the fix?

jdiff plugin problems
Submitted by cby016 on Thursday, 30 April, 2009 - 19:33
I am using jedit 4.3pre13 with java 1.6.0_10 on linux mint. The problem I am having is that when I use the jdiff plugin, the two buffers do not scroll together. Also there are no arrows I can click on that will automatically add/remove text to the buffers. Under windows the jdiff plugin was much more functional, is there a way I can fix this in linux?
cursor turns into "no parking" sign
Submitted by keepsea on Tuesday, 28 April, 2009 - 18:26

sometimes when I am using jEdit, cursor turns into something that looks like black "no parking" sign and I cannot do anything, I cannot click anything and I have to restart X server. Is it a bug or a feature that I accidently turned on? How do I turn it off? If I turned it on I have no idea how I did that - I just noticed it usually happens when I am selecting text. Do you have any advice?

Yhank you.
Copy/Paste not working in dialog boxes (jEdit 4.3pre16)
Submitted by crodge2k on Thursday, 23 April, 2009 - 19:11
Recently changed jobs and fortunately was able to convince IT to let me install jEdit 4.3 Pre 16 (running on Java 1.6.0_13, WinXP) on my computer. Most things are working just fine, but I can't use copy or paste (C-c, C-v, C-x) in any dialog boxes -- file open, search/replace, hypersearch bar, etc. etc.

I don't think it's a bug because I was using jEdit 4.3 pre previously without an issue.

Suggestions anyone? I don't have admin rights on the machine, so it's hard to make many changes, and I don't want to ask IT to do too much because they'll ask me to switch to the standard software (I only got this installed as a favor). I've used jEdit for a couple of years now and love it -- would hate to have to switch to the "standard" software used here.
HELP - cannot save favorite folders in JEdit on Mac
Submitted by markw21 on Wednesday, 22 April, 2009 - 15:45
Hi there, When I save a favorite folder to save to / open from in the file dialog, each time I restart JEdit these favorites are lost.

Can anyone explain how I can fix this.

I have seen windows forum entries stating that the properties files for JEdit stores this information, but I cannot find this on the Mac.

I am running Mac OS X 10.5.6 and have JEdit 4.3pre16

Many thanks

Display Garbled When Using Sidekick
Submitted by proee on Thursday, 9 April, 2009 - 18:24
I've experience "display garble" for a number of years when using the sidekick plugin, it's finally to the point where I can't stand it any more - I hope there is a fix!

The problem occurs when sidekick is active and I click to save the buffer after editing some text. The document saves, but the screen then shows the characters around the cursor out of order. It appears the parser is confused somehow.

My current solution is to simply drag the divider between buffer to force the screen to redraw. This refreshes the buffer and the text is back to normal.

Has anyone else experience this issue? Any workaround?
installer jar fails
Submitted by audrey on Wednesday, 25 March, 2009 - 03:02
  • I just posted the " Connection refused" thread below, about sudden problems 4.3pre12 (it had been fine for a while). Before posting, I thought to check for a newer release and tried installing 4.3pre16 but have encountered other problems. When I try to launch the jar installer, I get the following backtrace and the installer window is blank and completely unresponsive. Anyone know what this might mean?
  • BTW, I have to use list items here because the forum otherwise disappears my newlines. Maybe allowing code blocks would be good. Also, preview only seems to work for comments, not new threads.
  • $ java -jar jedit4.3pre16install.jar
  • Locking assertion failure. Backtrace:
  • #0 /usr/lib/ [0xdfc767]
  • #1 /usr/lib/ [0xdfc831]
  • #2 /usr/lib/ [0x24bf54]
  • #3 /usr/lib/jvm/java-1.5.0-sun- [0xab22cd7e]
  • #4 /usr/lib/jvm/java-1.5.0-sun- [0xab216d47]
  • #5 /usr/lib/jvm/java-1.5.0-sun- [0xab216ec3]
  • #6 /usr/lib/jvm/java-1.5.0-sun- [0xab217106]
  • #7 [0xb4003bfa]
  • #8 [0xb3ffdb3b]
  • #9 [0xb3ffdb3b]
  • #10 [0xb3ffb219]
  • #11 /usr/lib/jvm/java-1.5.0-sun- [0xb79d82bc]
  • #12 /usr/lib/jvm/java-1.5.0-sun- [0xb7aecf98]
  • #13 /usr/lib/jvm/java-1.5.0-sun- [0xb79d80ef]
  • #14 /usr/lib/jvm/java-1.5.0-sun- [0xb7a35b9d]
  • #15 /usr/lib/jvm/java-1.5.0-sun- [0xb781f30d]
  • #16 [0xb40034ab]
  • #17 [0xb3ffda64]
  • #18 [0xb3ffb219]
  • #19 /usr/lib/jvm/java-1.5.0-sun- [0xb79d82bc]
  • Locking assertion failure. Backtrace:
  • #0 /usr/lib/ [0xdfc767]
  • #1 /usr/lib/ [0xdfc90e]
  • #2 /usr/lib/ [0x24b0e9]
  • #3 /usr/lib/ [0x241216]
  • #4 /usr/lib/jvm/java-1.5.0-sun- [0xab216089]
  • #5 /usr/lib/jvm/java-1.5.0-sun- [0xab2162d3]
  • #6 /usr/lib/jvm/java-1.5.0-sun- [0xab216f71]
  • #7 /usr/lib/jvm/java-1.5.0-sun- [0xab217106]
  • #8 [0xb4003bfa]
  • #9 [0xb3ffdb3b]
  • #10 [0xb3ffdb3b]
  • #11 [0xb3ffb219]
  • #12 /usr/lib/jvm/java-1.5.0-sun- [0xb79d82bc]
  • #13 /usr/lib/jvm/java-1.5.0-sun- [0xb7aecf98]
  • #14 /usr/lib/jvm/java-1.5.0-sun- [0xb79d80ef]
  • #15 /usr/lib/jvm/java-1.5.0-sun- [0xb7a35b9d]
  • #16 /usr/lib/jvm/java-1.5.0-sun- [0xb781f30d]
  • #17 [0xb40034ab]
  • #18 [0xb3ffda64]
  • #19 [0xb3ffb219]
User login
Browse archives
« February 2018  
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
Yes, I'd like to have translations
No, that'd be bad (please comment)
Total votes: 1092
file   ver   dls
German Localization light   51053
Context Free Art (*.cfdg)   0.31   41260
JBuilder scheme   .001   17052
BBEdit scheme   1.0   16658
ColdFusion scheme   1.0   16636
R Edit Mode - extensive version   0.1   14919
Advanced HTML edit mode   1.0   14092
Matlab Edit Mode   1.0   14037
jEdit XP icons   1.0   13463
XP icons for jEdit   1.1   12487