Seeking help with latest master ...

Kevin Rushforth kevin.rushforth at oracle.com
Tue Mar 31 16:20:22 UTC 2020


Check your JDK version and gradle version:

$ java -version
$ gradle -version

If they look OK, you might try:

$ rm -rf build
$ gradle clean

and then do a build.

-- Kevin


On 3/31/2020 8:06 AM, Rony G. Flatscher wrote:
> After merging the master into a local branch, gradle fails with two exceptions. After updating to
> 6.3 it still fails, here the output:
>
>      rony at rony-linux:~/dev/github/openjdk/jfx$ gradle --stop
>      Stopping Daemon(s)
>      1 Daemon stopped
>
>      rony at rony-linux:~/dev/github/openjdk/jfx$ gradle
>      Starting a Gradle Daemon, 1 stopped Daemon could not be reused, use --status for details
>
>      > Configure project :
>      gradle.gradleVersion: 6.3
>      OS_NAME: linux
>      OS_ARCH: amd64
>      JAVA_HOME: /usr/lib/jvm/java-11-openjdk-amd64
>      JDK_HOME: /usr/lib/jvm/java-11-openjdk-amd64
>      java.runtime.version: 11.0.6+10-post-Ubuntu-1ubuntu118.04.1
>      java version: 11.0.6
>      java build number: 10
>      jdk.runtime.version: 11.0.6+10-post-Ubuntu-1ubuntu118.04.1
>      jdk version: 11.0.6
>      jdk build number: 10
>      minimum jdk version: 11
>      minimum jdk build number: 28
>      GCC version: gcc8.3.0-OL6.4+1.0
>      cmake version: 3.13.3
>      ninja version: 1.8.2
>      ant version: 1.10.5
>      HAS_JAVAFX_MODULES: false
>      STUB_RUNTIME: /usr/lib/jvm/java-11-openjdk-amd64
>      CONF: Debug
>      NUM_COMPILE_THREADS: 8
>      COMPILE_TARGETS: linux
>      COMPILE_FLAGS_FILES: buildSrc/linux.gradle
>      HUDSON_JOB_NAME: not_hudson
>      HUDSON_BUILD_NUMBER: 0000
>      PROMOTED_BUILD_NUMBER: 0
>      PRODUCT_NAME: OpenJFX
>      RELEASE_VERSION: 15
>      RELEASE_SUFFIX: -internal
>      RELEASE_VERSION_SHORT: 15-internal
>      RELEASE_VERSION_LONG: 15-internal+0-2020-03-31-165101
>      RELEASE_VERSION_PADDED: 15.0.0.0
>      MAVEN_VERSION: 15-internal+0-2020-03-31-165101
>      UPDATE_STUB_CACHE: false
>      Building Webkit configuration /Release/ into
>      /home/rony/dev/github/openjdk/jfx/modules/javafx.web/build/linux
>      module: project ':apps' (buildModule=NO)
>      module: project ':base' (buildModule=YES)
>      module: project ':controls' (buildModule=YES)
>      module: project ':fxml' (buildModule=YES)
>      module: project ':graphics' (buildModule=YES)
>      module: project ':media' (buildModule=YES)
>      module: project ':swing' (buildModule=YES)
>      module: project ':swt' (buildModule=NO)
>      module: project ':systemTests' (buildModule=NO)
>      module: project ':web' (buildModule=YES)
>
>      FAILURE: Build completed with 2 failures.
>
>      1: Task failed with an exception.
>      -----------
>      * Where:
>      Build file '/home/rony/dev/github/openjdk/jfx/build.gradle' line: 4176
>
>      * What went wrong:
>      A problem occurred evaluating root project 'jfx'.
>      > Could not resolve all dependencies for configuration ':apps:lucene'.
>         > Multiple build operations failed.
>               java.lang.ExceptionInInitializerError
>               java.lang.NoClassDefFoundError: Could not initialize class
>      sun.security.ssl.SSLContextImpl$TLSContext
>               java.lang.NoClassDefFoundError: Could not initialize class
>      sun.security.ssl.SSLContextImpl$TLSContext
>            > java.lang.ExceptionInInitializerError
>            > java.lang.NoClassDefFoundError: Could not initialize class
>      sun.security.ssl.SSLContextImpl$TLSContext
>            > java.lang.NoClassDefFoundError: Could not initialize class
>      sun.security.ssl.SSLContextImpl$TLSContext
>
>      * Try:
>      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get
>      more log output. Run with --scan to get full insights.
>      ==============================================================================
>
>      2: Task failed with an exception.
>      -----------
>      * Where:
>      Build file '/home/rony/dev/github/openjdk/jfx/build.gradle' line: 1589
>
>      * What went wrong:
>      A problem occurred configuring root project 'jfx'.
>      > Failed to notify project evaluation listener.
>         > Could not get unknown property 'moduleEmptyPublicationJarLinux' for task set of type
>      org.gradle.api.internal.tasks.DefaultTaskContainer.
>         > Could not get unknown property 'moduleEmptyPublicationJarLinux' for task set of type
>      org.gradle.api.internal.tasks.DefaultTaskContainer.
>         > Could not get unknown property 'moduleEmptyPublicationJarLinux' for task set of type
>      org.gradle.api.internal.tasks.DefaultTaskContainer.
>         > Could not get unknown property 'moduleEmptyPublicationJarLinux' for task set of type
>      org.gradle.api.internal.tasks.DefaultTaskContainer.
>         > Could not get unknown property 'moduleEmptyPublicationJarLinux' for task set of type
>      org.gradle.api.internal.tasks.DefaultTaskContainer.
>         > Could not get unknown property 'moduleEmptyPublicationJarLinux' for task set of type
>      org.gradle.api.internal.tasks.DefaultTaskContainer.
>         > Could not get unknown property 'moduleEmptyPublicationJarLinux' for task set of type
>      org.gradle.api.internal.tasks.DefaultTaskContainer.
>
>      * Try:
>      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get
>      more log output. Run with --scan to get full insights.
>      ==============================================================================
>
>      * Get more help at https://help.gradle.org
>
>      Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
>      Use '--warning-mode all' to show the individual deprecation warnings.
>      See https://docs.gradle.org/6.3/userguide/command_line_interface.html#sec:command_line_warnings
>
>      BUILD FAILED in 4s
>      rony at rony-linux:~/dev/github/openjdk/jfx$
>
> Any hint/help highly appreciated (did not find anything on the Internet that would give me options
> to try out)!
>
> ---rony
>
>
>



More information about the openjfx-dev mailing list