[jira] [Commented] (NETBEANS-5095) Encoding of sources get lost on transition from Ant to Gradle

2020-12-04 Thread Nikolai Varankine (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17244061#comment-17244061
 ] 

Nikolai Varankine commented on NETBEANS-5095:
-

For build purposes, the "build.gradle" contains next code:
{code:java}
apply plugin: 'java'
tasks.withType(JavaCompile) {
  options.encoding = "UTF-8"{code}

> Encoding of sources get lost on transition from Ant to Gradle
> -
>
> Key: NETBEANS-5095
> URL: https://issues.apache.org/jira/browse/NETBEANS-5095
> Project: NetBeans
>  Issue Type: Improvement
>  Components: projects - Gradle
>Affects Versions: 12.0
>Reporter: Nikolai Varankine
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: editor, encoding, gradle
>
> I've completed transition of legacy NetBeans Java project (it builds library 
> code with Ant) to Gradle type. Gradle project builds fine. The last 
> unresolved problem is with IDE editor that displays source files in system's 
> "windows1251" encoding rather than in "utf-8". Code checker reports errors 
> for them. Project's Properties/Sources tab no longer has a field to set 
> common encoding for sources. So editor mistakenly applies system's encoding 
> while sources went from Git where they are stored in UTF-8.
> Partial work-around was found with [optional plugin|[Gradle / Netbeans - 
> Howto set encoding to UTF-8 in Editor and Compiler - Stack 
> Overflow|https://stackoverflow.com/questions/59800221/gradle-netbeans-howto-set-encoding-to-utf-8-in-editor-and-compiler/65136172#65136172]].
>  That's fine for small project but mine contains 1500+ source files so this 
> solution doesn't look reasonable. Moreover, I'm not sure it's portable 
> because I see no changes in project's file tree.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-5095) Encoding of sources get lost on transition from Ant to Gradle

2020-12-04 Thread Nikolai Varankine (Jira)
Nikolai Varankine created NETBEANS-5095:
---

 Summary: Encoding of sources get lost on transition from Ant to 
Gradle
 Key: NETBEANS-5095
 URL: https://issues.apache.org/jira/browse/NETBEANS-5095
 Project: NetBeans
  Issue Type: Improvement
  Components: projects - Gradle
Affects Versions: 12.0
Reporter: Nikolai Varankine
Assignee: Laszlo Kishalmi


I've completed transition of legacy NetBeans Java project (it builds library 
code with Ant) to Gradle type. Gradle project builds fine. The last unresolved 
problem is with IDE editor that displays source files in system's "windows1251" 
encoding rather than in "utf-8". Code checker reports errors for them. 
Project's Properties/Sources tab no longer has a field to set common encoding 
for sources. So editor mistakenly applies system's encoding while sources went 
from Git where they are stored in UTF-8.
Partial work-around was found with [optional plugin|[Gradle / Netbeans - Howto 
set encoding to UTF-8 in Editor and Compiler - Stack 
Overflow|https://stackoverflow.com/questions/59800221/gradle-netbeans-howto-set-encoding-to-utf-8-in-editor-and-compiler/65136172#65136172]].
 That's fine for small project but mine contains 1500+ source files so this 
solution doesn't look reasonable. Moreover, I'm not sure it's portable because 
I see no changes in project's file tree.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-4407) Netbeans can occasionally stall on exit

2020-08-06 Thread Nikolai Varankine (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-4407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17172708#comment-17172708
 ] 

Nikolai Varankine commented on NETBEANS-4407:
-

Reason: As reported by Windows Task Manager, NetBeans executable waits for 
network I/O finish but the last one doesn't happen.

The issue is a regression if checked vs. NetBeans version 8.2.

> Netbeans can occasionally stall on exit
> ---
>
> Key: NETBEANS-4407
> URL: https://issues.apache.org/jira/browse/NETBEANS-4407
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.3
>Reporter: Nikolai Varankine
>Priority: Major
> Attachments: NetBeansGUI.txt, NetBeansGUI2.txt
>
>
> Netbeans can occasionally stall on exit from debug, with no direct reason to 
> the failure. It appears like a regression since version 11.1. Possible causes 
> are following:
>  * While NetBeans loads XML files (resources of a project) on start-up, 
> multiple similar errors were logged. No other harm was noticed. A reason - 
> XML parser meets non ASCII symbol in file path. See attachment for excerpt 
> from the log 
> (C:\Users\xx\AppData\Roaming\NetBeans\11.3\var\log\messages.log).
> {color:#de350b}com.sun.org.apache.xerces.internal.util.URI$MalformedURIException:
>  Path contains invalid character: Н{color}
>  * Editing of Java file(s) is employed as a regular practice during debug 
> session. See attachment for excerpt from the same log. But I wonder files 
> mentioned there were not edited this time.
> A typical path to error:
>  # Start NetBeans; it loads last projects.
>  # Start debug session for active project. Edit some Java or XML files, save.
>  # Normally exit from debugged application. After that, I can occasionally 
> find NetBeans GUI not responding and have to use Windows Task Manager to kill 
> NetBeans process.
>  # Nothing seriously wrong is found in the next launch of NetBeans. 
> Configuration, in part of automatically opened files, is found obsolete. I 
> link it to enforced kill of stalled NetBeans process.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-4407) Netbeans can occasionally stall on exit

2020-07-04 Thread Nikolai Varankine (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-4407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17151338#comment-17151338
 ] 

Nikolai Varankine commented on NETBEANS-4407:
-

It really consumes 0.5% CPU. GUI is not responsive.

> Netbeans can occasionally stall on exit
> ---
>
> Key: NETBEANS-4407
> URL: https://issues.apache.org/jira/browse/NETBEANS-4407
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.3
>Reporter: Nikolai Varankine
>Priority: Major
> Attachments: NetBeansGUI.txt, NetBeansGUI2.txt
>
>
> Netbeans can occasionally stall on exit from debug, with no direct reason to 
> the failure. It appears like a regression since version 11.1. Possible causes 
> are following:
>  * While NetBeans loads XML files (resources of a project) on start-up, 
> multiple similar errors were logged. No other harm was noticed. A reason - 
> XML parser meets non ASCII symbol in file path. See attachment for excerpt 
> from the log 
> (C:\Users\xx\AppData\Roaming\NetBeans\11.3\var\log\messages.log).
> {color:#de350b}com.sun.org.apache.xerces.internal.util.URI$MalformedURIException:
>  Path contains invalid character: Н{color}
>  * Editing of Java file(s) is employed as a regular practice during debug 
> session. See attachment for excerpt from the same log. But I wonder files 
> mentioned there were not edited this time.
> A typical path to error:
>  # Start NetBeans; it loads last projects.
>  # Start debug session for active project. Edit some Java or XML files, save.
>  # Normally exit from debugged application. After that, I can occasionally 
> find NetBeans GUI not responding and have to use Windows Task Manager to kill 
> NetBeans process.
>  # Nothing seriously wrong is found in the next launch of NetBeans. 
> Configuration, in part of automatically opened files, is found obsolete. I 
> link it to enforced kill of stalled NetBeans process.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-4407) Netbeans can occasionally stall on exit

2020-06-22 Thread Nikolai Varankine (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-4407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17141987#comment-17141987
 ] 

Nikolai Varankine commented on NETBEANS-4407:
-

Confirmed for version 12.0 


*Product Version:* Apache NetBeans IDE 12.0

*Java:* 13; OpenJDK 64-Bit Server VM 13+33

*Runtime:* OpenJDK Runtime Environment 13+33

*System:* Windows 10 version 10.0 running on amd64; Cp1251; ru_RU (nb)

> Netbeans can occasionally stall on exit
> ---
>
> Key: NETBEANS-4407
> URL: https://issues.apache.org/jira/browse/NETBEANS-4407
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 11.3
>Reporter: Nikolai Varankine
>Priority: Major
> Attachments: NetBeansGUI.txt, NetBeansGUI2.txt
>
>
> Netbeans can occasionally stall on exit from debug, with no direct reason to 
> the failure. It appears like a regression since version 11.1. Possible causes 
> are following:
>  * While NetBeans loads XML files (resources of a project) on start-up, 
> multiple similar errors were logged. No other harm was noticed. A reason - 
> XML parser meets non ASCII symbol in file path. See attachment for excerpt 
> from the log 
> (C:\Users\xx\AppData\Roaming\NetBeans\11.3\var\log\messages.log).
> {color:#de350b}com.sun.org.apache.xerces.internal.util.URI$MalformedURIException:
>  Path contains invalid character: Н{color}
>  * Editing of Java file(s) is employed as a regular practice during debug 
> session. See attachment for excerpt from the same log. But I wonder files 
> mentioned there were not edited this time.
> A typical path to error:
>  # Start NetBeans; it loads last projects.
>  # Start debug session for active project. Edit some Java or XML files, save.
>  # Normally exit from debugged application. After that, I can occasionally 
> find NetBeans GUI not responding and have to use Windows Task Manager to kill 
> NetBeans process.
>  # Nothing seriously wrong is found in the next launch of NetBeans. 
> Configuration, in part of automatically opened files, is found obsolete. I 
> link it to enforced kill of stalled NetBeans process.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-4407) Netbeans can occasionally stall on exit

2020-06-03 Thread Nikolai Varankine (Jira)
Nikolai Varankine created NETBEANS-4407:
---

 Summary: Netbeans can occasionally stall on exit
 Key: NETBEANS-4407
 URL: https://issues.apache.org/jira/browse/NETBEANS-4407
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 11.3
Reporter: Nikolai Varankine
 Attachments: NetBeansGUI.txt, NetBeansGUI2.txt

Netbeans can occasionally stall on exit from debug, with no direct reason to 
the failure. It appears like a regression since version 11.1. Possible causes 
are following:
 * While NetBeans loads XML files (resources of a project) on start-up, 
multiple similar errors were logged. No other harm was noticed. A reason - XML 
parser meets non ASCII symbol in file path. See attachment for excerpt from the 
log (C:\Users\xx\AppData\Roaming\NetBeans\11.3\var\log\messages.log).
{color:#de350b}com.sun.org.apache.xerces.internal.util.URI$MalformedURIException:
 Path contains invalid character: Н{color}
 * Editing of Java file(s) is employed as a regular practice during debug 
session. See attachment for excerpt from the same log. But I wonder files 
mentioned there were not edited this time.

A typical path to error:
 # Start NetBeans; it loads last projects.
 # Start debug session for active project. Edit some Java or XML files, save.
 # Normally exit from debugged application. After that, I can occasionally find 
NetBeans GUI not responding and have to use Windows Task Manager to kill 
NetBeans process.
 # Nothing seriously wrong is found in the next launch of NetBeans. 
Configuration, in part of automatically opened files, is found obsolete. I link 
it to enforced kill of stalled NetBeans process.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-2356) Clean+Build fires MalformedInputException

2019-09-01 Thread Nikolai Varankine (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nikolai Varankine updated NETBEANS-2356:

Fix Version/s: 11.1

> Clean+Build fires MalformedInputException
> -
>
> Key: NETBEANS-2356
> URL: https://issues.apache.org/jira/browse/NETBEANS-2356
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
>Reporter: Nikolai Varankine
>Priority: Major
>  Labels: ant, javac
> Fix For: 11.1
>
> Attachments: NB10wJDK8.zip, build.txt, clean+build.txt
>
>
> Menu command Run / Clean and Build Project fails with exception:
> {panel:title=Output - utility (clean,jar)}
> An input/output error occurred.
>  Consult the following stack trace for details.
>  java.nio.charset.MalformedInputException: Input length = 1
>   at 
> java.base/java.nio.charset.CoderResult.throwException(CoderResult.java:274)
>   at java.base/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:339)
>   at java.base/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
>   at java.base/java.io.InputStreamReader.read(InputStreamReader.java:185)
>   at java.base/java.io.BufferedReader.fill(BufferedReader.java:161)
>   at java.base/java.io.BufferedReader.read(BufferedReader.java:182)
>   at 
> jdk.compiler/com.sun.tools.javac.main.CommandLine$Tokenizer.(CommandLine.java:143)
>   at 
> jdk.compiler/com.sun.tools.javac.main.CommandLine.loadCmdFile(CommandLine.java:129)
>   at 
> jdk.compiler/com.sun.tools.javac.main.CommandLine.appendParsedCommandArgs(CommandLine.java:71)
>   at 
> jdk.compiler/com.sun.tools.javac.main.CommandLine.parse(CommandLine.java:102)
>   at 
> jdk.compiler/com.sun.tools.javac.main.CommandLine.parse(CommandLine.java:123)
>   at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:215)
>   at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:170)
>   at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:57)
>   at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:43)
> {panel}
>  +Investigation+
> This is a NetBeans 8.2 project in working state. It has been opened in 
> NetBeans 10, then project platform was updated to JDK11. No change to source 
> code was applied.
> If a package "property" is compiled first by F9, followed by menu command Run 
> / Build Project, the command completes with success. Comparison of ant logs 
> (debug mode, see attached) indicates a difference in method how list of files 
> is delivered to javac compiler. In failed case (clean+build) a command line 
> construct @,,,\file... is used, In second lucky case (compile then build) it 
> is a sequence of explicit file paths. I suspect the construct "@" is created 
> in wrong charset. I expect UTF-8 must be used. Please note file names use 
> Russian text. I guess it will be corrupt with no UTF-8 used. System charset 
> is windows1251.
> +Information+
>  *Product Version:* Apache NetBeans IDE 10.0 (Build 
> incubator-netbeans-release-380-on-20181217)
> *Java:* 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+9
> *Runtime:* OpenJDK Runtime Environment 11.0.2+9
> *System:* Windows 10 version 10.0 running on amd64; Cp1251; ru_RU (nb)
> *Project sources:* JDK8
> *Project  platform:* OpenJDK11
> *Compiles with:* -bootclasspath "C:\Program 
> Files\Java\jdk1.8.0_202\jre\lib\rt.jar"



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-3052) Wrong encoding in output window for jfxsa-run target

