[
https://issues.apache.org/jira/browse/NETBEANS-916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mariano Marcolongo updated NETBEANS-916:
----------------------------------------
Description:
By clicking on the output build console with message:
--- maven-compiler-plugin:3.1:compile (default-compile) @ jmf-apps ---
Changes detected - recompiling the module!
Compiling 63 source files to /xxxxxxxxxx/target/classes
xxxxxxxxx/AboutDialog.java:[126,76] unmappable character for encoding UTF-8
A popup error came up and can't continue.
org.openide.text.DataEditorSupport$1: The file xxxxxxxx/AboutDialog.java cannot
be safely opened with encoding UTF-8. Do you want to continue opening it?
at
org.openide.text.DataEditorSupport.createAndThrowIncorrectCharsetUQE(DataEditorSupport.java:481)
at
org.openide.text.DataEditorSupport.loadFromStreamToKit(DataEditorSupport.java:471)
at
org.openide.text.DocumentOpenClose$DocumentLoad.atomicLockedRun(DocumentOpenClose.java:741)
at
org.openide.text.DocumentOpenClose$DocumentLoad.run(DocumentOpenClose.java:592)
at org.netbeans.editor.GuardedDocument.runAtomic(GuardedDocument.java:296)
at org.openide.text.NbDocument.runAtomic(NbDocument.java:411)
at
org.openide.text.DocumentOpenClose$DocumentLoad.run(DocumentOpenClose.java:632)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
at
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
was:
org.openide.text.DataEditorSupport$1: The file xxxxxxxx/AboutDialog.java cannot
be safely opened with encoding UTF-8. Do you want to continue opening it?
at
org.openide.text.DataEditorSupport.createAndThrowIncorrectCharsetUQE(DataEditorSupport.java:481)
at
org.openide.text.DataEditorSupport.loadFromStreamToKit(DataEditorSupport.java:471)
at
org.openide.text.DocumentOpenClose$DocumentLoad.atomicLockedRun(DocumentOpenClose.java:741)
at
org.openide.text.DocumentOpenClose$DocumentLoad.run(DocumentOpenClose.java:592)
at org.netbeans.editor.GuardedDocument.runAtomic(GuardedDocument.java:296)
at org.openide.text.NbDocument.runAtomic(NbDocument.java:411)
at
org.openide.text.DocumentOpenClose$DocumentLoad.run(DocumentOpenClose.java:632)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
at
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
> Cannot open File with other encoding than UTF-8
> -----------------------------------------------
>
> Key: NETBEANS-916
> URL: https://issues.apache.org/jira/browse/NETBEANS-916
> Project: NetBeans
> Issue Type: Bug
> Components: editor - Other
> Affects Versions: 9.0
> Reporter: Mariano Marcolongo
> Priority: Major
>
> By clicking on the output build console with message:
> --- maven-compiler-plugin:3.1:compile (default-compile) @ jmf-apps ---
> Changes detected - recompiling the module!
> Compiling 63 source files to /xxxxxxxxxx/target/classes
> xxxxxxxxx/AboutDialog.java:[126,76] unmappable character for encoding UTF-8
> A popup error came up and can't continue.
> org.openide.text.DataEditorSupport$1: The file xxxxxxxx/AboutDialog.java
> cannot be safely opened with encoding UTF-8. Do you want to continue opening
> it?
> at
> org.openide.text.DataEditorSupport.createAndThrowIncorrectCharsetUQE(DataEditorSupport.java:481)
> at
> org.openide.text.DataEditorSupport.loadFromStreamToKit(DataEditorSupport.java:471)
> at
> org.openide.text.DocumentOpenClose$DocumentLoad.atomicLockedRun(DocumentOpenClose.java:741)
> at
> org.openide.text.DocumentOpenClose$DocumentLoad.run(DocumentOpenClose.java:592)
> at
> org.netbeans.editor.GuardedDocument.runAtomic(GuardedDocument.java:296)
> at org.openide.text.NbDocument.runAtomic(NbDocument.java:411)
> at
> org.openide.text.DocumentOpenClose$DocumentLoad.run(DocumentOpenClose.java:632)
> at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
> at
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
> at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
> [catch] at
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists