Eirik Bakke created NETBEANS-5655:
-------------------------------------

             Summary: Invalid UTF-8 character when building on Windows
                 Key: NETBEANS-5655
                 URL: https://issues.apache.org/jira/browse/NETBEANS-5655
             Project: NetBeans
          Issue Type: Bug
         Environment: Building NetBeans on Windows 10 from the Windows command 
line (not WSL).
            Reporter: Eirik Bakke


Doing a build on Windows, the following error occurs:

```
BUILD FAILED
C:\Users\ebakke\ZRoot\nbsrc\incubator-netbeans\nbbuild\build.xml:395: The 
following error occurred while executing this line:
C:\Users\ebakke\ZRoot\nbsrc\incubator-netbeans\nbbuild\javadoctools\build.xml:48:
 The following error occurred while executing this line:
C:\Users\ebakke\ZRoot\nbsrc\incubator-netbeans\nbbuild\javadoctools\build.xml:149:
 javax.xml.transform.TransformerException: 
javax.xml.transform.TransformerException: 
com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: Invalid byte 3 
of 3-byte UTF-8 sequence.
```

Examining build.xml:149, it points to the file 
nbbuild/build/javadoc/alldatas.xml, which indeed appears to have a malformed 
UTF-8 character somewhere.

Doing some further investigation...

```
ebakke@EBLEN:/z/nbsrc/incubator-netbeans/nbbuild/build/javadoc$ diff 
alldatas1.xml alldatas2.xml
5139c5139
<       when running in “compile-on-save? mode
---
>       when running in “compile-on-save�? mode
```

Will submit a PR.



--
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

Reply via email to