2019-09-01 Thread Nikolai Varankine (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16920512#comment-16920512
 ] 

Nikolai Varankine commented on NETBEANS-3052:
-

If I add next configuration line, it reverses the problem: it fixes Run output 
but corrupts Debug output.
 
{panel:title=logging.properties}
java.util.logging.ConsoleHandler.encoding = windows-1251
{panel}
 

 

> Wrong encoding in output window for jfxsa-run target
> 
>
> Key: NETBEANS-3052
> URL: https://issues.apache.org/jira/browse/NETBEANS-3052
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Logger, platform - Output Window
>Affects Versions: 11.1
> Environment: Product Version: Apache NetBeans IDE 11.1
> Java: 12; Java HotSpot(TM) 64-Bit Server VM 12+33
> Runtime: Java(TM) SE Runtime Environment 12+33
> System: Windows 10 version 10.0 running on amd64; Cp1251; ru_RU (nb)
> Windows 10 version 1903 build 18362.295
>Reporter: Nikolai Varankine
>Priority: Major
>  Labels: ant, encoding
>
> When JavaFX application runs, logger records display corrupted text unless it 
> is plain ASCII. Same application in debug mode displays same strings 
> correctly. Cyrillic subset of UTF-8 is involved. The project transitioned 
> automatically form NetBeans 8.2 to 10.0 to 11.1.
>  Presentation difference was noticed: in Run mode, text is likely a part of 
> total (ant?) report and is black and prefixed. In Debug mode, text is colored 
> and has no extra information. Examples are shown below, the difference is in 
> last line:
> {panel:title=Run mode}
> jar:
> -check-concurrent-runs:
> -create-temp-run-dir:
>  [copy] Copying 124 files to C:\Users\...fx\dist\run213104086
> jfx-project-run:
>  [echo] Executing C:\Users\...fx\dist\run213104086\brains-fx.jar using 
> platform C:\Program Files\Java\jdk1.8.0_202/bin/java
>  [java] сен 01, 2019 6:35:31 PM com.varankin.brains.Контекст 
> конфигурация
> {panel}
> {panel:title=Debug mode}
> jfxsa-debug-on-another-platform:
>  BUILD SUCCESSFUL
>  Total time: 6 seconds
>  Deleting: C:\Users\...fx\debug-another-platform.properties
>  init:
>  jfx-project-debug-on-another-platform:
>  jfx-project-debug:
>  Executing C:\Users\...fx\dist\run66203463\brains-fx.jar using platform 
> C:\Program Files\Java\jdk1.8.0_202/bin/java
>  сен 01, 2019 4:28:14 PM com.varankin.brains.Контекст конфигурация
> {panel}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-3052) Wrong encoding in output window for jfxsa-run target

