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: | IllegalArgumentException while opening incorrectly encoded file | ||
---|---|---|---|
Product: | platform | Reporter: | Exceptions Reporter <exceptions_reporter> |
Component: | Text | Assignee: | Miloslav Metelka <mmetelka> |
Status: | NEW --- | ||
Severity: | normal | CC: | civime, dobs, everflux, ggghhhjjj, mkhramov, nysander, rickqin, stefan79, tauner87 |
Priority: | P3 | ||
Version: | 8.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 209058 |
Attachments: |
stacktrace
stacktrace stacktrace stacktrace stacktrace |
Description
Exceptions Reporter
2014-04-10 19:14:27 UTC
Created attachment 146679 [details]
stacktrace
It seems that the problem occurs only if the file is incorrectly encoded (according to some of the comments). The exception might be handled by DocumentOpenClose (and opening of the file cancelled, or some options to recover offered). Reassigning to platform/Text. Please evaluate it. Created attachment 151130 [details]
stacktrace
Opened a XML-File, where UTF-8 - Encoding was wrong.
Created attachment 152833 [details]
stacktrace
Open UTF-8 encoded web descriptor (web.xml) file
Through our investigation, we found that the following changes may induced this bug: rank revision suspicious value 1 e9f484b32b25(http://hg.netbeans.org/main/rev/e9f484b32b25) 0.9797803303033976 2 a6b6e3cf36a4(http://hg.netbeans.org/main/rev/a6b6e3cf36a4) 0.9691635885026604 3 128de1eb603d(http://hg.netbeans.org/main/rev/128de1eb603d) 0.9472398551473254 4 89bb91a205f8(http://hg.netbeans.org/main/rev/89bb91a205f8) 0.9032302851799705 5 65e2ecb7ed51(http://hg.netbeans.org/main/rev/65e2ecb7ed51) 0.8251928907970609 6 da95a1b91da7(http://hg.netbeans.org/main/rev/da95a1b91da7) 0.8222220513217343 7 ba8e48119dd6(http://hg.netbeans.org/main/rev/ba8e48119dd6) 0.7214087283151353 8 eb3284d7cede(http://hg.netbeans.org/main/rev/eb3284d7cede) 0.680010724632216 9 5dba9a849542(http://hg.netbeans.org/main/rev/5dba9a849542) 0.6635099594617441 10 8870deb3cd89(http://hg.netbeans.org/main/rev/8870deb3cd89) 0.6179812417806869 11 4fad7eb90bc3(http://hg.netbeans.org/main/rev/4fad7eb90bc3) 0.5865800194890575 12 e596998fec11(http://hg.netbeans.org/main/rev/e596998fec11) 0.5512508083111634 13 5088def6b889(http://hg.netbeans.org/main/rev/5088def6b889) 0.5130157227999564 14 ad886f765459(http://hg.netbeans.org/main/rev/ad886f765459) 0.5028822720179316 15 b3fb8e05da46(http://hg.netbeans.org/main/rev/b3fb8e05da46) 0.48900998258474443 16 9e2bfafd4e92(http://hg.netbeans.org/main/rev/9e2bfafd4e92) 0.4721669606638476 17 f1ada0839f06(http://hg.netbeans.org/main/rev/f1ada0839f06) 0.4675901750550443 18 2afb2c7c14ae(http://hg.netbeans.org/main/rev/2afb2c7c14ae) 0.46282887231727193 19 3a8956d1bfd7(http://hg.netbeans.org/main/rev/3a8956d1bfd7) 0.43343541629458604 20 49a91224e3b4(http://hg.netbeans.org/main/rev/49a91224e3b4) 0.4115919224945939 Hope it is useful for fixing this bug. If so, please help us conduct this short survey https://docs.google.com/forms/d/1roQYX1dHezcB97KQ_iTKEtadaVbzK6FpU-6aGxeUo6M :) Thanks very much! Created attachment 155841 [details]
stacktrace
opened a JSF xhtml file
Created attachment 157871 [details]
stacktrace
UTF-8 XML-File with Encoding-Error.
This bug already has 50 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=209058 |