Comments (16)
from jmeter.
Have you tried increasing -Xss
here:
jmeter/src/dist/build.gradle.kts
Line 643 in 09c3f81
It says there was "free space=243k" in stack, however, it is hard to tell what is wrong here.
Have you tried Java 21 or a Java from a different vendor?
from jmeter.
i modify jvmArgs("-Xss512k") in jmeter/src/dist/build.gradle.kts, but hava the same problem as above,
……
An error report file with more information is saved as:
D:\xxx\jmeter\bin\hs_err_pid20116.log
……
i change the jdk to Java 21(21.0.2), i meet the problem as below, It seems that I can only use java 17 ? :
10:17:08: Executing 'runGui'...
Starting Gradle Daemon...
Gradle Daemon started in 2 s 495 ms
Type-safe project accessors is an incubating feature.
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
- What went wrong:
A problem occurred configuring project ':build-logic-commons:gradle-plugin'.
Failed to calculate the value of task ':build-logic-commons:gradle-plugin:compileJava' property 'javaCompiler'.
No matching toolchains found for requested specification: {languageVersion=17, vendor=any, implementation=vendor-specific} for WINDOWS on x86_64.
> No locally installed toolchains match and toolchain download repositories have not been configured.
- Try:
Learn more about toolchain auto-detection at https://docs.gradle.org/8.5/userguide/toolchains.html#sec:auto_detection.
Learn more about toolchain repositories at https://docs.gradle.org/8.5/userguide/toolchains.html#sub:download_repositories.
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Get more help at https://help.gradle.org.
==============================================================================
2: Task failed with an exception.
- What went wrong:
Failed to query the value of property 'buildFlowServiceProperty'.
Could not isolate value org.jetbrains.kotlin.gradle.plugin.statistics.BuildFlowService$Parameters_Decorated@65b3a32e of type BuildFlowService.Parameters
A problem occurred configuring project ':build-logic-commons:gradle-plugin'.
> Failed to calculate the value of task ':build-logic-commons:gradle-plugin:compileJava' property 'javaCompiler'.
> No matching toolchains found for requested specification: {languageVersion=17, vendor=any, implementation=vendor-specific} for WINDOWS on x86_64.
> No locally installed toolchains match and toolchain download repositories have not been configured.
- Try:
Learn more about toolchain auto-detection at https://docs.gradle.org/8.5/userguide/toolchains.html#sec:auto_detection.
Learn more about toolchain repositories at https://docs.gradle.org/8.5/userguide/toolchains.html#sub:download_repositories.
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Get more help at https://help.gradle.org.
==============================================================================
BUILD FAILED in 28s
10:17:40: Execution finished 'runGui'.
the java version as below:
C:\Users\Administrator>java -version
java version "21.0.2" 2024-01-16 LTS
Java(TM) SE Runtime Environment (build 21.0.2+13-LTS-58)
Java HotSpot(TM) 64-Bit Server VM (build 21.0.2+13-LTS-58, mixed mode, sharing)
the jdk download link i used is :
https://download.oracle.com/java/17/latest/jdk-17_windows-x64_bin.zip
https://download.oracle.com/java/21/latest/jdk-21_windows-x64_bin.zip
the os is Windows 10
the idea is IntelliJ IDEA 2023.3.6
from jmeter.
from jmeter.
I forgot that Java version should be configured with parameters (see ./gradlew parameters
)
For instance:
./gradlew runGui -PjdkTestVersion=21
from jmeter.
It looks you hit https://bugs.openjdk.org/browse/JDK-8277299 here, so going with Java 21 or increasing the stack size from 256k to 1m would likely resolve the issue.
from jmeter.
Thank you for answering my question.
in java 17, i set the stack size from 256k to 1m is ok, and after execute ./gradlew.bat runGui , the jmeter can open.
in java 21 , execute ./gradlew.bat runGui -PjdkTestVersion=21, hava error as below:
D:\xxx\jmeter> ./gradlew.bat runGui -PjdkTestVersion=21
Type-safe project accessors is an incubating feature.
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
- What went wrong:
A problem occurred configuring project ':build-logic-commons:gradle-plugin'.
Failed to calculate the value of task ':build-logic-commons:gradle-plugin:compileJava' property 'javaCompiler'.
No matching toolchains found for requested specification: {languageVersion=17, vendor=any, implementation=vendor-specific} for WINDOWS on x86_64.
> No locally installed toolchains match and toolchain download repositories have not been configured.
- Try:
Learn more about toolchain auto-detection at https://docs.gradle.org/8.5/userguide/toolchains.html#sec:auto_detection.
Learn more about toolchain repositories at https://docs.gradle.org/8.5/userguide/toolchains.html#sub:download_repositories.
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Get more help at https://help.gradle.org.
==============================================================================
2: Task failed with an exception.
- What went wrong:
Failed to query the value of property 'buildFlowServiceProperty'.
Could not isolate value org.jetbrains.kotlin.gradle.plugin.statistics.BuildFlowService$Parameters_Decorated@2c02cbc8 of type BuildFlowService.Parameters
A problem occurred configuring project ':build-logic-commons:gradle-plugin'.
> Failed to calculate the value of task ':build-logic-commons:gradle-plugin:compileJava' property 'javaCompiler'.
> No matching toolchains found for requested specification: {languageVersion=17, vendor=any, implementation=vendor-specific} for WINDOWS on x86_64.
> No locally installed toolchains match and toolchain download repositories have not been configured.
- Try:
Learn more about toolchain auto-detection at https://docs.gradle.org/8.5/userguide/toolchains.html#sec:auto_detection.
Learn more about toolchain repositories at https://docs.gradle.org/8.5/userguide/toolchains.html#sub:download_repositories.
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Get more help at https://help.gradle.org.
==============================================================================
BUILD FAILED in 2s
from jmeter.
i hava another question : jmeter freeze when open a jmx with a Big request param.
in the jmx, i have a httpsample , and it's request param is a big json ,about 600k, when load the file ,the jmeter hangs up.
how to solve the problem.
I don't want to use CSV to deliver the request param.
from jmeter.
{languageVersion=17, vendor=any, implementation=vendor-specific} for WINDOWS on x86_64.
No locally installed toolchains match and toolchain download repositories have not been configured.
That means Gradle can't detect Java 17 on your machine.
By default JMeter uses Java 17 for the build, and you could use ./gradlew -PjdkBuildVersion=21 -PjdkTestVersion=21 runGui
to use 21 for both build and test.
from jmeter.
in jdk 21, i try ./gradlew.bat -PjdkBuildVersion=21 -PjdkTestVersion=21 runGui , but some error happen as front:
from jmeter.
when use ./gradlew.bat runGui , how to pass a jmx file path?
from jmeter.
"jmeter freeze" is caused by bobbylight/RSyntaxTextArea#41:
A workaround is to disable line wrapping (see jsyntaxtextarea.linewrap
in jmeter.properties
)
"AWT-EventQueue-0" #36 [67591] prio=6 os_prio=31 cpu=155639,07ms elapsed=209,99s tid=0x000000013be47c00 nid=67591 runnable [0x000000016ecdd000]
java.lang.Thread.State: RUNNABLE
at org.fife.ui.rsyntaxtextarea.TokenImpl.getWidthUpTo(TokenImpl.java:601)
at org.fife.ui.rsyntaxtextarea.TokenUtils.getSubTokenList(TokenUtils.java:132)
at org.fife.ui.rsyntaxtextarea.WrappedSyntaxView$WrappedLine.calculateLineCount(WrappedSyntaxView.java:1188)
at org.fife.ui.rsyntaxtextarea.WrappedSyntaxView$WrappedLine.handleDocumentEvent(WrappedSyntaxView.java:1439)
at org.fife.ui.rsyntaxtextarea.WrappedSyntaxView$WrappedLine.insertUpdate(WrappedSyntaxView.java:1463)
at org.fife.ui.rsyntaxtextarea.WrappedSyntaxView.insertUpdate(WrappedSyntaxView.java:706)
at javax.swing.plaf.basic.BasicTextUI$RootView.insertUpdate([email protected]/BasicTextUI.java:1711)
at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.insertUpdate([email protected]/BasicTextUI.java:1978)
at javax.swing.text.AbstractDocument.fireInsertUpdate([email protected]/AbstractDocument.java:227)
at org.fife.ui.rsyntaxtextarea.RSyntaxDocument.fireInsertUpdate(RSyntaxDocument.java:187)
at javax.swing.text.AbstractDocument.handleInsertString([email protected]/AbstractDocument.java:781)
at javax.swing.text.AbstractDocument.insertString([email protected]/AbstractDocument.java:740)
at javax.swing.text.PlainDocument.insertString([email protected]/PlainDocument.java:131)
at javax.swing.text.AbstractDocument.replace([email protected]/AbstractDocument.java:699)
at javax.swing.text.JTextComponent.setText([email protected]/JTextComponent.java:1725)
at org.apache.jmeter.gui.util.JSyntaxTextArea.setInitialText(JSyntaxTextArea.java:305)
at org.apache.jmeter.protocol.http.config.gui.UrlConfigGui.configure(UrlConfigGui.java:291)
at org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui.configure(HttpTestSampleGui.java:134)
at org.apache.jmeter.gui.tree.JMeterTreeModel.addComponent(JMeterTreeModel.java:162)
at org.apache.jmeter.gui.tree.JMeterTreeModel.addSubTree(JMeterTreeModel.java:131)
at org.apache.jmeter.gui.tree.JMeterTreeModel.addSubTree(JMeterTreeModel.java:131)
at org.apache.jmeter.gui.tree.JMeterTreeModel.addSubTree(JMeterTreeModel.java:123)
at org.apache.jmeter.gui.GuiPackage.addSubTree(GuiPackage.java:555)
at org.apache.jmeter.gui.action.Load.insertLoadedTree(Load.java:201)
at org.apache.jmeter.gui.action.Load.loadProjectFile(Load.java:132)
at org.apache.jmeter.gui.action.Load.loadProjectFile(Load.java:103)
at org.apache.jmeter.gui.action.Load.doActionAfterCheck(Load.java:90)
at org.apache.jmeter.gui.action.AbstractActionWithNoRunningTest.doAction(AbstractActionWithNoRunningTest.java:44)
at org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:83)
at org.apache.jmeter.gui.action.ActionRouter.lambda$actionPerformed$0(ActionRouter.java:65)
at org.apache.jmeter.gui.action.ActionRouter$$Lambda/0x000000e0015201f8.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch([email protected]/InvocationEvent.java:318)
from jmeter.
in jdk 21, i try ./gradlew.bat -PjdkBuildVersion=21 -PjdkTestVersion=21 runGui , but some error happen as front:
#6262 (comment)
It looks like the build requires Java 17 anyway, so you need to have both Java 17 and 21.
See https://docs.gradle.org/current/userguide/toolchains.html regarding the automatic toolchain search and download.
from jmeter.
i primary want to debug Jmeter source with a jmx file, how to dubug in GUI mode with a given jmx file?
in org.apache.jmeter.JMeterTest, i see many runNonGui test case , is there any runGui test case ?
jmeter/src/core/test/JMeterTest
from jmeter.
how to dubug in GUI mode with a given jmx file?
Launch GUI in debug mode, in GUI click "file -> open" and so on.
from jmeter.
thank you very much , i think There are probably no more questions about this issue
from jmeter.
Related Issues (20)
- Recorder: Transaction Control
- [Listener > Graph Results] Throughput per seconds
- Error when uploading file using PUT method in jmeter 5.5 and 5.6(URGENT)
- kg.apc.jmeter.vizualizers.CorrectedResultCollector HOT 1
- how to debug in gui HOT 1
- Exception in building JMeter(Execution failed for task ':src:dist:runGui'.) HOT 3
- OS process sampler cannot be executed in Macos
- Jmeter: JMSSampler could not able to get the actual response body message from ActiveMQ REPLY Queue
- Add a space between key and value after : in View Results Tree > Sampler result tab
- random function generate multiple value when access more than once HOT 8
- Command-line mode doesn't stop and keeps running tests repeatedly HOT 1
- Cookie Manager not working properly
- Unable to create sample labels dynamically
- JMS Publisher not updating values when jndi.properties file changes HOT 1
- Spelling error
- Access CMD as admin through JMeter OS Process Sampler
- Constant Throughput timer with shared algorithm generate wrong throughput when target throughput is big HOT 5
- How to add MDC context when performing Distributed Testing.
- javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jmeter.