You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@logging.apache.org by Ralph Goers <ra...@dslextreme.com> on 2020/10/18 19:03:43 UTC
Log4j 2 Compile error
I just tried to do a full build for the first time in a while and am getting
[INFO] Compiling 77 source files to /Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-perf/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] An exception has occurred in the compiler (9). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you.
java.lang.NullPointerException
at jdk.zipfs/jdk.nio.zipfs.JarFileSystem.getVersionMap(JarFileSystem.java:137)
at jdk.zipfs/jdk.nio.zipfs.JarFileSystem.createVersionedLinks(JarFileSystem.java:112)
at jdk.zipfs/jdk.nio.zipfs.JarFileSystem.<init>(JarFileSystem.java:85)
at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.newFileSystem(ZipFileSystemProvider.java:134)
at jdk.compiler/com.sun.tools.javac.file.JavacFileManager$ArchiveContainer.<init>(JavacFileManager.java:517)
at jdk.compiler/com.sun.tools.javac.file.JavacFileManager.getContainer(JavacFileManager.java:319)
at jdk.compiler/com.sun.tools.javac.file.JavacFileManager.list(JavacFileManager.java:715)
at jdk.compiler/com.sun.tools.javac.code.ClassFinder.list(ClassFinder.java:722)
at jdk.compiler/com.sun.tools.javac.code.ClassFinder.scanUserPaths(ClassFinder.java:655)
at jdk.compiler/com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:529)
at jdk.compiler/com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:293)
at jdk.compiler/com.sun.tools.javac.code.Symbol.complete(Symbol.java:633)
at jdk.compiler/com.sun.tools.javac.code.Symbol$PackageSymbol.members(Symbol.java:1120)
at jdk.compiler/com.sun.tools.javac.code.Symtab.listPackageModules(Symtab.java:810)
at jdk.compiler/com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:344)
at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:529)
at jdk.compiler/com.sun.tools.javac.comp.Enter.classEnter(Enter.java:285)
at jdk.compiler/com.sun.tools.javac.comp.Enter.classEnter(Enter.java:300)
at jdk.compiler/com.sun.tools.javac.comp.Enter.complete(Enter.java:570)
at jdk.compiler/com.sun.tools.javac.comp.Enter.main(Enter.java:554)
at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1052)
at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:923)
at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:302)
at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:162)
at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:57)
at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:43)
Any idea what this is about?
Ralph
Re: Log4j 2 Compile error
Posted by Ralph Goers <ra...@dslextreme.com>.
Yup. Changing the toolchain version from 9 to 11 fixed it.
Ralph
> On Oct 18, 2020, at 1:05 PM, Ralph Goers <ra...@dslextreme.com> wrote:
>
> This looks like https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8193802 <https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8193802>.
>
> Ralph
>
>> On Oct 18, 2020, at 1:03 PM, Ralph Goers <ra...@dslextreme.com> wrote:
>>
>> Shoot. I just recalled that log4j-perf is compiled with Java 9+. I will have to check what is being used for that, but nothing has changed in ages.
>>
>> Ralph
>>
>>> On Oct 18, 2020, at 12:58 PM, Ralph Goers <ra...@dslextreme.com> wrote:
>>>
>>> MacBook Pro with Catalina 10.15.6. failed with Oracle Java 8.144 and Corretto 8.265. I’ve used 8.144 for a long time without any problems, including the last release.
>>>
>>> Ralph
>>>
>>>> On Oct 18, 2020, at 12:21 PM, Volkan Yazıcı <vo...@gmail.com> wrote:
>>>>
>>>> Last GitHub Actions build on release-2.x looks okayish, i.e., nothing new
>>>> besides already known failures:
>>>> https://github.com/apache/logging-log4j2/actions/runs/292125976
>>>> Which OS, JDK(s)did you use?
>>>>
>>>> On Sun, 18 Oct 2020, 21:04 Ralph Goers <ra...@dslextreme.com> wrote:
>>>>
>>>>> I just tried to do a full build for the first time in a while and am
>>>>> getting
>>>>>
>>>>> [INFO] Compiling 77 source files to
>>>>> /Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-perf/target/classes
>>>>> [INFO] -------------------------------------------------------------
>>>>> [ERROR] COMPILATION ERROR :
>>>>> [INFO] -------------------------------------------------------------
>>>>> [ERROR] An exception has occurred in the compiler (9). Please file a bug
>>>>> against the Java compiler via the Java bug reporting page (
>>>>> http://bugreport.java.com) after checking the Bug Database (
>>>>> http://bugs.java.com) for duplicates. Include your program and the
>>>>> following diagnostic in your report. Thank you.
>>>>> java.lang.NullPointerException
>>>>> at
>>>>> jdk.zipfs/jdk.nio.zipfs.JarFileSystem.getVersionMap(JarFileSystem.java:137)
>>>>> at
>>>>> jdk.zipfs/jdk.nio.zipfs.JarFileSystem.createVersionedLinks(JarFileSystem.java:112)
>>>>> at
>>>>> jdk.zipfs/jdk.nio.zipfs.JarFileSystem.<init>(JarFileSystem.java:85)
>>>>> at
>>>>> jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.newFileSystem(ZipFileSystemProvider.java:134)
>>>>> at
>>>>> jdk.compiler/com.sun.tools.javac.file.JavacFileManager$ArchiveContainer.<init>(JavacFileManager.java:517)
>>>>> at
>>>>> jdk.compiler/com.sun.tools.javac.file.JavacFileManager.getContainer(JavacFileManager.java:319)
>>>>> at
>>>>> jdk.compiler/com.sun.tools.javac.file.JavacFileManager.list(JavacFileManager.java:715)
>>>>> at
>>>>> jdk.compiler/com.sun.tools.javac.code.ClassFinder.list(ClassFinder.java:722)
>>>>> at
>>>>> jdk.compiler/com.sun.tools.javac.code.ClassFinder.scanUserPaths(ClassFinder.java:655)
>>>>> at
>>>>> jdk.compiler/com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:529)
>>>>> at
>>>>> jdk.compiler/com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:293)
>>>>> at
>>>>> jdk.compiler/com.sun.tools.javac.code.Symbol.complete(Symbol.java:633)
>>>>> at
>>>>> jdk.compiler/com.sun.tools.javac.code.Symbol$PackageSymbol.members(Symbol.java:1120)
>>>>> at
>>>>> jdk.compiler/com.sun.tools.javac.code.Symtab.listPackageModules(Symtab.java:810)
>>>>> at
>>>>> jdk.compiler/com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:344)
>>>>> at
>>>>> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:529)
>>>>> at
>>>>> jdk.compiler/com.sun.tools.javac.comp.Enter.classEnter(Enter.java:285)
>>>>> at
>>>>> jdk.compiler/com.sun.tools.javac.comp.Enter.classEnter(Enter.java:300)
>>>>> at
>>>>> jdk.compiler/com.sun.tools.javac.comp.Enter.complete(Enter.java:570)
>>>>> at jdk.compiler/com.sun.tools.javac.comp.Enter.main(Enter.java:554)
>>>>> at
>>>>> jdk.compiler/com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1052)
>>>>> at
>>>>> jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:923)
>>>>> at
>>>>> jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:302)
>>>>> at
>>>>> jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:162)
>>>>> at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:57)
>>>>> at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:43)
>>>>>
>>>>>
>>>>> Any idea what this is about?
>>>>>
>>>>> Ralph
>>>>>
>>>>>
>>>>>
>>>
>>>
>>>
>>
>>
>>
>
Re: Log4j 2 Compile error
Posted by Ralph Goers <ra...@dslextreme.com>.
This looks like https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8193802 <https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8193802>.
Ralph
> On Oct 18, 2020, at 1:03 PM, Ralph Goers <ra...@dslextreme.com> wrote:
>
> Shoot. I just recalled that log4j-perf is compiled with Java 9+. I will have to check what is being used for that, but nothing has changed in ages.
>
> Ralph
>
>> On Oct 18, 2020, at 12:58 PM, Ralph Goers <ra...@dslextreme.com> wrote:
>>
>> MacBook Pro with Catalina 10.15.6. failed with Oracle Java 8.144 and Corretto 8.265. I’ve used 8.144 for a long time without any problems, including the last release.
>>
>> Ralph
>>
>>> On Oct 18, 2020, at 12:21 PM, Volkan Yazıcı <vo...@gmail.com> wrote:
>>>
>>> Last GitHub Actions build on release-2.x looks okayish, i.e., nothing new
>>> besides already known failures:
>>> https://github.com/apache/logging-log4j2/actions/runs/292125976
>>> Which OS, JDK(s)did you use?
>>>
>>> On Sun, 18 Oct 2020, 21:04 Ralph Goers <ra...@dslextreme.com> wrote:
>>>
>>>> I just tried to do a full build for the first time in a while and am
>>>> getting
>>>>
>>>> [INFO] Compiling 77 source files to
>>>> /Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-perf/target/classes
>>>> [INFO] -------------------------------------------------------------
>>>> [ERROR] COMPILATION ERROR :
>>>> [INFO] -------------------------------------------------------------
>>>> [ERROR] An exception has occurred in the compiler (9). Please file a bug
>>>> against the Java compiler via the Java bug reporting page (
>>>> http://bugreport.java.com) after checking the Bug Database (
>>>> http://bugs.java.com) for duplicates. Include your program and the
>>>> following diagnostic in your report. Thank you.
>>>> java.lang.NullPointerException
>>>> at
>>>> jdk.zipfs/jdk.nio.zipfs.JarFileSystem.getVersionMap(JarFileSystem.java:137)
>>>> at
>>>> jdk.zipfs/jdk.nio.zipfs.JarFileSystem.createVersionedLinks(JarFileSystem.java:112)
>>>> at
>>>> jdk.zipfs/jdk.nio.zipfs.JarFileSystem.<init>(JarFileSystem.java:85)
>>>> at
>>>> jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.newFileSystem(ZipFileSystemProvider.java:134)
>>>> at
>>>> jdk.compiler/com.sun.tools.javac.file.JavacFileManager$ArchiveContainer.<init>(JavacFileManager.java:517)
>>>> at
>>>> jdk.compiler/com.sun.tools.javac.file.JavacFileManager.getContainer(JavacFileManager.java:319)
>>>> at
>>>> jdk.compiler/com.sun.tools.javac.file.JavacFileManager.list(JavacFileManager.java:715)
>>>> at
>>>> jdk.compiler/com.sun.tools.javac.code.ClassFinder.list(ClassFinder.java:722)
>>>> at
>>>> jdk.compiler/com.sun.tools.javac.code.ClassFinder.scanUserPaths(ClassFinder.java:655)
>>>> at
>>>> jdk.compiler/com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:529)
>>>> at
>>>> jdk.compiler/com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:293)
>>>> at
>>>> jdk.compiler/com.sun.tools.javac.code.Symbol.complete(Symbol.java:633)
>>>> at
>>>> jdk.compiler/com.sun.tools.javac.code.Symbol$PackageSymbol.members(Symbol.java:1120)
>>>> at
>>>> jdk.compiler/com.sun.tools.javac.code.Symtab.listPackageModules(Symtab.java:810)
>>>> at
>>>> jdk.compiler/com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:344)
>>>> at
>>>> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:529)
>>>> at
>>>> jdk.compiler/com.sun.tools.javac.comp.Enter.classEnter(Enter.java:285)
>>>> at
>>>> jdk.compiler/com.sun.tools.javac.comp.Enter.classEnter(Enter.java:300)
>>>> at
>>>> jdk.compiler/com.sun.tools.javac.comp.Enter.complete(Enter.java:570)
>>>> at jdk.compiler/com.sun.tools.javac.comp.Enter.main(Enter.java:554)
>>>> at
>>>> jdk.compiler/com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1052)
>>>> at
>>>> jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:923)
>>>> at
>>>> jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:302)
>>>> at
>>>> jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:162)
>>>> at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:57)
>>>> at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:43)
>>>>
>>>>
>>>> Any idea what this is about?
>>>>
>>>> Ralph
>>>>
>>>>
>>>>
>>
>>
>>
>
>
>
Re: Log4j 2 Compile error
Posted by Ralph Goers <ra...@dslextreme.com>.
Shoot. I just recalled that log4j-perf is compiled with Java 9+. I will have to check what is being used for that, but nothing has changed in ages.
Ralph
> On Oct 18, 2020, at 12:58 PM, Ralph Goers <ra...@dslextreme.com> wrote:
>
> MacBook Pro with Catalina 10.15.6. failed with Oracle Java 8.144 and Corretto 8.265. I’ve used 8.144 for a long time without any problems, including the last release.
>
> Ralph
>
>> On Oct 18, 2020, at 12:21 PM, Volkan Yazıcı <vo...@gmail.com> wrote:
>>
>> Last GitHub Actions build on release-2.x looks okayish, i.e., nothing new
>> besides already known failures:
>> https://github.com/apache/logging-log4j2/actions/runs/292125976
>> Which OS, JDK(s)did you use?
>>
>> On Sun, 18 Oct 2020, 21:04 Ralph Goers <ra...@dslextreme.com> wrote:
>>
>>> I just tried to do a full build for the first time in a while and am
>>> getting
>>>
>>> [INFO] Compiling 77 source files to
>>> /Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-perf/target/classes
>>> [INFO] -------------------------------------------------------------
>>> [ERROR] COMPILATION ERROR :
>>> [INFO] -------------------------------------------------------------
>>> [ERROR] An exception has occurred in the compiler (9). Please file a bug
>>> against the Java compiler via the Java bug reporting page (
>>> http://bugreport.java.com) after checking the Bug Database (
>>> http://bugs.java.com) for duplicates. Include your program and the
>>> following diagnostic in your report. Thank you.
>>> java.lang.NullPointerException
>>> at
>>> jdk.zipfs/jdk.nio.zipfs.JarFileSystem.getVersionMap(JarFileSystem.java:137)
>>> at
>>> jdk.zipfs/jdk.nio.zipfs.JarFileSystem.createVersionedLinks(JarFileSystem.java:112)
>>> at
>>> jdk.zipfs/jdk.nio.zipfs.JarFileSystem.<init>(JarFileSystem.java:85)
>>> at
>>> jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.newFileSystem(ZipFileSystemProvider.java:134)
>>> at
>>> jdk.compiler/com.sun.tools.javac.file.JavacFileManager$ArchiveContainer.<init>(JavacFileManager.java:517)
>>> at
>>> jdk.compiler/com.sun.tools.javac.file.JavacFileManager.getContainer(JavacFileManager.java:319)
>>> at
>>> jdk.compiler/com.sun.tools.javac.file.JavacFileManager.list(JavacFileManager.java:715)
>>> at
>>> jdk.compiler/com.sun.tools.javac.code.ClassFinder.list(ClassFinder.java:722)
>>> at
>>> jdk.compiler/com.sun.tools.javac.code.ClassFinder.scanUserPaths(ClassFinder.java:655)
>>> at
>>> jdk.compiler/com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:529)
>>> at
>>> jdk.compiler/com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:293)
>>> at
>>> jdk.compiler/com.sun.tools.javac.code.Symbol.complete(Symbol.java:633)
>>> at
>>> jdk.compiler/com.sun.tools.javac.code.Symbol$PackageSymbol.members(Symbol.java:1120)
>>> at
>>> jdk.compiler/com.sun.tools.javac.code.Symtab.listPackageModules(Symtab.java:810)
>>> at
>>> jdk.compiler/com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:344)
>>> at
>>> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:529)
>>> at
>>> jdk.compiler/com.sun.tools.javac.comp.Enter.classEnter(Enter.java:285)
>>> at
>>> jdk.compiler/com.sun.tools.javac.comp.Enter.classEnter(Enter.java:300)
>>> at
>>> jdk.compiler/com.sun.tools.javac.comp.Enter.complete(Enter.java:570)
>>> at jdk.compiler/com.sun.tools.javac.comp.Enter.main(Enter.java:554)
>>> at
>>> jdk.compiler/com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1052)
>>> at
>>> jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:923)
>>> at
>>> jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:302)
>>> at
>>> jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:162)
>>> at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:57)
>>> at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:43)
>>>
>>>
>>> Any idea what this is about?
>>>
>>> Ralph
>>>
>>>
>>>
>
>
>
Re: Log4j 2 Compile error
Posted by Ralph Goers <ra...@dslextreme.com>.
MacBook Pro with Catalina 10.15.6. failed with Oracle Java 8.144 and Corretto 8.265. I’ve used 8.144 for a long time without any problems, including the last release.
Ralph
> On Oct 18, 2020, at 12:21 PM, Volkan Yazıcı <vo...@gmail.com> wrote:
>
> Last GitHub Actions build on release-2.x looks okayish, i.e., nothing new
> besides already known failures:
> https://github.com/apache/logging-log4j2/actions/runs/292125976
> Which OS, JDK(s)did you use?
>
> On Sun, 18 Oct 2020, 21:04 Ralph Goers <ra...@dslextreme.com> wrote:
>
>> I just tried to do a full build for the first time in a while and am
>> getting
>>
>> [INFO] Compiling 77 source files to
>> /Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-perf/target/classes
>> [INFO] -------------------------------------------------------------
>> [ERROR] COMPILATION ERROR :
>> [INFO] -------------------------------------------------------------
>> [ERROR] An exception has occurred in the compiler (9). Please file a bug
>> against the Java compiler via the Java bug reporting page (
>> http://bugreport.java.com) after checking the Bug Database (
>> http://bugs.java.com) for duplicates. Include your program and the
>> following diagnostic in your report. Thank you.
>> java.lang.NullPointerException
>> at
>> jdk.zipfs/jdk.nio.zipfs.JarFileSystem.getVersionMap(JarFileSystem.java:137)
>> at
>> jdk.zipfs/jdk.nio.zipfs.JarFileSystem.createVersionedLinks(JarFileSystem.java:112)
>> at
>> jdk.zipfs/jdk.nio.zipfs.JarFileSystem.<init>(JarFileSystem.java:85)
>> at
>> jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.newFileSystem(ZipFileSystemProvider.java:134)
>> at
>> jdk.compiler/com.sun.tools.javac.file.JavacFileManager$ArchiveContainer.<init>(JavacFileManager.java:517)
>> at
>> jdk.compiler/com.sun.tools.javac.file.JavacFileManager.getContainer(JavacFileManager.java:319)
>> at
>> jdk.compiler/com.sun.tools.javac.file.JavacFileManager.list(JavacFileManager.java:715)
>> at
>> jdk.compiler/com.sun.tools.javac.code.ClassFinder.list(ClassFinder.java:722)
>> at
>> jdk.compiler/com.sun.tools.javac.code.ClassFinder.scanUserPaths(ClassFinder.java:655)
>> at
>> jdk.compiler/com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:529)
>> at
>> jdk.compiler/com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:293)
>> at
>> jdk.compiler/com.sun.tools.javac.code.Symbol.complete(Symbol.java:633)
>> at
>> jdk.compiler/com.sun.tools.javac.code.Symbol$PackageSymbol.members(Symbol.java:1120)
>> at
>> jdk.compiler/com.sun.tools.javac.code.Symtab.listPackageModules(Symtab.java:810)
>> at
>> jdk.compiler/com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:344)
>> at
>> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:529)
>> at
>> jdk.compiler/com.sun.tools.javac.comp.Enter.classEnter(Enter.java:285)
>> at
>> jdk.compiler/com.sun.tools.javac.comp.Enter.classEnter(Enter.java:300)
>> at
>> jdk.compiler/com.sun.tools.javac.comp.Enter.complete(Enter.java:570)
>> at jdk.compiler/com.sun.tools.javac.comp.Enter.main(Enter.java:554)
>> at
>> jdk.compiler/com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1052)
>> at
>> jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:923)
>> at
>> jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:302)
>> at
>> jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:162)
>> at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:57)
>> at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:43)
>>
>>
>> Any idea what this is about?
>>
>> Ralph
>>
>>
>>
Re: Log4j 2 Compile error
Posted by Volkan Yazıcı <vo...@gmail.com>.
Last GitHub Actions build on release-2.x looks okayish, i.e., nothing new
besides already known failures:
https://github.com/apache/logging-log4j2/actions/runs/292125976
Which OS, JDK(s)did you use?
On Sun, 18 Oct 2020, 21:04 Ralph Goers <ra...@dslextreme.com> wrote:
> I just tried to do a full build for the first time in a while and am
> getting
>
> [INFO] Compiling 77 source files to
> /Users/rgoers/projects/apache/logging/log4j/release-2.x/log4j-perf/target/classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] An exception has occurred in the compiler (9). Please file a bug
> against the Java compiler via the Java bug reporting page (
> http://bugreport.java.com) after checking the Bug Database (
> http://bugs.java.com) for duplicates. Include your program and the
> following diagnostic in your report. Thank you.
> java.lang.NullPointerException
> at
> jdk.zipfs/jdk.nio.zipfs.JarFileSystem.getVersionMap(JarFileSystem.java:137)
> at
> jdk.zipfs/jdk.nio.zipfs.JarFileSystem.createVersionedLinks(JarFileSystem.java:112)
> at
> jdk.zipfs/jdk.nio.zipfs.JarFileSystem.<init>(JarFileSystem.java:85)
> at
> jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.newFileSystem(ZipFileSystemProvider.java:134)
> at
> jdk.compiler/com.sun.tools.javac.file.JavacFileManager$ArchiveContainer.<init>(JavacFileManager.java:517)
> at
> jdk.compiler/com.sun.tools.javac.file.JavacFileManager.getContainer(JavacFileManager.java:319)
> at
> jdk.compiler/com.sun.tools.javac.file.JavacFileManager.list(JavacFileManager.java:715)
> at
> jdk.compiler/com.sun.tools.javac.code.ClassFinder.list(ClassFinder.java:722)
> at
> jdk.compiler/com.sun.tools.javac.code.ClassFinder.scanUserPaths(ClassFinder.java:655)
> at
> jdk.compiler/com.sun.tools.javac.code.ClassFinder.fillIn(ClassFinder.java:529)
> at
> jdk.compiler/com.sun.tools.javac.code.ClassFinder.complete(ClassFinder.java:293)
> at
> jdk.compiler/com.sun.tools.javac.code.Symbol.complete(Symbol.java:633)
> at
> jdk.compiler/com.sun.tools.javac.code.Symbol$PackageSymbol.members(Symbol.java:1120)
> at
> jdk.compiler/com.sun.tools.javac.code.Symtab.listPackageModules(Symtab.java:810)
> at
> jdk.compiler/com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:344)
> at
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:529)
> at
> jdk.compiler/com.sun.tools.javac.comp.Enter.classEnter(Enter.java:285)
> at
> jdk.compiler/com.sun.tools.javac.comp.Enter.classEnter(Enter.java:300)
> at
> jdk.compiler/com.sun.tools.javac.comp.Enter.complete(Enter.java:570)
> at jdk.compiler/com.sun.tools.javac.comp.Enter.main(Enter.java:554)
> at
> jdk.compiler/com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:1052)
> at
> jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:923)
> at
> jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:302)
> at
> jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:162)
> at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:57)
> at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:43)
>
>
> Any idea what this is about?
>
> Ralph
>
>
>