Unable to execute java application in Eclipse it is showing IOException - java

I am unable to run sample java application in eclipse IDE,
it is continuously showing the
java.io.IOException: error=12, Cannot allocate memory
this error message
this is my screen shoot

Related

org.openqa.selenium.WebDriverException: unknown error: Microsoft Edge failed to start: crashed. (chrome not reachable)

I came accross this issue when running a maven command from Jenkins. The application to be executed used WebView2. When I execute the command from the project location where Jenkins agent downloads my project, it runs successfully. However, when running from Jenkins I get the following error:
org.openqa.selenium.WebDriverException: unknown error: Microsoft Edge failed to start: crashed.
(chrome not reachable) The process started from msedge location C:\Users\xxx\xyz.exe is no longer running, so msedgedriver is assuming that msedge has crashed.). We use edge webdriver. I have tried all possible solutions without luck.
Tried creating a batch file and run the maven file from it using Jenkins but I am getting the same result.

How do I avoid java.lang.reflect.InvocationTargetException when using Gatling Frontline with compiled code?

I'm using Gatling Frontline to run load tests written in scala with sbt as the build tool. The project compiles, builds, and runs successfully locally. However, when running on a Frontline host, the host fails to connect to the injector pool because the injector process has crashed with an Exception in thread "main" java.lang.reflect.InvocationTargetException. The stack trace indicates that this exception is caused by
java.lang.NoClassDefFoundError: com/google/protobuf/ByteString$Output
and
java.lang.ClassNotFoundException: com.google.protobuf.ByteString$Output.
This error has never occurred locally, during development, as this google package is not used by my project. Could this problem be fixed by changing any of the jvm options supplied by Frontline, or by adding certain system properties or build properties.

How to run scala project with sbt?

I'm trying to run a private waves blockchain network on windows 10.
After following some of waves docs instructions (sbt "test:runMain tools.GenesisBlockGenerator src/test/resources/genesis.example.conf")
These errors comes up. what's the matter?
Update:
It starts with this error java.io.IOException: CreateFile() failed with error 123.

IOException with CSSLexer when trying to launchIOSDevice using Eclipse and Gluon

I've successfully tested a simple Gluon Mobile app on Desktop, Android devices and emulators as well as on an iOS emulator. However when launching : launchIOSDevice I get the following error:
IOException with com.sun.javafx.css.parser.CSSLexer$$Lambda$25: null
And the (reduced) stacktrace
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':launchIOSDevice'.
Caused by: java.lang.RuntimeException: IOException with com.sun.javafx.css.parser.CSSLexer$$Lambda$25: null
Caused by: java.io.EOFException
I get the exact same error when try :createIpa.
I have tried different Java and Gradle versions as well as multiple projects, but nothing seems to be portable to an iOS device.
I'm using
'org.javafxports:jfxmobile-plugin:1.3.10'
and
distributionUrl=https://services.gradle.org/distributions/gradle-2.14.1-all.zip
Has anyone encountered a similar error?
Solution was to delete the contents of the following folder
/Users/<user>/.robovm/cache/ios/arm64/release/Users/<user>/.‌​gradle/caches/module‌​s-2/files-2.1/org.ja‌​vafxports/ios-sdk/8.‌​60.9/<.>/unpacked/io‌​s-sdk/rt/lib/ext/jfx‌​rt.jar/com/sun/javaf‌​x/css/parser
and rerun :clean and :launchIOSDevice
The folder should contain up to CSSLexer$$Lambda$47.class.o for the grade task to build successfully.

Error in launching jnlp

While launching JNLP file, I am getting following error.
Could not create java virtual machine. A fatal exception has occurred.
Program will exit.
This problem sometimes goes away after restarting. Any quick-fix for this error ?

Categories

Resources