Nick
04/07/2023, 1:32 PMPopupManager
• More Powerful Text Rendering
• New LazyPhoto Widget
• New API Docs Siteayodele
04/07/2023, 1:44 PMfitText = setOf(Height)
We mostly set it to empty to have control over width and height.
But in the above, you only set height, can you give a little explanation??ayodele
04/07/2023, 1:48 PMayodele
04/07/2023, 1:52 PMfitText
is what I need to use, but been busy with other work stuff.Stan
04/07/2023, 2:20 PM7.1.1
as defined in your gradle-wrapper properties file. I'll let you know...
(I work around it by using Gradle 8.0.2 for my doodle build, but decided not to bother you about it until after the new release -- of the problem still exists.)Stan
04/07/2023, 2:42 PMjava.lang.NoClassDefFoundError: Could not initialize class <http://org.jetbrains.kotlin.com|org.jetbrains.kotlin.com>.intellij.pom.java.LanguageLevel
at <http://org.jetbrains.kotlin.com|org.jetbrains.kotlin.com>.intellij.core.CoreLanguageLevelProjectExtension.<init>(CoreLanguageLevelProjectExtension.java:26)
at <http://org.jetbrains.kotlin.com|org.jetbrains.kotlin.com>.intellij.core.JavaCoreProjectEnvironment.<init>(JavaCoreProjectEnvironment.java:42)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreProjectEnvironment.<init>(KotlinCoreProjectEnvironment.kt:26)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment$ProjectEnvironment.<init>(KotlinCoreEnvironment.kt:121)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment$Companion.createForProduction(KotlinCoreEnvironment.kt:425)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.createCoreEnvironment(K2JVMCompiler.kt:226)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:152)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:52)
at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.kt:88)
at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.kt:44)
at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:98)
at org.jetbrains.kotlin.incremental.IncrementalJvmCompilerRunner.runCompiler(IncrementalJvmCompilerRunner.kt:386)
at org.jetbrains.kotlin.incremental.IncrementalJvmCompilerRunner.runCompiler(IncrementalJvmCompilerRunner.kt:110)
at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.compileIncrementally(IncrementalCompilerRunner.kt:286)
at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.compileImpl$rebuild(IncrementalCompilerRunner.kt:99)
at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.compileImpl(IncrementalCompilerRunner.kt:114)
at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.compile(IncrementalCompilerRunner.kt:74)
at org.jetbrains.kotlin.daemon.CompileServiceImplBase.execIncrementalCompiler(CompileServiceImpl.kt:607)
at org.jetbrains.kotlin.daemon.CompileServiceImplBase.access$execIncrementalCompiler(CompileServiceImpl.kt:96)
at org.jetbrains.kotlin.daemon.CompileServiceImpl.compile(CompileServiceImpl.kt:1659)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at java.rmi/sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:360)
at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:200)
at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:712)
at java.rmi/sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at java.rmi/sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:587)
at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:828)
at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:705)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:704)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
I edited your gradle-wrapper.properties
, trying each version below. All versions listed below work:
distributionUrl=https\:<//services.gradle.org/distributions/gradle-8.0.2-bin.zip>
distributionSha256Sum=ff7bf6a86f09b9b2c40bb8f48b25fc19cf2b2664fd1d220cd7ab833ec758d0d7
distributionUrl=https\:<//services.gradle.org/distributions/gradle-7.6.1-bin.zip>
distributionUrl=https\:<//services.gradle.org/distributions/gradle-7.5.1-bin.zip>
distributionUrl=https\:<//services.gradle.org/distributions/gradle-7.4.2-bin.zip>
distributionUrl=https\:<//services.gradle.org/distributions/gradle-7.3.3-bin.zip>
distributionUrl=https\:<//services.gradle.org/distributions/gradle-7.2-bin.zip>
Only Gradle version 7.1.1
(the one released with v0.9.1) did not work.
distributionUrl=https\:<//services.gradle.org/distributions/gradle-7.1.1-bin.zip>
Stan
04/07/2023, 2:43 PMNick
04/07/2023, 2:47 PMNick
04/07/2023, 2:50 PMStan
04/07/2023, 2:55 PM./gradlew
script -- using the version defined in your gradle-wrapper.properties
, never the gradle version defined in my system profile's $GRADLE_HOME
, which can be a different gradle version.Stan
04/07/2023, 2:55 PMNick
04/07/2023, 2:56 PMStan
04/07/2023, 2:58 PMNoClassDefFoundError: Could not initialize class <http://org.jetbrains.kotlin.com|org.jetbrains.kotlin.com>.intellij.pom.java.LanguageLevel
My explanation is not good. LanguageLevel does exit in kotlin-compiler-embeddable-1.7.21.jar
. It seems to be a reflection related error.
There are many reports of this issue, going back a couple of years, and never having a definitive solution for all, other than using different gradle/jdk versions.Nick
04/07/2023, 3:03 PMStan
04/07/2023, 3:05 PMayodele
04/07/2023, 3:06 PMStan
04/07/2023, 3:15 PMayodele
04/07/2023, 3:19 PM