From: <no...@so...> - 2001-10-21 11:43:50
|
Bugs item #467707, was opened at 2001-10-03 18:42 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=100588&aid=467707&group_id=588 Category: editor core Group: severe bug >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Exception in WorkerThread on open Initial Comment: I cannot open any files after upgrading to 3.2.2 I've tried recreating my .jedit directory, and removing all plugins. Here's the data: [message] java.version=1.3.1 [message] java.vendor=Sun Microsystems Inc. [message] java.compiler=null [message] os.name=SunOS [message] os.version=5.8 [message] os.arch=x86 [message] user.home=/export/home/petey [message] java.home=/usr/java1.3/jre [message] java.class.path=/usr/local/jedit/jedit.jar TRying to open a file gives: [error] Exception in work thread: [error] java.lang.ClassCastException: java.lang.Integer [error] at org.gjt.sp.jedit.io.BufferIORequest.read(BufferIORequest.java:309) [error] at org.gjt.sp.jedit.io.BufferIORequest.load(BufferIORequest.java:175) [error] at org.gjt.sp.jedit.io.BufferIORequest.run(BufferIORequest.java:102) [error] at org.gjt.sp.util.WorkThread.doRequest(WorkThread.java:193) [error] at org.gjt.sp.util.WorkThread.doRequests(WorkThread.java:160) [error] at org.gjt.sp.util.WorkThread.run(WorkThread.java:134) and I receive an empty buffer. Trying to close the empty file gives: [error] Exception occurred during event dispatching: [error] java.lang.ClassCastException: java.lang.Integer [error] at org.gjt.sp.jedit.jEdit.closeAllBuffers(jEdit.java:1446) [error] at org.gjt.sp.jedit.jEdit.exit(jEdit.java:1845) [error] at org.gjt.sp.jedit.jEdit.closeView(jEdit.java:2682) [error] at org.gjt.sp.jedit.jEdit.closeView(jEdit.java:1701) [error] at org.gjt.sp.jedit.View$WindowHandler.windowClosing(View.java:1055) [error] at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:290) [error] at java.awt.Window.processWindowEvent(Window.java:800) [error] at javax.swing.JFrame.processWindowEvent(JFrame.java:237) [error] at java.awt.Window.processEvent(Window.java:776) [error] at java.awt.Component.dispatchEventImpl(Component.java:2593) [error] at java.awt.Container.dispatchEventImpl(Container.java:1213) [error] at java.awt.Window.dispatchEventImpl(Window.java:914) [error] at java.awt.Component.dispatchEvent(Component.java:2497) [error] at java.awt.EventQueue.dispatchEvent(EventQueue.java:339) [error] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131) [error] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98) [error] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) [error] at java.awt.EventDispatchThread.run(EventDispatchThread.java:85) Hope this is an easy fix, I'd hate to have to go back to using vi. ---------------------------------------------------------------------- >Comment By: Slava Pestov (spestov) Date: 2001-10-21 04:43 Message: Logged In: YES user_id=2280 fixed in next release. ---------------------------------------------------------------------- Comment By: Slava Pestov (spestov) Date: 2001-10-03 21:21 Message: Logged In: YES user_id=2280 Open the file $HOME/.jedit/properties in another text editor (create it if it doesn't exist) and add this line to the end of the line: buffer.encoding=8859_1 ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=100588&aid=467707&group_id=588 |