2019-09-01 Thread Nikolai Varankine (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nikolai Varankine updated NETBEANS-3052:

Labels: ant encoding  (was: ant)

> Wrong encoding in output window for jfxsa-run target
> 
>
> Key: NETBEANS-3052
> URL: https://issues.apache.org/jira/browse/NETBEANS-3052
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Logger, platform - Output Window
>Affects Versions: 11.1
> Environment: Product Version: Apache NetBeans IDE 11.1
> Java: 12; Java HotSpot(TM) 64-Bit Server VM 12+33
> Runtime: Java(TM) SE Runtime Environment 12+33
> System: Windows 10 version 10.0 running on amd64; Cp1251; ru_RU (nb)
> Windows 10 version 1903 build 18362.295
>Reporter: Nikolai Varankine
>Priority: Major
>  Labels: ant, encoding
>
> When JavaFX application runs, logger records display corrupted text unless it 
> is plain ASCII. Same application in debug mode displays same strings 
> correctly. Cyrillic subset of UTF-8 is involved. The project transitioned 
> automatically form NetBeans 8.2 to 10.0 to 11.1.
>  Presentation difference was noticed: in Run mode, text is likely a part of 
> total (ant?) report and is black and prefixed. In Debug mode, text is colored 
> and has no extra information. Examples are shown below, the difference is in 
> last line:
> {panel:title=Run mode}
> jar:
> -check-concurrent-runs:
> -create-temp-run-dir:
>  [copy] Copying 124 files to C:\Users\...fx\dist\run213104086
> jfx-project-run:
>  [echo] Executing C:\Users\...fx\dist\run213104086\brains-fx.jar using 
> platform C:\Program Files\Java\jdk1.8.0_202/bin/java
>  [java] сен 01, 2019 6:35:31 PM com.varankin.brains.Контекст 
> конфигурация
> {panel}
> {panel:title=Debug mode}
> jfxsa-debug-on-another-platform:
>  BUILD SUCCESSFUL
>  Total time: 6 seconds
>  Deleting: C:\Users\...fx\debug-another-platform.properties
>  init:
>  jfx-project-debug-on-another-platform:
>  jfx-project-debug:
>  Executing C:\Users\...fx\dist\run66203463\brains-fx.jar using platform 
> C:\Program Files\Java\jdk1.8.0_202/bin/java
>  сен 01, 2019 4:28:14 PM com.varankin.brains.Контекст конфигурация
> {panel}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-3052) Wrong encoding in output window for jfxsa-run target

