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.

Bug 105918 - UnsupportedCharsetException at J2SEProjectEncodingQueryImpl.getEncoding():60
Summary: UnsupportedCharsetException at J2SEProjectEncodingQueryImpl.getEncoding():60
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: jrojcek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-06 17:22 UTC by Martin Schovanek
Modified: 2009-11-02 10:59 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
UnsupportedCharsetException (10.13 KB, text/plain)
2007-06-06 17:23 UTC, Martin Schovanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Schovanek 2007-06-06 17:22:14 UTC
[#070605, jdk1.5.0]

to reproduce:
-------------
1) set project.properties:source.encoding property to a unsupported charset name 
2) open the J2SE Project
ERROR: IDE throws:
Comment 1 Martin Schovanek 2007-06-06 17:23:49 UTC
Created attachment 43327 [details]
UnsupportedCharsetException
Comment 2 Tomas Zezula 2007-06-07 13:30:53 UTC
Checking in src/org/netbeans/modules/java/j2seproject/J2SEProject.java;
/cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/J2SEProject.java,v
 <--  J2SEProject.java
new revision: 1.91; previous revision: 1.90
done
Checking in
src/org/netbeans/modules/java/j2seproject/queries/J2SEProjectEncodingQueryImpl.java;
/cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/queries/J2SEProjectEncodingQueryImpl.java,v
 <--  J2SEProjectEncodingQueryImpl.java
new revision: 1.3; previous revision: 1.2
done
Comment 3 Tomas Zezula 2007-06-07 13:33:18 UTC
I've fixed the exception and log the project with unsupported encoding, but
there should be an UI warning user about it, something like Broken References
dialog. Or the project should be at least marked as broken and the charset name
should be red, I am not sure. Jano, do you have any idea?
Comment 4 jrojcek 2007-06-11 14:23:16 UTC
Does it mean that in the properties dialog the user can select encoding that doesn't work?
Comment 5 Martin Schovanek 2007-06-15 11:45:00 UTC
Not, you can choose only from encodings supported by current platform. But you can move the project (eg. cvs
commit/checkout) on other platform where the original encoding is not supported (valid).
Comment 6 Jiri Prox 2007-09-17 20:34:50 UTC
Obsolete milestone, please reevaluate
Comment 7 Jan Becicka 2008-11-12 07:53:03 UTC
Jan please evaluate. Thanks
Comment 8 David Strupl 2009-03-31 15:57:31 UTC
Resolving all issues with milestone "future" as LATER. If you feel strongly that
it should be implemented please reopen and set the target milestone to "next".
Comment 9 Quality Engineering 2009-11-02 10:59:27 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX