|
From: SourceForge.net <no...@so...> - 2007-06-01 05:47:45
|
Bugs item #1729313, was opened at 2007-06-01 13:47 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100588&aid=1729313&group_id=588 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: minor bug Status: Open Resolution: None Priority: 5 Private: No Submitted By: dejafuna (dejafuna) Assigned to: Nobody/Anonymous (nobody) Summary: BeanShell Error on Loading jEdit 4.3pre9 Initial Comment: I am using jEdit 4.3pre9 in Windows XP Home with jdk1.6.0_01. I have changed the default character encoding (Under Global Options->General)to any of UTF-16/UTF-16LE/UTF-16BE. Then I restart jEdit (either by context menu, icon in start menu, or simply typing 'java -jar "C:\Program Files\jEdit\jedit.jar"' under Command Prompt), there are two pop-up BeanShell Error messages appear(see below for what the errors tells). After I pressed the OK buttons, jEdit just behaved normally. The errors are fixed after I have converted the *.bsh files in "C:\Program Files\jEdit\startup" to UTF-16 encoding, but it does not seem to be a good practice for converting these files after every time I change the default character encoding. Here are the errors: ------BeanShell Error 1------ Sourced file: C:\Program Files\jEdit\startup\getGraphicsEnvironment.bsh Token Parsing Error: Lexical error at line 1, column 4. Encountered: "\u206a" (8298), after : "": <at unknown location> at bsh.Interpreter.eval(Interpreter.java:699) at org.gjt.sp.jedit.BeanShell._runScript(BeanShell.java:341) 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) ------End of BeanShell Error 1------ ------BeanShell Error 2------ Sourced file: C:\Program Files\jEdit\startup\startup.bsh Token Parsing Error: Lexical error at line 1, column 1. Encountered: "\u2f2f" (12079), after : "": <at unknown location> at bsh.Interpreter.eval(Interpreter.java:699) at org.gjt.sp.jedit.BeanShell._runScript(BeanShell.java:341) 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) ------End of BeanShell Error 2------ ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100588&aid=1729313&group_id=588 |