Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 65046 - text editor stops working
Summary: text editor stops working
Status: RESOLVED DUPLICATE of bug 66357
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: 3.0 RC2   Edit
Assignee: Kai-Uwe Maetzel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-01 12:22 EDT by Rafael Chaves CLA
Modified: 2004-06-09 13:37 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Chaves CLA 2004-06-01 12:22:46 EDT
3.0 RC1

VM: IBM JDK 1.4.1 (does not happen with Sun's VM, because it tolerates invalid
encodings silently)

Steps to reproduce:
1 - Create a simple project
2 - Create a text file (file.txt), write a simple string like: "this is a test"
3 - Close the editor
4 - change the project encoding to be UTF-16
5 - try opening the file with the text editor - it will fail because the
contents cannot be read using the configured encoding (this behavior is
IBM-specific)
6 - leaving the "Error editor" opened, open the file using the system editor
(Notepad?), make some changes, save and close
7 - back to Eclipse, only closing the "Error editor" will cause the dialog that
prompts the user whether the external changes should be loaded. Dismiss the
dialog choosing whatever option you want.
8 - try opening any file in the workspace using the text editor - it will always
fail with no feedback to the user (no message, no log entry), just stops working
Comment 1 Kai-Uwe Maetzel CLA 2004-06-09 13:37:45 EDT

*** This bug has been marked as a duplicate of 66357 ***