2019-09-01 Thread Nikolai Varankine (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nikolai Varankine updated NETBEANS-3052:

Labels: ant  (was: )

> Wrong encoding in output window for jfxsa-run target
> 
>
> Key: NETBEANS-3052
> URL: https://issues.apache.org/jira/browse/NETBEANS-3052
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Logger, platform - Output Window
>Affects Versions: 11.1
> Environment: Product Version: Apache NetBeans IDE 11.1
> Java: 12; Java HotSpot(TM) 64-Bit Server VM 12+33
> Runtime: Java(TM) SE Runtime Environment 12+33
> System: Windows 10 version 10.0 running on amd64; Cp1251; ru_RU (nb)
> Windows 10 version 1903 build 18362.295
>Reporter: Nikolai Varankine
>Priority: Major
>  Labels: ant
>
> When JavaFX application runs, logger records display corrupted text unless it 
> is plain ASCII. Same application in debug mode displays same strings 
> correctly. Cyrillic subset of UTF-8 is involved. The project transitioned 
> automatically form NetBeans 8.2 to 10.0 to 11.1.
>  Presentation difference was noticed: in Run mode, text is likely a part of 
> total (ant?) report and is black and prefixed. In Debug mode, text is colored 
> and has no extra information. Examples are shown below, the difference is in 
> last line:
> {panel:title=Run mode}
> jar:
> -check-concurrent-runs:
> -create-temp-run-dir:
>  [copy] Copying 124 files to C:\Users\...fx\dist\run213104086
> jfx-project-run:
>  [echo] Executing C:\Users\...fx\dist\run213104086\brains-fx.jar using 
> platform C:\Program Files\Java\jdk1.8.0_202/bin/java
>  [java] сен 01, 2019 6:35:31 PM com.varankin.brains.Контекст 
> конфигурация
> {panel}
> {panel:title=Debug mode}
> jfxsa-debug-on-another-platform:
>  BUILD SUCCESSFUL
>  Total time: 6 seconds
>  Deleting: C:\Users\...fx\debug-another-platform.properties
>  init:
>  jfx-project-debug-on-another-platform:
>  jfx-project-debug:
>  Executing C:\Users\...fx\dist\run66203463\brains-fx.jar using platform 
> C:\Program Files\Java\jdk1.8.0_202/bin/java
>  сен 01, 2019 4:28:14 PM com.varankin.brains.Контекст конфигурация
> {panel}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-3052) Wrong encoding in output window for jfxsa-run target

