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: | [71cat] org.openide.text.DataEditorSupport$1: The file cannot be safely opened with encoding UTF-8. Do you want to continue opening it? | ||
---|---|---|---|
Product: | python | Reporter: | paolosca <paolosca> |
Component: | Editor | Assignee: | Lou Dasaro <mr_lou_d> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | abien, alaksundar, Alniks, averri, Billo, bokc, carljmosca, cristian_radulescu, dagguh, damir.mitrovic, david.zapata, diesil, djpable, emiddio, enydrueda, fabriziogiudici, fleka, FrantaM, gtzabari, Herr_Nilsson, ionuion, jarome, javydreamercsw, jbsabmello, jocke, jomello_br, jyeary, kalwi, karianna, KhArtNJava, kosmonaffft, lalbertme, leisenfelder, lolo_101, marcomsousa, medeag, misterm, muhammadghazali, n0dwis, nashuald, oj-nb, onmomo, pekarna, pietrangelo, rdion, reinouts, rjdkolb, rodrigorsantos, rudyment, sebglon, shmaltorhbooks, stefanocrosta, t3_chris, timhaak, trozzonick, twolf2919, vinaykrsharma1986, walid25 |
Priority: | P2 | ||
Version: | 7.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 184127 |
Attachments: |
stacktrace
stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace |
Description
paolosca
2012-01-03 15:28:04 UTC
Created attachment 114587 [details]
stacktrace
Created attachment 115930 [details]
stacktrace
Opening files
i generate a new project java ee with Imports an existing Enterprise application client into a standard IDE project. My problem is a compile error " unmappable character for encoding UTF-8": If i try to open the file i get: The file cannot be safely opened with encoding UTF-8. Do you want to continue opening it? DataSupportEditor throws regular UserQuestionException, which is an IOException. The proper behavior of the code should be to cache UserQuestionException, ask the user and re-run the action. This is documented at http://bits.netbeans.org/dev/javadoc/org-openide-util/org/openide/util/UserQuestionException.html The callers that need to deal with UserQuestionException include: gianlucacosta86.easypmd2.ide.editor.GuardedSectionsAnalyzer.<init> org.netbeans.modules.gsf.spi.GsfUtilities.getDocument(GsfUtilities.java:206) http://statistics.netbeans.org/exceptions/messageslog?id=562420 Most of the recent problems seem to be caused by Gian Luca, but rather moving to Gsf as that is our code and we can fix it. *** Bug 208966 has been marked as a duplicate of this bug. *** It's fixed in csl in org.netbeans.modules.csl.spi.GsfUtilities. This is a bug in gsf which is in contrib, therefore I reassign it to python. Created attachment 119709 [details]
stacktrace
Formatting a project (right click on project)
Created attachment 120738 [details]
stacktrace
Clciked on link in output window after a Maven compilation error (Unmappable character for encoding UTF-8)
I believe is a ?
Created attachment 121470 [details]
stacktrace
Created attachment 121471 [details]
stacktrace
Created attachment 121511 [details]
stacktrace
I've seen similar exception in CND module when try to reformat sources in all project... See bug http://netbeans.org/bugzilla/show_bug.cgi?id=219275 Created attachment 125971 [details]
stacktrace
Created attachment 134493 [details]
stacktrace
click on the warning while buildling maven app
Because this is now assigned to Python, I am resolving it as a DUPLICATE of the Umbrella Bug 153498 - "Provide support for UTF-8", which is now being addressed. If this problem affects you, please follow it there. If this is a non-Python problem, please search for "UTF" and the product affected or file a new bug. Thank you. *** This bug has been marked as a duplicate of bug 153498 *** |