[jira] [Updated] (BEAM-3693) On ubuntu 16 and Java 1.8 the package beam-sdks-java-core 2.2.0 throws Invalid value for MonthOfYear
[ https://issues.apache.org/jira/browse/BEAM-3693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ismaël Mejía updated BEAM-3693: --- Fix Version/s: (was: 2.1.0) > On ubuntu 16 and Java 1.8 the package beam-sdks-java-core 2.2.0 throws > Invalid value for MonthOfYear > > > Key: BEAM-3693 > URL: https://issues.apache.org/jira/browse/BEAM-3693 > Project: Beam > Issue Type: Bug > Components: build-system >Affects Versions: 2.2.0 > Environment: Apache Maven 3.3.9 > Maven home: /usr/share/maven > Java version: 9.0.4, vendor: Oracle Corporation > Java home: /usr/lib/jvm/java-9-oracle > Default locale: en_NZ, platform encoding: UTF-8 > OS name: "linux", version: "4.13.0-32-generic", arch: "amd64", family: > "unix" > java version "1.8.0_161" > Java(TM) SE Runtime Environment (build 1.8.0_161-b12) > Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode) > No LSB modules are available. > Distributor ID: Ubuntu > Description:Ubuntu 16.04.3 LTS > Release:16.04 > Codename: xenial >Reporter: Thiago Henrique Ramos da Mata >Assignee: Kenneth Knowles >Priority: Major > > The problem is caused by the package beam-sdks-java-core in the version > 2.2.0. This package was being loaded into the package my.projects.models. > Here is the isolated program that replicates the same error message: > > h3. /pom.xml > {code:xml} > > http://maven.apache.org/POM/4.0.0; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/xsd/maven-4.0.0.xsd;> > 4.0.0 > com.mock.bug > mock-bug > 0.123 > > > junit > junit > 4.12 > test > > > org.apache.beam > beam-sdks-java-core > 2.2.0 > > > > > > maven-compiler-plugin > 3.5 > > 1.8 > 1.8 > > > > org.apache.maven.plugins > maven-source-plugin > 3.0.1 > > > attach-sources > > jar > > > > > > > > {code} > > h3. ./src/main/java/com/mock/bug/Main.java > {code:java} > package com.mock.bug; > public class Main { > public void main(String[] input){ > System.out.println("hello workd"); > } > } > {code} > h3. ./src/test/java/com/mock/bug/DummyHealthCheckTest.java > {code:java} > package com.mock.bug; > import org.junit.Test; > import static org.junit.Assert.*; > public class DummyHealthCheckTest { > @Test > public void DummyCheckTest() { > boolean t = true; > assertTrue(t); > } > } > {code} > h3. Command to fire the error message: > {code:sh} > mvn -U clean package > {code} > h3. Exception Message > {code:sh} > WARNING: An illegal reflective access operation has occurred > WARNING: Illegal reflective access by > com.google.inject.internal.cglib.core.$ReflectUtils$1 > (file:/usr/share/maven/lib/guice.jar) to method > java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) > WARNING: Please consider reporting this to the maintainers of > com.google.inject.internal.cglib.core.$ReflectUtils$1 > WARNING: Use --illegal-access=warn to enable warnings of further illegal > reflective access operations > WARNING: All illegal access operations will be denied in a future release > [INFO] Scanning for projects... > [INFO] > > [INFO] > > [INFO] Building mock-bug 0.123 > [INFO] > > [INFO] > [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ mock-bug --- > [INFO] > [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ > mock-bug --- > [WARNING] Using platform encoding (UTF-8 actually) to copy filtered > resources, i.e. build is platform dependent! > [INFO] skip non existing resourceDirectory > /home/me/projects/mock-bug/src/main/resources > [INFO]
[jira] [Updated] (BEAM-3693) On ubuntu 16 and Java 1.8 the package beam-sdks-java-core 2.2.0 throws Invalid value for MonthOfYear
[ https://issues.apache.org/jira/browse/BEAM-3693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ismaël Mejía updated BEAM-3693: --- Component/s: (was: beam-model) build-system > On ubuntu 16 and Java 1.8 the package beam-sdks-java-core 2.2.0 throws > Invalid value for MonthOfYear > > > Key: BEAM-3693 > URL: https://issues.apache.org/jira/browse/BEAM-3693 > Project: Beam > Issue Type: Bug > Components: build-system >Affects Versions: 2.2.0 > Environment: Apache Maven 3.3.9 > Maven home: /usr/share/maven > Java version: 9.0.4, vendor: Oracle Corporation > Java home: /usr/lib/jvm/java-9-oracle > Default locale: en_NZ, platform encoding: UTF-8 > OS name: "linux", version: "4.13.0-32-generic", arch: "amd64", family: > "unix" > java version "1.8.0_161" > Java(TM) SE Runtime Environment (build 1.8.0_161-b12) > Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode) > No LSB modules are available. > Distributor ID: Ubuntu > Description:Ubuntu 16.04.3 LTS > Release:16.04 > Codename: xenial >Reporter: Thiago Henrique Ramos da Mata >Assignee: Kenneth Knowles >Priority: Major > > The problem is caused by the package beam-sdks-java-core in the version > 2.2.0. This package was being loaded into the package my.projects.models. > Here is the isolated program that replicates the same error message: > > h3. /pom.xml > {code:xml} > > http://maven.apache.org/POM/4.0.0; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/xsd/maven-4.0.0.xsd;> > 4.0.0 > com.mock.bug > mock-bug > 0.123 > > > junit > junit > 4.12 > test > > > org.apache.beam > beam-sdks-java-core > 2.2.0 > > > > > > maven-compiler-plugin > 3.5 > > 1.8 > 1.8 > > > > org.apache.maven.plugins > maven-source-plugin > 3.0.1 > > > attach-sources > > jar > > > > > > > > {code} > > h3. ./src/main/java/com/mock/bug/Main.java > {code:java} > package com.mock.bug; > public class Main { > public void main(String[] input){ > System.out.println("hello workd"); > } > } > {code} > h3. ./src/test/java/com/mock/bug/DummyHealthCheckTest.java > {code:java} > package com.mock.bug; > import org.junit.Test; > import static org.junit.Assert.*; > public class DummyHealthCheckTest { > @Test > public void DummyCheckTest() { > boolean t = true; > assertTrue(t); > } > } > {code} > h3. Command to fire the error message: > {code:sh} > mvn -U clean package > {code} > h3. Exception Message > {code:sh} > WARNING: An illegal reflective access operation has occurred > WARNING: Illegal reflective access by > com.google.inject.internal.cglib.core.$ReflectUtils$1 > (file:/usr/share/maven/lib/guice.jar) to method > java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) > WARNING: Please consider reporting this to the maintainers of > com.google.inject.internal.cglib.core.$ReflectUtils$1 > WARNING: Use --illegal-access=warn to enable warnings of further illegal > reflective access operations > WARNING: All illegal access operations will be denied in a future release > [INFO] Scanning for projects... > [INFO] > > [INFO] > > [INFO] Building mock-bug 0.123 > [INFO] > > [INFO] > [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ mock-bug --- > [INFO] > [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ > mock-bug --- > [WARNING] Using platform encoding (UTF-8 actually) to copy filtered > resources, i.e. build is platform dependent! > [INFO] skip non existing resourceDirectory >
[jira] [Updated] (BEAM-3693) On ubuntu 16 and Java 1.8 the package beam-sdks-java-core 2.2.0 throws Invalid value for MonthOfYear
[ https://issues.apache.org/jira/browse/BEAM-3693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thiago Henrique Ramos da Mata updated BEAM-3693: Environment: {code:sh} $ mvn version Apache Maven 3.3.9 Maven home: /usr/share/maven Java version: 9.0.4, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-9-oracle Default locale: en_NZ, platform encoding: UTF-8 OS name: "linux", version: "4.13.0-32-generic", arch: "amd64", family: "unix" $ java -version java version "1.8.0_161" Java(TM) SE Runtime Environment (build 1.8.0_161-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode) $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 16.04.3 LTS Release:16.04 Codename: xenial {code} was: $ mvn version Apache Maven 3.3.9 Maven home: /usr/share/maven Java version: 9.0.4, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-9-oracle Default locale: en_NZ, platform encoding: UTF-8 OS name: "linux", version: "4.13.0-32-generic", arch: "amd64", family: "unix" $ java -version java version "1.8.0_161" Java(TM) SE Runtime Environment (build 1.8.0_161-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode) $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 16.04.3 LTS Release:16.04 Codename: xenial > On ubuntu 16 and Java 1.8 the package beam-sdks-java-core 2.2.0 throws > Invalid value for MonthOfYear > > > Key: BEAM-3693 > URL: https://issues.apache.org/jira/browse/BEAM-3693 > Project: Beam > Issue Type: Bug > Components: beam-model >Affects Versions: 2.2.0 > Environment: {code:sh} > $ mvn version > Apache Maven 3.3.9 > Maven home: /usr/share/maven > Java version: 9.0.4, vendor: Oracle Corporation > Java home: /usr/lib/jvm/java-9-oracle > Default locale: en_NZ, platform encoding: UTF-8 > OS name: "linux", version: "4.13.0-32-generic", arch: "amd64", family: > "unix" > $ java -version > java version "1.8.0_161" > Java(TM) SE Runtime Environment (build 1.8.0_161-b12) > Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode) > $ lsb_release -a > No LSB modules are available. > Distributor ID: Ubuntu > Description:Ubuntu 16.04.3 LTS > Release:16.04 > Codename: xenial > {code} >Reporter: Thiago Henrique Ramos da Mata >Assignee: Kenneth Knowles >Priority: Major > Fix For: 2.1.0 > > > The problem is caused by the package beam-sdks-java-core in the version > 2.2.0. This package was being loaded into the package my.projects.models. > Here is the isolated program that replicates the same error message: > > h3. /pom.xml > {code:xml} > > http://maven.apache.org/POM/4.0.0; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/xsd/maven-4.0.0.xsd;> > 4.0.0 > com.mock.bug > mock-bug > 0.123 > > > junit > junit > 4.12 > test > > > org.apache.beam > beam-sdks-java-core > 2.2.0 > > > > > > maven-compiler-plugin > 3.5 > > 1.8 > 1.8 > > > > org.apache.maven.plugins > maven-source-plugin > 3.0.1 > > > attach-sources > > jar > > > > > > > > {code} > > h3. ./src/main/java/com/mock/bug/Main.java > {code:java} > package com.mock.bug; > public class Main { > public void main(String[] input){ > System.out.println("hello workd"); > } > } > {code} > h3. ./src/test/java/com/mock/bug/DummyHealthCheckTest.java > {code:java} > package com.mock.bug; > import org.junit.Test; > import static org.junit.Assert.*; > public class DummyHealthCheckTest { > @Test > public void DummyCheckTest() { > boolean t = true; > assertTrue(t); > } > } > {code} > h3.
[jira] [Updated] (BEAM-3693) On ubuntu 16 and Java 1.8 the package beam-sdks-java-core 2.2.0 throws Invalid value for MonthOfYear
[ https://issues.apache.org/jira/browse/BEAM-3693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thiago Henrique Ramos da Mata updated BEAM-3693: Environment: Apache Maven 3.3.9 Maven home: /usr/share/maven Java version: 9.0.4, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-9-oracle Default locale: en_NZ, platform encoding: UTF-8 OS name: "linux", version: "4.13.0-32-generic", arch: "amd64", family: "unix" java version "1.8.0_161" Java(TM) SE Runtime Environment (build 1.8.0_161-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode) No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 16.04.3 LTS Release:16.04 Codename: xenial was: {code:sh} $ mvn version Apache Maven 3.3.9 Maven home: /usr/share/maven Java version: 9.0.4, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-9-oracle Default locale: en_NZ, platform encoding: UTF-8 OS name: "linux", version: "4.13.0-32-generic", arch: "amd64", family: "unix" $ java -version java version "1.8.0_161" Java(TM) SE Runtime Environment (build 1.8.0_161-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode) $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 16.04.3 LTS Release:16.04 Codename: xenial {code} > On ubuntu 16 and Java 1.8 the package beam-sdks-java-core 2.2.0 throws > Invalid value for MonthOfYear > > > Key: BEAM-3693 > URL: https://issues.apache.org/jira/browse/BEAM-3693 > Project: Beam > Issue Type: Bug > Components: beam-model >Affects Versions: 2.2.0 > Environment: Apache Maven 3.3.9 > Maven home: /usr/share/maven > Java version: 9.0.4, vendor: Oracle Corporation > Java home: /usr/lib/jvm/java-9-oracle > Default locale: en_NZ, platform encoding: UTF-8 > OS name: "linux", version: "4.13.0-32-generic", arch: "amd64", family: > "unix" > java version "1.8.0_161" > Java(TM) SE Runtime Environment (build 1.8.0_161-b12) > Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode) > No LSB modules are available. > Distributor ID: Ubuntu > Description:Ubuntu 16.04.3 LTS > Release:16.04 > Codename: xenial >Reporter: Thiago Henrique Ramos da Mata >Assignee: Kenneth Knowles >Priority: Major > Fix For: 2.1.0 > > > The problem is caused by the package beam-sdks-java-core in the version > 2.2.0. This package was being loaded into the package my.projects.models. > Here is the isolated program that replicates the same error message: > > h3. /pom.xml > {code:xml} > > http://maven.apache.org/POM/4.0.0; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/xsd/maven-4.0.0.xsd;> > 4.0.0 > com.mock.bug > mock-bug > 0.123 > > > junit > junit > 4.12 > test > > > org.apache.beam > beam-sdks-java-core > 2.2.0 > > > > > > maven-compiler-plugin > 3.5 > > 1.8 > 1.8 > > > > org.apache.maven.plugins > maven-source-plugin > 3.0.1 > > > attach-sources > > jar > > > > > > > > {code} > > h3. ./src/main/java/com/mock/bug/Main.java > {code:java} > package com.mock.bug; > public class Main { > public void main(String[] input){ > System.out.println("hello workd"); > } > } > {code} > h3. ./src/test/java/com/mock/bug/DummyHealthCheckTest.java > {code:java} > package com.mock.bug; > import org.junit.Test; > import static org.junit.Assert.*; > public class DummyHealthCheckTest { > @Test > public void DummyCheckTest() { > boolean t = true; > assertTrue(t); > } > } > {code} > h3. Command to fire the error message: > {code:sh} > mvn -U clean package > {code} > h3. Exception Message > {code:sh} > WARNING: An illegal reflective
[jira] [Updated] (BEAM-3693) On ubuntu 16 and Java 1.8 the package beam-sdks-java-core 2.2.0 throws Invalid value for MonthOfYear
[ https://issues.apache.org/jira/browse/BEAM-3693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thiago Henrique Ramos da Mata updated BEAM-3693: Description: The problem is caused by the package beam-sdks-java-core in the version 2.2.0. This package was being loaded into the package my.projects.models. Here is the isolated program that replicates the same error message: h3. /pom.xml {code:xml} http://maven.apache.org/POM/4.0.0; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd;> 4.0.0 com.mock.bug mock-bug 0.123 junit junit 4.12 test org.apache.beam beam-sdks-java-core 2.2.0 maven-compiler-plugin 3.5 1.8 1.8 org.apache.maven.plugins maven-source-plugin 3.0.1 attach-sources jar {code} h3. ./src/main/java/com/mock/bug/Main.java {code:java} package com.mock.bug; public class Main { public void main(String[] input){ System.out.println("hello workd"); } } {code} h3. ./src/test/java/com/mock/bug/DummyHealthCheckTest.java {code:java} package com.mock.bug; import org.junit.Test; import static org.junit.Assert.*; public class DummyHealthCheckTest { @Test public void DummyCheckTest() { boolean t = true; assertTrue(t); } } {code} h3. Command to fire the error message: {code:sh} mvn -U clean package {code} h3. Exception Message {code:sh} WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release [INFO] Scanning for projects... [INFO] [INFO] [INFO] Building mock-bug 0.123 [INFO] [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ mock-bug --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ mock-bug --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /home/me/projects/mock-bug/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.5:compile (default-compile) @ mock-bug --- [INFO] Changes detected - recompiling the module! [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! [INFO] Compiling 1 source file to /home/me/projects/mock-bug/target/classes An exception has occurred in the compiler (9.0.4). 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.time.DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0 at java.base/java.time.temporal.ValueRange.checkValidValue(ValueRange.java:311) at java.base/java.time.temporal.ChronoField.checkValidValue(ChronoField.java:714) at java.base/java.time.LocalDate.of(LocalDate.java:269) at java.base/java.time.LocalDateTime.of(LocalDateTime.java:336) at jdk.zipfs/jdk.nio.zipfs.ZipUtils.dosToJavaTime(ZipUtils.java:109) at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem$Entry.cen(ZipFileSystem.java:1950) at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem$Entry.readCEN(ZipFileSystem.java:1937) at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.getEntry(ZipFileSystem.java:1324) at
[jira] [Updated] (BEAM-3693) On ubuntu 16 and Java 1.8 the package beam-sdks-java-core 2.2.0 throws Invalid value for MonthOfYear
[ https://issues.apache.org/jira/browse/BEAM-3693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thiago Henrique Ramos da Mata updated BEAM-3693: Description: The problem is caused by the package beam-sdks-java-core in the version 2.2.0. This package was being loaded into the package my.projects.models. Here is the isolated program that replicates the same error message: h3. /pom.xml {code:xml} http://maven.apache.org/POM/4.0.0; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd;> 4.0.0 com.mock.bug mock-bug 0.123 junit junit 4.12 test org.apache.beam beam-sdks-java-core 2.2.0 maven-compiler-plugin 3.5 1.8 1.8 org.apache.maven.plugins maven-source-plugin 3.0.1 attach-sources jar {code} h3. ./src/main/java/com/mock/bug/Main.java {code:java} package com.mock.bug; public class Main { public void main(String[] input){ System.out.println("hello workd"); } } {code} h3. ./src/test/java/com/mock/bug/DummyHealthCheckTest.java {code:java} package com.mock.bug; import org.junit.Test; import static org.junit.Assert.*; public class DummyHealthCheckTest { @Test public void DummyCheckTest() { boolean t = true; assertTrue(t); } } {code} h3. Command to fire the error message: mvn -U clean package h3. Exception Message {code:sh} WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release [INFO] Scanning for projects... [INFO] [INFO] [INFO] Building mock-bug 0.123 [INFO] [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ mock-bug --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ mock-bug --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /home/me/projects/mock-bug/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.5:compile (default-compile) @ mock-bug --- [INFO] Changes detected - recompiling the module! [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! [INFO] Compiling 1 source file to /home/me/projects/mock-bug/target/classes An exception has occurred in the compiler (9.0.4). 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.time.DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0 at java.base/java.time.temporal.ValueRange.checkValidValue(ValueRange.java:311) at java.base/java.time.temporal.ChronoField.checkValidValue(ChronoField.java:714) at java.base/java.time.LocalDate.of(LocalDate.java:269) at java.base/java.time.LocalDateTime.of(LocalDateTime.java:336) at jdk.zipfs/jdk.nio.zipfs.ZipUtils.dosToJavaTime(ZipUtils.java:109) at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem$Entry.cen(ZipFileSystem.java:1950) at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem$Entry.readCEN(ZipFileSystem.java:1937) at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.getEntry(ZipFileSystem.java:1324) at
[jira] [Updated] (BEAM-3693) On ubuntu 16 and Java 1.8 the package beam-sdks-java-core 2.2.0 throws Invalid value for MonthOfYear
[ https://issues.apache.org/jira/browse/BEAM-3693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thiago Henrique Ramos da Mata updated BEAM-3693: Description: The problem is caused by the package beam-sdks-java-core in the version 2.2.0. This package was being loaded into the package my.projects.models. Here is the isolated program that replicates the same error message: h3. /pom.xml {code:xml} http://maven.apache.org/POM/4.0.0; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd;> 4.0.0 com.mock.bug mock-bug 0.123 junit junit 4.12 test org.apache.beam beam-sdks-java-core 2.2.0 maven-compiler-plugin 3.5 1.8 1.8 org.apache.maven.plugins maven-source-plugin 3.0.1 attach-sources jar {code} h3. ./src/main/java/com/mock/bug/Main.java {code:java} package com.mock.bug; public class Main { public void main(String[] input){ System.out.println("hello workd"); } } {code} h3. ./src/test/java/com/mock/bug/DummyHealthCheckTest.java {code:java} package com.mock.bug; import org.junit.Test; import static org.junit.Assert.*; public class DummyHealthCheckTest { @Test public void DummyCheckTest() { boolean t = true; assertTrue(t); } } {code} h3. Command to fire the error message: mvn -U clean package h3. Exception Message {code:shell} WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release [INFO] Scanning for projects... [INFO] [INFO] [INFO] Building mock-bug 0.123 [INFO] [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ mock-bug --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ mock-bug --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /home/me/projects/mock-bug/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.5:compile (default-compile) @ mock-bug --- [INFO] Changes detected - recompiling the module! [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! [INFO] Compiling 1 source file to /home/me/projects/mock-bug/target/classes An exception has occurred in the compiler (9.0.4). 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.time.DateTimeException: Invalid value for MonthOfYear (valid values 1 - 12): 0 at java.base/java.time.temporal.ValueRange.checkValidValue(ValueRange.java:311) at java.base/java.time.temporal.ChronoField.checkValidValue(ChronoField.java:714) at java.base/java.time.LocalDate.of(LocalDate.java:269) at java.base/java.time.LocalDateTime.of(LocalDateTime.java:336) at jdk.zipfs/jdk.nio.zipfs.ZipUtils.dosToJavaTime(ZipUtils.java:109) at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem$Entry.cen(ZipFileSystem.java:1950) at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem$Entry.readCEN(ZipFileSystem.java:1937) at jdk.zipfs/jdk.nio.zipfs.ZipFileSystem.getEntry(ZipFileSystem.java:1324) at