2019-09-01 Thread Nikolai Varankine (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16920506#comment-16920506
 ] 

Nikolai Varankine commented on NETBEANS-3052:
-

Checkbox +Tools/Options/Java/Ant/Always Show Output+ is OFF. Supposedly, it 
doesn't work.

> Wrong encoding in output window for jfxsa-run target
> 
>
> Key: NETBEANS-3052
> URL: https://issues.apache.org/jira/browse/NETBEANS-3052
> Project: NetBeans
>  Issue Type: Bug
>  Components: ide - Logger, platform - Output Window
>Affects Versions: 11.1
> Environment: Product Version: Apache NetBeans IDE 11.1
> Java: 12; Java HotSpot(TM) 64-Bit Server VM 12+33
> Runtime: Java(TM) SE Runtime Environment 12+33
> System: Windows 10 version 10.0 running on amd64; Cp1251; ru_RU (nb)
> Windows 10 version 1903 build 18362.295
>Reporter: Nikolai Varankine
>Priority: Major
>
> When JavaFX application runs, logger records display corrupted text unless it 
> is plain ASCII. Same application in debug mode displays same strings 
> correctly. Cyrillic subset of UTF-8 is involved. The project transitioned 
> automatically form NetBeans 8.2 to 10.0 to 11.1.
>  Presentation difference was noticed: in Run mode, text is likely a part of 
> total (ant?) report and is black and prefixed. In Debug mode, text is colored 
> and has no extra information. Examples are shown below, the difference is in 
> last line:
> {panel:title=Run mode}
> jar:
> -check-concurrent-runs:
> -create-temp-run-dir:
>  [copy] Copying 124 files to C:\Users\...fx\dist\run213104086
> jfx-project-run:
>  [echo] Executing C:\Users\...fx\dist\run213104086\brains-fx.jar using 
> platform C:\Program Files\Java\jdk1.8.0_202/bin/java
>  [java] сен 01, 2019 6:35:31 PM com.varankin.brains.Контекст 
> конфигурация
> {panel}
> {panel:title=Debug mode}
> jfxsa-debug-on-another-platform:
>  BUILD SUCCESSFUL
>  Total time: 6 seconds
>  Deleting: C:\Users\...fx\debug-another-platform.properties
>  init:
>  jfx-project-debug-on-another-platform:
>  jfx-project-debug:
>  Executing C:\Users\...fx\dist\run66203463\brains-fx.jar using platform 
> C:\Program Files\Java\jdk1.8.0_202/bin/java
>  сен 01, 2019 4:28:14 PM com.varankin.brains.Контекст конфигурация
> {panel}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2356) Clean+Build fires MalformedInputException

2019-09-01 Thread Nikolai Varankine (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16920425#comment-16920425
 ] 

Nikolai Varankine commented on NETBEANS-2356:
-

Not repeatable in NetBeans 11.1, feel free to close the ticket.

> Clean+Build fires MalformedInputException
> -
>
> Key: NETBEANS-2356
> URL: https://issues.apache.org/jira/browse/NETBEANS-2356
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
>Reporter: Nikolai Varankine
>Priority: Major
>  Labels: ant, javac
> Attachments: NB10wJDK8.zip, build.txt, clean+build.txt
>
>
> Menu command Run / Clean and Build Project fails with exception:
> {panel:title=Output - utility (clean,jar)}
> An input/output error occurred.
>  Consult the following stack trace for details.
>  java.nio.charset.MalformedInputException: Input length = 1
>   at 
> java.base/java.nio.charset.CoderResult.throwException(CoderResult.java:274)
>   at java.base/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:339)
>   at java.base/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
>   at java.base/java.io.InputStreamReader.read(InputStreamReader.java:185)
>   at java.base/java.io.BufferedReader.fill(BufferedReader.java:161)
>   at java.base/java.io.BufferedReader.read(BufferedReader.java:182)
>   at 
> jdk.compiler/com.sun.tools.javac.main.CommandLine$Tokenizer.(CommandLine.java:143)
>   at 
> jdk.compiler/com.sun.tools.javac.main.CommandLine.loadCmdFile(CommandLine.java:129)
>   at 
> jdk.compiler/com.sun.tools.javac.main.CommandLine.appendParsedCommandArgs(CommandLine.java:71)
>   at 
> jdk.compiler/com.sun.tools.javac.main.CommandLine.parse(CommandLine.java:102)
>   at 
> jdk.compiler/com.sun.tools.javac.main.CommandLine.parse(CommandLine.java:123)
>   at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:215)
>   at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:170)
>   at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:57)
>   at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:43)
> {panel}
>  +Investigation+
> This is a NetBeans 8.2 project in working state. It has been opened in 
> NetBeans 10, then project platform was updated to JDK11. No change to source 
> code was applied.
> If a package "property" is compiled first by F9, followed by menu command Run 
> / Build Project, the command completes with success. Comparison of ant logs 
> (debug mode, see attached) indicates a difference in method how list of files 
> is delivered to javac compiler. In failed case (clean+build) a command line 
> construct @,,,\file... is used, In second lucky case (compile then build) it 
> is a sequence of explicit file paths. I suspect the construct "@" is created 
> in wrong charset. I expect UTF-8 must be used. Please note file names use 
> Russian text. I guess it will be corrupt with no UTF-8 used. System charset 
> is windows1251.
> +Information+
>  *Product Version:* Apache NetBeans IDE 10.0 (Build 
> incubator-netbeans-release-380-on-20181217)
> *Java:* 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+9
> *Runtime:* OpenJDK Runtime Environment 11.0.2+9
> *System:* Windows 10 version 10.0 running on amd64; Cp1251; ru_RU (nb)
> *Project sources:* JDK8
> *Project  platform:* OpenJDK11
> *Compiles with:* -bootclasspath "C:\Program 
> Files\Java\jdk1.8.0_202\jre\lib\rt.jar"



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-3052) Wrong encoding in output window for jfxsa-run target

2019-09-01 Thread Nikolai Varankine (Jira)
Nikolai Varankine created NETBEANS-3052:
---

 Summary: Wrong encoding in output window for jfxsa-run target
 Key: NETBEANS-3052
 URL: https://issues.apache.org/jira/browse/NETBEANS-3052
 Project: NetBeans
  Issue Type: Bug
  Components: ide - Logger, platform - Output Window
Affects Versions: 11.1
 Environment: Product Version: Apache NetBeans IDE 11.1
Java: 12; Java HotSpot(TM) 64-Bit Server VM 12+33
Runtime: Java(TM) SE Runtime Environment 12+33
System: Windows 10 version 10.0 running on amd64; Cp1251; ru_RU (nb)
Windows 10 version 1903 build 18362.295

Reporter: Nikolai Varankine


When JavaFX application runs, logger records display corrupted text unless it 
is plain ASCII. Same application in debug mode displays same strings correctly. 
Cyrillic subset of UTF-8 is involved. The project transitioned automatically 
form NetBeans 8.2 to 10.0 to 11.1.
 Presentation difference was noticed: in Run mode, text is likely a part of 
total (ant?) report and is black and prefixed. In Debug mode, text is colored 
and has no extra information. Examples are shown below, the difference is in 
last line:
{panel:title=Run mode}
jar:

-check-concurrent-runs:

-create-temp-run-dir:
 [copy] Copying 124 files to C:\Users\...fx\dist\run213104086

jfx-project-run:
 [echo] Executing C:\Users\...fx\dist\run213104086\brains-fx.jar using platform 
C:\Program Files\Java\jdk1.8.0_202/bin/java
 [java] сен 01, 2019 6:35:31 PM com.varankin.brains.Контекст 
конфигурация
{panel}
{panel:title=Debug mode}
jfxsa-debug-on-another-platform:
 BUILD SUCCESSFUL
 Total time: 6 seconds
 Deleting: C:\Users\...fx\debug-another-platform.properties
 init:
 jfx-project-debug-on-another-platform:
 jfx-project-debug:
 Executing C:\Users\...fx\dist\run66203463\brains-fx.jar using platform 
C:\Program Files\Java\jdk1.8.0_202/bin/java
 сен 01, 2019 4:28:14 PM com.varankin.brains.Контекст конфигурация
{panel}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2356) Clean+Build fires MalformedInputException

2019-04-11 Thread Nikolai Varankine (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16815332#comment-16815332
 ] 

Nikolai Varankine commented on NETBEANS-2356:
-

Update having "nb-javac-impl.jar" has been installed successfully. 
Notifications area shows unexpected exception after update. I've reported it 
through NetBeans. After restart of NetBeans, the problem described in this 
ticket still exists.

> Clean+Build fires MalformedInputException
> -
>
> Key: NETBEANS-2356
> URL: https://issues.apache.org/jira/browse/NETBEANS-2356
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
>Reporter: Nikolai Varankine
>Priority: Major
>  Labels: ant, javac
> Attachments: NB10wJDK8.zip, build.txt, clean+build.txt
>
>
> Menu command Run / Clean and Build Project fails with exception:
> {panel:title=Output - utility (clean,jar)}
> An input/output error occurred.
>  Consult the following stack trace for details.
>  java.nio.charset.MalformedInputException: Input length = 1
>   at 
> java.base/java.nio.charset.CoderResult.throwException(CoderResult.java:274)
>   at java.base/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:339)
>   at java.base/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
>   at java.base/java.io.InputStreamReader.read(InputStreamReader.java:185)
>   at java.base/java.io.BufferedReader.fill(BufferedReader.java:161)
>   at java.base/java.io.BufferedReader.read(BufferedReader.java:182)
>   at 
> jdk.compiler/com.sun.tools.javac.main.CommandLine$Tokenizer.(CommandLine.java:143)
>   at 
> jdk.compiler/com.sun.tools.javac.main.CommandLine.loadCmdFile(CommandLine.java:129)
>   at 
> jdk.compiler/com.sun.tools.javac.main.CommandLine.appendParsedCommandArgs(CommandLine.java:71)
>   at 
> jdk.compiler/com.sun.tools.javac.main.CommandLine.parse(CommandLine.java:102)
>   at 
> jdk.compiler/com.sun.tools.javac.main.CommandLine.parse(CommandLine.java:123)
>   at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:215)
>   at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:170)
>   at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:57)
>   at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:43)
> {panel}
>  +Investigation+
> This is a NetBeans 8.2 project in working state. It has been opened in 
> NetBeans 10, then project platform was updated to JDK11. No change to source 
> code was applied.
> If a package "property" is compiled first by F9, followed by menu command Run 
> / Build Project, the command completes with success. Comparison of ant logs 
> (debug mode, see attached) indicates a difference in method how list of files 
> is delivered to javac compiler. In failed case (clean+build) a command line 
> construct @,,,\file... is used, In second lucky case (compile then build) it 
> is a sequence of explicit file paths. I suspect the construct "@" is created 
> in wrong charset. I expect UTF-8 must be used. Please note file names use 
> Russian text. I guess it will be corrupt with no UTF-8 used. System charset 
> is windows1251.
> +Information+
>  *Product Version:* Apache NetBeans IDE 10.0 (Build 
> incubator-netbeans-release-380-on-20181217)
> *Java:* 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+9
> *Runtime:* OpenJDK Runtime Environment 11.0.2+9
> *System:* Windows 10 version 10.0 running on amd64; Cp1251; ru_RU (nb)
> *Project sources:* JDK8
> *Project  platform:* OpenJDK11
> *Compiles with:* -bootclasspath "C:\Program 
> Files\Java\jdk1.8.0_202\jre\lib\rt.jar"



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2356) Clean+Build fires MalformedInputException

