Skip to content

Instantly share code, notes, and snippets.

@lek-syde
Created June 19, 2022 12:35
Show Gist options
  • Save lek-syde/f8b34b4b8bcde9433696405ab31e67fc to your computer and use it in GitHub Desktop.
Save lek-syde/f8b34b4b8bcde9433696405ab31e67fc to your computer and use it in GitHub Desktop.
leksyde-2:testrepo-main lek-syde$ ls
README.md libssl.so mvnw.cmd pom.xml
libimobiledevice-glue mvnw nbactions.xml src
leksyde-2:testrepo-main lek-syde$ GRAALVM_HOME=/Library/Java/JavaVirtualMachines/graalvm-svm-java11-darwin-gluon-22.0.0.2-Final/Contents/Home JAVA_HOME=/Library/Java/JavaVirtualMachines/graalvm-ce-java11-22.1.0/Contents/Home "/Users/lek-syde/Documents/ATTEND APP/testrepo-main/mvnw" gluonfx:build
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------------< com.nphcda.sample:main >-----------------------
[INFO] Building NPHCDA ATTEND 1.0.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- gluonfx-maven-plugin:1.0.13:build (default-cli) @ main ---
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------------< com.nphcda.sample:main >-----------------------
[INFO] Building NPHCDA ATTEND 1.0.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] >>> gluonfx-maven-plugin:1.0.13:compile (default-cli) > process-classes @ main >>>
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ main ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 28 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ main ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 30 source files to /Users/lek-syde/Documents/ATTEND APP/testrepo-main/target/classes
[INFO]
[INFO] <<< gluonfx-maven-plugin:1.0.13:compile (default-cli) < process-classes @ main <<<
[INFO]
[INFO]
[INFO] --- gluonfx-maven-plugin:1.0.13:compile (default-cli) @ main ---
Jun 19, 2022 1:34:07 PM com.gluonhq.substrate.util.Logger logInfo
INFO: Substrate is tested with the Gluon's GraalVM build which you can find at https://github.com/gluonhq/graal/releases.
While you can still use other GraalVM builds, there is no guarantee that these will work properly with Substrate
[Sun Jun 19 13:34:07 WAT 2022][INFO] ==================== COMPILE TASK ====================
_______ ___ __ __ _______ __ _
| || | | | | || || | | |
| ___|| | | | | || _ || |_| |
| | __ | | | |_| || | | || |
| || || |___ | || |_| || _ |
| |_| || || || || | | |
|_______||_______||_______||_______||_| |__|
Access to the latest docs, tips and tricks and more info on
how to get support? Register your usage of Gluon Substrate now at
https://gluonhq.com/activate
[Sun Jun 19 13:34:10 WAT 2022][INFO] We will now compile your code for x86_64-apple-darwin. This may take some time.
[Sun Jun 19 13:34:14 WAT 2022][INFO] [SUB] Warning: Ignoring server-mode native-image argument --no-server.
[Sun Jun 19 13:34:20 WAT 2022][INFO] [SUB] ========================================================================================================================
[Sun Jun 19 13:34:20 WAT 2022][INFO] [SUB] GraalVM Native Image: Generating 'com.nphcda.sample.main'...
[Sun Jun 19 13:34:20 WAT 2022][INFO] [SUB] ========================================================================================================================
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] [1/7] Initializing...
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] Warning: Method com.nphcda.sample.views.SecondaryPresenter.sendData2() not found.
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] (9.6s @ 0.17GB)
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] Error: Error parsing serialization configuration in file:/Users/lek-syde/Documents/ATTEND%20APP/testrepo-main/target/classes/META-INF/native-image/serialization-config.json:
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] first level of document must be an array of serialization lists
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] Verify that the configuration matches the schema described in the -H:PrintFlags=+ output for option SerializationConfigurationResources.
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] com.oracle.svm.core.util.UserError$UserException: Error parsing serialization configuration in file:/Users/lek-syde/Documents/ATTEND%20APP/testrepo-main/target/classes/META-INF/native-image/serialization-config.json:
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] first level of document must be an array of serialization lists
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] Verify that the configuration matches the schema described in the -H:PrintFlags=+ output for option SerializationConfigurationResources.
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] at com.oracle.svm.core.util.UserError.abort(UserError.java:73)
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] at com.oracle.svm.hosted.config.ConfigurationParserUtils.doParseAndRegister(ConfigurationParserUtils.java:135)
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] at com.oracle.svm.hosted.config.ConfigurationParserUtils.lambda$parseAndRegisterConfigurations$3(ConfigurationParserUtils.java:113)
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] at java.base/java.util.stream.ReferencePipeline$4$1.accept(ReferencePipeline.java:212)
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] at com.oracle.svm.hosted.config.ConfigurationParserUtils$1.tryAdvance(ConfigurationParserUtils.java:106)
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] at java.base/java.util.Spliterator.forEachRemaining(Spliterator.java:326)
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658)
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:274)
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:312)
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:734)
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] at java.base/java.util.stream.IntPipeline.reduce(IntPipeline.java:491)
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] at java.base/java.util.stream.IntPipeline.sum(IntPipeline.java:449)
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] at com.oracle.svm.hosted.config.ConfigurationParserUtils.parseAndRegisterConfigurations(ConfigurationParserUtils.java:115)
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] at com.oracle.svm.reflect.serialize.hosted.SerializationFeature.duringSetup(SerializationFeature.java:94)
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] at com.oracle.svm.hosted.NativeImageGenerator.lambda$setupNativeImage$16(NativeImageGenerator.java:847)
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] at com.oracle.svm.hosted.FeatureHandler.forEachFeature(FeatureHandler.java:74)
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] at com.oracle.svm.hosted.NativeImageGenerator.setupNativeImage(NativeImageGenerator.java:847)
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] at com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:534)
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] at com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:494)
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] at com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:426)
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] at com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:587)
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] at com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:126)
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] at com.oracle.svm.hosted.NativeImageGeneratorRunner$JDK9Plus.main(NativeImageGeneratorRunner.java:617)
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] ------------------------------------------------------------------------------------------------------------------------
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] 0.5s (5.8% of total time) in 10 GCs | Peak RSS: 0.67GB | CPU load: 2.81
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] ------------------------------------------------------------------------------------------------------------------------
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] Produced artifacts:
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] /Users/lek-syde/Documents/ATTEND APP/testrepo-main/target/gluonfx/x86_64-darwin/gvm/NPHCDA ATTEND/com.nphcda.sample.main.build_artifacts.txt
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] ========================================================================================================================
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] Failed generating 'com.nphcda.sample.main' after 7.9s.
[Sun Jun 19 13:34:23 WAT 2022][INFO] [SUB] Error: Image build request failed with exit status 1
[Sun Jun 19 13:34:23 WAT 2022][SEVERE] Process compile failed with result: 1
Check the log files under /Users/lek-syde/Documents/ATTEND APP/testrepo-main/target/gluonfx/x86_64-darwin/gvm/log
And please check https://docs.gluonhq.com/ for more information.
[Sun Jun 19 13:34:23 WAT 2022][INFO] Logging process [compile] to file: /Users/lek-syde/Documents/ATTEND APP/testrepo-main/target/gluonfx/log/process-compile-1655642063557.log
[Sun Jun 19 13:34:23 WAT 2022][SEVERE] Compiling failed.
Check the log files under /Users/lek-syde/Documents/ATTEND APP/testrepo-main/target/gluonfx/x86_64-darwin/gvm/log
And please check https://docs.gluonhq.com/ for more information.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22.042 s
[INFO] Finished at: 2022-06-19T13:34:23+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.gluonhq:gluonfx-maven-plugin:1.0.13:compile (default-cli) on project main: Compiling failed -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25.595 s
[INFO] Finished at: 2022-06-19T13:34:23+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.gluonhq:gluonfx-maven-plugin:1.0.13:build (default-cli) on project main: Error, gluonfx:build failed -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment