I am using Yocto Poky-Thud. I cloned the latest branch of the meta-java layer from https://git.yoctoproject.org/git/meta-java
However, on attempt to build a simple recipe, after one hour or so, I get the following errors below relating to icedtea7 which is not easy to understand. Would anybody have an idea what is the issue?
ERROR: icedtea7-native-2.1.3-r1.0 do_configure: configure failed
ERROR: icedtea7-native-2.1.3-r1.0 do_configure: Function failed:
do_configure (log file is located at
/home/ubuntu/JUMPNOW/bbb/build/tmp/work/x86_64-linux/icedtea7-native/2.1.3-
r1.0/temp/log.do_configure.14801)
ERROR: Logfile of failure stored in:
/home/ubuntu/JUMPNOW/bbb/build/tmp/work/x86_64-linux/icedtea7-native/2.1.3-
r1.0/temp/log.do_configure.14801
Then further down in the messages :
ERROR: Task (/home/ubuntu/JUMPNOW/poky-thud/meta-java/recipes-
core/icedtea/icedtea7-native_2.1.3.bb:do_configure) failed with exit code
'1'
Related
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.
I'm using oracle virtual box connected it to ssh and try to make a small java project which I am unable because I face some errors like
error while writing Simple: Simple.class (Permission denied)
class Simple{
^
1 error
Build step 'Execute shell' marked build as failure
Finished: FAILURE
I'm trying to run java project on jenkins
I'm dying trying to figure this out!
Essentially, I've finished up an Ionic app and am ready to publish it to the Google Play Store. The problem is that I'm having trouble following the directions posted on the Ionic Framework website.
So far, I've created an 'android' folder under 'platforms'.
Error thrown:
Android Studio project detected
ANDROID_HOME=C:\Users\fromf\AppData\Local\Android\sdk
JAVA_HOME=C:\Program Files (x86)\java\jdk1.8.0_191
studio
Subproject Path: CordovaLib
Subproject Path: app
Starting a Gradle Daemon (subsequent builds will be faster)
FAILURE: Build failed with an exception.
What went wrong:
Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the user guide chapter on the daemon at https://docs.gradle.org/4.1/userguide/gradle_daemon.html
Please read the following process output to find out more:
Error occurred during initialization of VM
Could not reserve enough space for 2097152KB object heap
Try:
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
(node:43720) UnhandledPromiseRejectionWarning: Error: cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
My various attempts:
Firstly, that I cannot seem to find the 'build' folder referenced at 'platforms/android/build/outputs/apk'. It simply does not exist.
Having recognised that I'm lacking the 'build' folder, I attempted to change the environment variables according to this website: http://www.tiagoporto.com/blog/environment-setting-tutorial-ionic-android-on-windows/. This did not work.
I followed the directions given on various SoF Q&As, and manually downloaded the needed gradle, called "gradle-2.2.1-all.zip". Still did not work.
I am at my wits ends. Please please please help!
I am having a problem with Sonarqube running from with gradle within a Jenkins pipeline. I am using sonar-scanner-3.0.3.778, gradle 4.3, and the gradle Sonarqube plugin version 2.6.1
When running, we are getting an error that a file cannot be analyzed but there is no reason. When I turn on the '--stacktrace' I am getting the error below error and I have found NO reference to anyone else getting this in any of my searches. Does anyone know what the following mean?
Caused by: org.sonar.sslr.grammar.GrammarException: The inner part of
ZeroOrMore and OneOrMore must not allow empty matches at
org.sonar.sslr.internal.vm.Instruction$CommitVerifyInstruction.execute(Instruction.java:277)
at org.sonar.sslr.internal.vm.Machine.execute(Machine.java:162) at
org.sonar.sslr.internal.vm.Machine.execute(Machine.java:105) at
org.sonar.sslr.internal.vm.Machine.parse(Machine.java:83) at
org.sonar.sslr.parser.ParseRunner.parse(ParseRunner.java:46) at
com.sonar.sslr.api.typed.ActionParser.parse(ActionParser.java:101) at
com.sonar.sslr.api.typed.ActionParser.parse(ActionParser.java:97) at
org.sonar.java.ast.parser.JavaParser.parse(JavaParser.java:55) at
org.sonar.java.ast.parser.JavaParser.parse(JavaParser.java:32) at
org.sonar.java.ast.JavaAstScanner.simpleScan(JavaAstScanner.java:94)
... 70 more
My app was working perfect until I implemented Dagger to my project and some other minor classes to make my app interact with external server.
Now i cant do anything. Im working on Android Studio 2.0, Ubuntu 15.04. I have no idea of what is causing the problen, so feel free to ask for whatever you want to see.
This is what I get from Gradle console:
An exception has occurred in the compiler (1.8.0_77). 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.
com.sun.tools.javac.code.Symbol$CompletionFailure: class file for java.lang.invoke.MethodType not found
FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileDevDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
Messages:
Error:Execution failed for task ':app:compileDevDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.