2019-04-05 Thread Nikolai Varankine (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16811391#comment-16811391
 ] 

Nikolai Varankine commented on NETBEANS-2356:
-

I tried to simulate the problem using simple project (see attached zip) but it 
goes by "lucky" method when explicit file paths go to javac command. This way 
the problem is not repeatable. I have no idea how to force ant to create "@" 
list of files to compile. Sorry.

> Clean+Build fires MalformedInputException
> -
>
> Key: NETBEANS-2356
> URL: https://issues.apache.org/jira/browse/NETBEANS-2356
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
>Reporter: Nikolai Varankine
>Priority: Major
>  Labels: ant, javac
> Attachments: NB10wJDK8.zip, build.txt, clean+build.txt
>
>
> Menu command Run / Clean and Build Project fails with exception:
> {panel:title=Output - utility (clean,jar)}
> An input/output error occurred.
>  Consult the following stack trace for details.
>  java.nio.charset.MalformedInputException: Input length = 1
>   at 
> java.base/java.nio.charset.CoderResult.throwException(CoderResult.java:274)
>   at java.base/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:339)
>   at java.base/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
>   at java.base/java.io.InputStreamReader.read(InputStreamReader.java:185)
>   at java.base/java.io.BufferedReader.fill(BufferedReader.java:161)
>   at java.base/java.io.BufferedReader.read(BufferedReader.java:182)
>   at 
> jdk.compiler/com.sun.tools.javac.main.CommandLine$Tokenizer.(CommandLine.java:143)
>   at 
> jdk.compiler/com.sun.tools.javac.main.CommandLine.loadCmdFile(CommandLine.java:129)
>   at 
> jdk.compiler/com.sun.tools.javac.main.CommandLine.appendParsedCommandArgs(CommandLine.java:71)
>   at 
> jdk.compiler/com.sun.tools.javac.main.CommandLine.parse(CommandLine.java:102)
>   at 
> jdk.compiler/com.sun.tools.javac.main.CommandLine.parse(CommandLine.java:123)
>   at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:215)
>   at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:170)
>   at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:57)
>   at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:43)
> {panel}
>  +Investigation+
> This is a NetBeans 8.2 project in working state. It has been opened in 
> NetBeans 10, then project platform was updated to JDK11. No change to source 
> code was applied.
> If a package "property" is compiled first by F9, followed by menu command Run 
> / Build Project, the command completes with success. Comparison of ant logs 
> (debug mode, see attached) indicates a difference in method how list of files 
> is delivered to javac compiler. In failed case (clean+build) a command line 
> construct @,,,\file... is used, In second lucky case (compile then build) it 
> is a sequence of explicit file paths. I suspect the construct "@" is created 
> in wrong charset. I expect UTF-8 must be used. Please note file names use 
> Russian text. I guess it will be corrupt with no UTF-8 used. System charset 
> is windows1251.
> +Information+
>  *Product Version:* Apache NetBeans IDE 10.0 (Build 
> incubator-netbeans-release-380-on-20181217)
> *Java:* 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+9
> *Runtime:* OpenJDK Runtime Environment 11.0.2+9
> *System:* Windows 10 version 10.0 running on amd64; Cp1251; ru_RU (nb)
> *Project sources:* JDK8
> *Project  platform:* OpenJDK11
> *Compiles with:* -bootclasspath "C:\Program 
> Files\Java\jdk1.8.0_202\jre\lib\rt.jar"



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-2356) Clean+Build fires MalformedInputException

2019-04-05 Thread Nikolai Varankine (JIRA)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-2356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nikolai Varankine updated NETBEANS-2356:

Attachment: NB10wJDK8.zip

