jEdit Community - Resources for users of the jEdit Text Editor
Archives
ProjectViewer crash
Submitted by red63 on Thursday, 17 May, 2007 - 16:02
Hello,

i seem to have a problem with ProjectViewer (it worked fine till yesterday): when clicking on it's tab it crashes with:

java.lang.NullPointerException at projectviewer.ProjectManager.loadConfig(ProjectManager.java:188) at projectviewer.ProjectManager.(ProjectManager.java:131) at projectviewer.ProjectManager.getInstance(ProjectManager.java:101) at projectviewer.config.ProjectViewerConfig.getLastNode(ProjectViewerConfig.java:563) at projectviewer.ProjectViewer.getActiveNode(ProjectViewer.java:775) at projectviewer.gui.GroupMenu.populate(GroupMenu.java:105) at projectviewer.gui.ProjectComboBox.updateMenu(ProjectComboBox.java:104) at projectviewer.gui.ProjectComboBox.(ProjectComboBox.java:93) at projectviewer.ProjectViewer.buildGUI(ProjectViewer.java:981) at projectviewer.ProjectViewer.(ProjectViewer.java:911) 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:274) at bsh.Reflect.constructObject(Reflect.java:668) at bsh.BSHAllocationExpression.constructObject(BSHAllocationExpression.java:123) at bsh.BSHAllocationExpression.objectAllocation(BSHAllocationExpression.java:114) at bsh.BSHAllocationExpression.eval(BSHAllocationExpression.java:62) 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 org.gjt.sp.jedit.BeanShell.eval(BeanShell.java:410) at org.gjt.sp.jedit.gui.DockableWindowManager$Factory.createDockableWindow(DockableWindowManager.java:533) at org.gjt.sp.jedit.gui.DockableWindowManager.showDockableWindow(DockableWindowManager.java:742) at org.gjt.sp.jedit.gui.PanelWindowContainer$ActionHandler.actionPerformed(PanelWindowContainer.java:399) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1819) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1872) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:273) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:247) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231) at java.awt.Component.processMouseEvent(Component.java:5166) at java.awt.Component.processEvent(Component.java:4963) at java.awt.Container.processEvent(Container.java:1613) at java.awt.Component.dispatchEventImpl(Component.java:3681) at java.awt.Container.dispatchEventImpl(Container.java:1671) at java.awt.Component.dispatchEvent(Component.java:3543) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3527) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3242) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3172) at java.awt.Container.dispatchEventImpl(Container.java:1657) at java.awt.Window.dispatchEventImpl(Window.java:1606) at java.awt.Component.dispatchEvent(Component.java:3543) at java.awt.EventQueue.dispatchEvent(EventQueue.java:480) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170) at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

can anybody help me ?

Here's my config:

  • MacOSX 10.3.9
  • Java 1.4.2_12
  • Jedit 4.2final
  • projectviewer 2.1.3.7
Cheers, Reiner
Using jEdit on a thumb drive?
Submitted by puznee on Thursday, 17 May, 2007 - 19:25
Hi,
I'd like to be able to carry jEdit around on my thumb drive: complete with settings, plugins, etc. I noticed that you can change the jedit settings directory with a command-line option, like so:
jedit.jar -settings="c:\gabe\jedit_settings"

However I can't use an absolute path (the drive-letter assigned to my drive varies from machine to machine). Is there a way to specify a relative directory instead?

Thanks,
Gabe
bsh.InterpreterError: null variable value (Mac OS)
Submitted by stavros on Friday, 18 May, 2007 - 12:51
Hi all,

jEdit has been broken for me for the longest time, but I'd like to get it back up on its feet so I can play with it again.

I'm running the latest 4.3pre and on startup (and every other second as the program continues) I keep getting a "bsh.InterpreterError: null variable value" error window popping up (stack trace pasted below).

A similar error pops up when I hit backspace or enter in the editor. Try and browse through the jEdit preferences (they're all empty for me) ... pretty much any action I take is hosed.

I'm not sure what's wrong. I'm on an Intel Mac (10.4.9), Java 1.5, my environment vars are set appropriately (JDK_HOME, PATH), I've blown out my ~/.jedit folder over and over, nothing I do works.

Has anybody ran into this problem before? I searched on the boards + mailing list but didn't find anything.

Thanks,
-steve


bsh.InterpreterError: null variable value
at bsh.NameSpace.setVariable(Unknown Source)
at bsh.NameSpace.setVariable(Unknown Source)
at org.gjt.sp.jedit.BeanShell.resetDefaultVariables(BeanShell.java:687)
at org.gjt.sp.jedit.BeanShell._runScript(BeanShell.java:370)
at org.gjt.sp.jedit.BeanShell._runScript(BeanShell.java:286)
at org.gjt.sp.jedit.BeanShell.runScript(BeanShell.java:212)
at org.gjt.sp.jedit.Macros$BeanShellHandler.runMacro(Macros.java:1019)
at org.gjt.sp.jedit.jEdit.runStartupScripts(jEdit.java:3407)
at org.gjt.sp.jedit.jEdit.main(jEdit.java:464)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at apple.launcher.LaunchRunner.run(LaunchRunner.java:88)
at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
new ruby language mode (ruby.xml v0.7.0 by Jim Morris)
Submitted by wolfmanjm on Friday, 18 May, 2007 - 22:41
Note This version is probably incompatible with the ruby macros and ruby plugin, it is intented for those that want correct ruby auto indentation without the other ruby plugin features. Works with Jedit >= 4.3pre9. I use the new unindentThisLine and unindentNextLines and the ElectricKeys to do the indentation. Basically the improvements are... 1. else, elsif, rescue, end - will unindent immediately when you type the final character just like } does (ie e from else f for elsif d from end etc the electric part of ElectricKeys) 2. added support for blah.each do |f| syntax which now indents correctly There is at least one unfortunate side effect which doesn't seem to bother me too much (YMMV), if you type some manual indentation at the start of the line, and then one of the electric keys (d e f) the line will indent to the current indentation level.
SQL problem
Submitted by andersos on Sunday, 20 May, 2007 - 10:20
Hello,

I'm back to using jEdit after a couple of years away from coding. I wanted to use SQL plugin, so I set up a MySQL connection in Project Viewer plugin. At first it works, but after some time the SQL plugin seem to loose the connection setting - it disappears from the "Choose the server" dialogue. The connection remains in Project Viewer.

Please advice.
Can't type 'C' or 'a'
Submitted by maxpower on Sunday, 20 May, 2007 - 21:16
I haven't used Jedit in a while but I needed it yesterday and every time I typed a 'C' or an 'a' the computer beeped at me. I could see that there was a 'C' or an 'a' at the bottom as if I was typing in some sort of key combination and it was awaiting the next key. How do I fix this?

I just upgraded to 4.3 and I have the same problem

I am running Java 1.5 on Linux

Thanks
Keyboard shortcuts mapping incorrect with dvorak configuration
Submitted by chovain on Monday, 21 May, 2007 - 04:30
I am running Jedit 4.2 on a Suse system. I think it is running with JRE 1.6 (That's the jre on my path), but I'm not sure how to confirm which version jedit is running with.

My machine is configured with a Dvorak key mapping. This works fine when I'm typing into jedit buffers, but my shortcut bindings seem to use a qwerty layout. For example, us dvorak users get into the habit of physically hitting Ctrl+I instead of Ctrl+C for copy (our 'I' key normally types a 'C'), but that gets literally interpreted as Ctrl-I.

I realise this might be desired behaviour for some users (especially those new to dvorak), but is there a way of having keyboard shortcuts interpreted the same way as normal keystrokes (the way every other app works)?
Vim like omnicomplete
Submitted by beaubert on Monday, 21 May, 2007 - 10:38
Hi all,

Jedit is becoming better and better and to me there are only one or two features that will make Jedit THE perfect editor.

One of those features (before a real terminal or ssh plugin) is a completion feature like vim 7 omnicomplete for python, C, C++, ...

Is this kind of feature intersting for other users ?

Any way thank your very much for this very good software
Fedora Core 6 Jedit
Submitted by putta_ on Monday, 21 May, 2007 - 12:39
HI, I can't start my jedit appliction in my fedora os.

Error I get is

GC Warning: Out of Memory! Returning NIL!
Exception in thread "main" GC Warning: Out of Memory! Returning NIL!
GC Warning: Out of Memory! Returning NIL!
*** Catastrophic failure while handling uncaught exception.

what shall I do?

thanks in advance, Patrik
PHP Edit Mode (php.xml v1.0 by Stacey Abshire)
Submitted by sabshire on Tuesday, 22 May, 2007 - 15:29
Updated the PHP Mode by blueyed to include proper highlighting of the "instanceof" construct. instanceof is highlighted as OPERATOR and the class name that follows is highlighted as KEYWORD4.
How to get XML Insert to work in child files?
Submitted by Pattew on Wednesday, 23 May, 2007 - 10:27
If I have a root file that uses a DTD file, and I have every chapter linked to their own files. What should I do to get the child files to use the same DTD file so XML Insert works??
Greatful for any answer...
console / ssh
Submitted by misterdanny on Sunday, 27 May, 2007 - 17:15
I have the Console and FTP plugins, what i want to do is connect to my ssh server to upload download things, and also be able to use the command line to work on my ssh server (do it all from jedit instead of having to open another ssh console just for doing console commands)

is this possible in any way?
SideKick Documentation
Submitted by kensuguro on Tuesday, 29 May, 2007 - 23:07
Hey, I'm looking to use jEdit as an actionscript 3 editor, and am interested to see how the SideKick plugin can be extended to provide basic code completion.

I installed SideKick and also CTagsSideKick, and saw that CTagsSideKick was more of a navigation / code viewing plugin rather than a context aware dynamic code completion. (functions got added to the tree as you imported, and created them) I'm wondering if there is a community based around SideKick, or if there is more documentation I can read up on?
SideKick Documentation
Submitted by kensuguro on Tuesday, 29 May, 2007 - 23:08
Hey, I'm looking to use jEdit as an actionscript 3 editor, and am interested to see how the SideKick plugin can be extended to provide basic code completion.

I installed SideKick and also CTagsSideKick, and saw that CTagsSideKick was more of a navigation / code viewing plugin rather than a context aware dynamic code completion. (functions got added to the tree as you imported, and created them) I'm wondering if there is a community based around SideKick, or if there is more documentation I can read up on?
Reparsing/Re-validating XML
Submitted by frodesto on Wednesday, 30 May, 2007 - 13:22
Hi.

I have installed the XML and Sidekick plugins. When I open an XML file the Sidekick plugin says initially sayes "Not parsed" and I have to select "File->Reload" in order to get Sidekick to parse the file and display the document tree. This seems a bit odd, is there some way to make Sidekick parse the file the first time it is opened?

A related question. Is there an easy way to make the XML plugin reparse and re-validate the XML document? This only seems to happen when I reload the file.
How to compile java files from inside JEdit and get the output
Submitted by varuna on Saturday, 2 June, 2007 - 07:09
I downloded and installed JEdit in windows xp 2003 server but I can't figure out the way of compiling and geting the output of java files from inside JEdit
pl's let me Know this
Thanks Varuna
How to compile java files from inside JEdit and get the output
Submitted by varuna on Saturday, 2 June, 2007 - 07:10
I downloded and installed JEdit in windows xp 2003 server but I can't figure out the way of compiling and geting the output of java files from inside JEdit
pl's let me Know this
Thanks Varuna
saving options
Submitted by joed on Saturday, 2 June, 2007 - 19:35
I'm new to jedit. I change the global options (font etc.), edit files, and exit. When I bring up jedit again it has gone back the default options not mine. How do I make it save my options? I didn't see anything about saving options in faq or guide, so I assume it should be automatic. I'm using the latest on windows.
Processor goes full on 100%
Submitted by George Dunham on Monday, 4 June, 2007 - 20:01
Hi All

I am a noob with jEdit and quite impressed with it. I have it installed in both Fiesty Fawn and M$ XP.

All seemed well at first then while working out an issue with a user on Pidgin the CPU locked up & I noticed the fan going full. Power KILL was the only way left available to recover control.

I've since paid more attention and it seems I get between 30 & 10 minutes operation of jEdit before I notice the fan and task manager reporting 100% CPU usage. Memory usage seems to remain at normal levels.

Terminating jEdit restored CPU usage to normal levels immediately & I can reload with out issues. Doing this several times today I began to be aware the runtimes were getting shorter. Finally it got down to under 10 minutes.

At this point I re-installed this time ensuring all the install options were included (Complete Install). I also selected to install the launcher that starts at boot.

In approximately 12 minutes I noticed the CPU at 100% and the fan running. I saved my work and exited the program. This time the CPU usage remained at 100%. I then killed the jEdit (sp) process. CPU usage returned to normal levels and I built the config data block I'll include near the end of this post. ~30 minutes with no CPU issues.

Are others seeing this behavior?

My Config:
Processor thread over run
jEdit version 4.3Pre9
Java version 6 update 1 Verified at Sun's web site
Version 1.6.0 (build 1.6.0_01-b06)
Plugins:
Archive
Background
Beauty
Bookmarks
Buffer Selector
Buffer List
BufferLocal
BufferTabs
Character Map
Clipper
Color Chooser
Column Ruler
Common Controls
Console
Context Menu
CssEditor
Editor Scheme
Emacs Browser
ErrorList
Fast Open
FindFile
FTP
Hex Edit
Info Viewer
Jakarta Commons
JDiff Plugin
Latest Version Check
Line Guides
LookAndFeel
MacroManager
MouseSnap
Navigator
Project Viewer
Project wixard
QuickNotepad
Recent
Recursive Open
Rename
SendBuffer
Shortcut Saver
ShortcutDisplay
SideKick
Spell Check
SuperAbbrevs
SuperScript
SwitchBuffer
Templates
Text Filter
TextAutocomplete
TextTools
WhiteSpace
XercesPlugin
XML
XSearch
Any and all info to help resolve this will be deeply appreciated.
Thanks.
jEdit JNLP support?
Submitted by CapM on Tuesday, 5 June, 2007 - 12:40
Is there any special reason why jEdit does not have a JNLP installer? I think it would be a nice Feature, especially if it could help to keep your jEdit install current, without the need to reinstall in different directories. Not to mention the ability to install it with one click on your coworkers machines to convert them from other editors... Eye-wink Comments plx!
User login
Browse archives
« May 2007 »
MoTuWeThFrSaSu
 
1
2
4
6
7
12
19
21
24
25
26
28
31
 
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   108250
Context Free Art (*.cfdg)   0.31   46071
BBEdit scheme   1.0   18607
JBuilder scheme   .001   18508
ColdFusion scheme   1.0   18041
R Edit Mode - extensive version   0.1   17488
Advanced HTML edit mode   1.0   16222
Matlab Edit Mode   1.0   16086
jEdit XP icons   1.0   15245
XP icons for jEdit   1.1   14309