This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | org.openide.text.DataEditorSupport$1: The file cannot be safely opened with encoding UTF-8. Do you want to continue opening it? | ||
---|---|---|---|
Product: | platform | Reporter: | emiddio <emiddio> |
Component: | Data Systems | Assignee: | Vladimir Voskresensky <vv159170> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gtzabari, n0dwis |
Priority: | P3 | ||
Version: | 7.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 178110 |
Attachments: |
stacktrace
File triggering a warning dialog (not exception) |
Description
emiddio
2011-05-13 08:34:29 UTC
Created attachment 108267 [details]
stacktrace
can you attach file which is opened with exception? build 201105190400 seems to pop up a warning dialog instead of throwing an exception. I'll attach the file triggering the warning dialog, just in case. Created attachment 108618 [details]
File triggering a warning dialog (not exception)
(In reply to comment #4) > Created an attachment (id=108618) [details] > File triggering a warning dialog (not exception) Thanks for the sample file. Btw, this file is not in UTF-8 encoding, so IDE is not doing mistake by showing dialog, right? More other encoding can not be 100% reliably detected for this file i.e. by gedit as well. What have you expected instead? Thanks, Vladimir. Vladimir, The problem was that Netbeans was throwing an exception as opposed to showing a dialog. As I mentioned, I cannot reproduce the problem in dev build 201105190400 but I remember seeing it in the past. It's possible this issue is fixed. (In reply to comment #6) > It's possible this issue is > fixed. Ok. I see. Does Anyone else have still reproducible exception-based scenario? If yes, please, reopen with file and testcase. |