> Clean+Build fires MalformedInputException
> -
>
> Key: NETBEANS-2356
> URL: https://issues.apache.org/jira/browse/NETBEANS-2356
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
>Reporter: Nikolai Varankine
>Priority: Major
>  Labels: ant, javac
> Attachments: NB10wJDK8.zip, build.txt, clean+build.txt
>
>
> Menu command Run / Clean and Build Project fails with exception:
> {panel:title=Output - utility (clean,jar)}
> An input/output error occurred.
>  Consult the following stack trace for details.
>  java.nio.charset.MalformedInputException: Input length = 1
>   at 
> java.base/java.nio.charset.CoderResult.throwException(CoderResult.java:274)
>   at java.base/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:339)
>   at java.base/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
>   at java.base/java.io.InputStreamReader.read(InputStreamReader.java:185)
>   at java.base/java.io.BufferedReader.fill(BufferedReader.java:161)
>   at java.base/java.io.BufferedReader.read(BufferedReader.java:182)
>   at 
> jdk.compiler/com.sun.tools.javac.main.CommandLine$Tokenizer.(CommandLine.java:143)
>   at 
> jdk.compiler/com.sun.tools.javac.main.CommandLine.loadCmdFile(CommandLine.java:129)
>   at 
> jdk.compiler/com.sun.tools.javac.main.CommandLine.appendParsedCommandArgs(CommandLine.java:71)
>   at 
> jdk.compiler/com.sun.tools.javac.main.CommandLine.parse(CommandLine.java:102)
>   at 
> jdk.compiler/com.sun.tools.javac.main.CommandLine.parse(CommandLine.java:123)
>   at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:215)
>   at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:170)
>   at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:57)
>   at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:43)
> {panel}
>  +Investigation+
> This is a NetBeans 8.2 project in working state. It has been opened in 
> NetBeans 10, then project platform was updated to JDK11. No change to source 
> code was applied.
> If a package "property" is compiled first by F9, followed by menu command Run 
> / Build Project, the command completes with success. Comparison of ant logs 
> (debug mode, see attached) indicates a difference in method how list of files 
> is delivered to javac compiler. In failed case (clean+build) a command line 
> construct @,,,\file... is used, In second lucky case (compile then build) it 
> is a sequence of explicit file paths. I suspect the construct "@" is created 
> in wrong charset. I expect UTF-8 must be used. Please note file names use 
> Russian text. I guess it will be corrupt with no UTF-8 used. System charset 
> is windows1251.
> +Information+
>  *Product Version:* Apache NetBeans IDE 10.0 (Build 
> incubator-netbeans-release-380-on-20181217)
> *Java:* 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+9
> *Runtime:* OpenJDK Runtime Environment 11.0.2+9
> *System:* Windows 10 version 10.0 running on amd64; Cp1251; ru_RU (nb)
> *Project sources:* JDK8
> *Project  platform:* OpenJDK11
> *Compiles with:* -bootclasspath "C:\Program 
> Files\Java\jdk1.8.0_202\jre\lib\rt.jar"



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-2356) Clean+Build fires MalformedInputException

2019-04-05 Thread Nikolai Varankine (JIRA)
Nikolai Varankine created NETBEANS-2356:
---

 Summary: Clean+Build fires MalformedInputException
 Key: NETBEANS-2356
 URL: https://issues.apache.org/jira/browse/NETBEANS-2356
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 10.0
Reporter: Nikolai Varankine
 Attachments: build.txt, clean+build.txt

Menu command Run / Clean and Build Project fails with exception:
{panel:title=Output - utility (clean,jar)}
An input/output error occurred.
 Consult the following stack trace for details.
 java.nio.charset.MalformedInputException: Input length = 1
  at java.base/java.nio.charset.CoderResult.throwException(CoderResult.java:274)
  at java.base/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:339)
  at java.base/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
  at java.base/java.io.InputStreamReader.read(InputStreamReader.java:185)
  at java.base/java.io.BufferedReader.fill(BufferedReader.java:161)
  at java.base/java.io.BufferedReader.read(BufferedReader.java:182)
  at 
jdk.compiler/com.sun.tools.javac.main.CommandLine$Tokenizer.(CommandLine.java:143)
  at 
jdk.compiler/com.sun.tools.javac.main.CommandLine.loadCmdFile(CommandLine.java:129)
  at 
jdk.compiler/com.sun.tools.javac.main.CommandLine.appendParsedCommandArgs(CommandLine.java:71)
  at 
jdk.compiler/com.sun.tools.javac.main.CommandLine.parse(CommandLine.java:102)
  at 
jdk.compiler/com.sun.tools.javac.main.CommandLine.parse(CommandLine.java:123)
  at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:215)
  at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:170)
  at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:57)
  at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:43)
{panel}
 +Investigation+

This is a NetBeans 8.2 project in working state. It has been opened in NetBeans 
10, then project platform was updated to JDK11. No change to source code was 
applied.

If a package "property" is compiled first by F9, followed by menu command Run / 
Build Project, the command completes with success. Comparison of ant logs 
(debug mode, see attached) indicates a difference in method how list of files 
is delivered to javac compiler. In failed case (clean+build) a command line 
construct @,,,\file... is used, In second lucky case (compile then build) it is 
a sequence of explicit file paths. I suspect the construct "@" is created in 
wrong charset. I expect UTF-8 must be used. Please note file names use Russian 
text. I guess it will be corrupt with no UTF-8 used. System charset is 
windows1251.

+Information+
 *Product Version:* Apache NetBeans IDE 10.0 (Build 
incubator-netbeans-release-380-on-20181217)

*Java:* 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+9

*Runtime:* OpenJDK Runtime Environment 11.0.2+9

*System:* Windows 10 version 10.0 running on amd64; Cp1251; ru_RU (nb)

*Project sources:* JDK8

*Project  platform:* OpenJDK11

*Compiles with:* -bootclasspath "C:\Program 
Files\Java\jdk1.8.0_202\jre\lib\rt.jar"



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists