Meteor + React: cosmos:browserify error "Converting circular structure to JSON" - meteor

I'm building a web application using Meteor + React and the project suddenly no longer runs and gives the incomprehensible error seen below.
A friend cloned the same repository and it run perfectly on his computer. I suspect that it has to do with some sort of incompatibility between specific meteor packages and npm packages but have no idea of how to go about fixing it. I've tried deleting and reinstalling meteor, uninstalling and reinstalling cosmos:browserify, and even downloading the entire meteor project anew. No success.
Note that "/Users/noahgrumman/.meteor/packages/meteor-tool/..." is not the project directory but instead the directory where meteor packages are downloaded.
Any ideas about what could be going wrong would be greatly appreciated.
=> Started proxy.
=> Started MongoDB.
=> Errors prevented startup:
While processing files with cosmos:browserify (for target web.browser):
native: Converting circular structure to JSON
at Object.stringify (native)
at Object.stringify
(/Users/noahgrumman/.meteor/packages/meteor-tool/.1.1.10.1b51q9m++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/core-js/modules/es6.symbol.js:127:21)
at Object.stringify
(/Users/noahgrumman/.meteor/packages/meteor-tool/.1.1.10.1b51q9m++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/isopackets/ddp/npm/ecmascript-runtime/node_modules/meteor-ecmascript-runtime/node_modules/core-js/modules/es6.symbol.js:127:21)
at Object.stringify
(/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/ecmascript-runtime/node_modules/meteor-ecmascript-runtime/node_modules/core-js/modules/es6.symbol.js:127:21)
at Object.stringify
(/Users/noahgrumman/.meteor/packages/templating/.1.1.5.7x2gis++os+web.browser+web.cordova/plugin.compileTemplatesBatch.os/npm/ecmascript-runtime/node_modules/meteor-ecmascript-runtime/node_modules/core-js/modules/es6.symbol.js:127:21)
at Object.stringify
(/Users/noahgrumman/.meteor/packages/coffeescript/.1.0.11.iqzsj2++os+web.browser+web.cordova/plugin.compileCoffeescript.os/npm/ecmascript-runtime/node_modules/meteor-ecmascript-runtime/node_modules/core-js/modules/es6.symbol.js:127:21)
at Object.stringify
(/Users/noahgrumman/.meteor/packages/less/.2.5.1.196vlrt++os+web.browser+web.cordova/plugin.compileLessBatch.os/npm/ecmascript-runtime/node_modules/meteor-ecmascript-runtime/node_modules/core-js/modules/es6.symbol.js:127:21)
at BrowserifyPlugin.buildErrorMessage (<runJavaScript-61>:177:70)
at BrowserifyPlugin.compileOneFile (<runJavaScript-61>:142:42)
at <runJavaScript-59>:555:47
at <runJavaScript-59>:585:11
at
/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:182:20
at replenish
(/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:317:21)
at
/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:324:29
at
/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:44:16
at <runJavaScript-59>:591:9
at
/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:182:20
at replenish
(/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:317:21)
at
/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:324:29
at
/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:44:16
at <runJavaScript-59>:591:9
at
/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:182:20
at replenish
(/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:317:21)
at
/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:324:29
at
/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:44:16
at <runJavaScript-59>:591:9
at
/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:182:20
at replenish
(/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:317:21)
at
/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:324:29
at
/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:44:16
at <runJavaScript-59>:591:9
at
/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:182:20
at replenish
(/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:317:21)
at
/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:328:15
at Object.async.forEachLimit.async.eachLimit
(/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:221:35)
at BrowserifyPlugin.processFilesForTarget (<runJavaScript-59>:530:11)
While processing files with cosmos:browserify (for target os.osx.x86_64):
native: Converting circular structure to JSON
at Object.stringify (native)
at Object.stringify
(/Users/noahgrumman/.meteor/packages/meteor-tool/.1.1.10.1b51q9m++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/core-js/modules/es6.symbol.js:127:21)
at Object.stringify
(/Users/noahgrumman/.meteor/packages/meteor-tool/.1.1.10.1b51q9m++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/isopackets/ddp/npm/ecmascript-runtime/node_modules/meteor-ecmascript-runtime/node_modules/core-js/modules/es6.symbol.js:127:21)
at Object.stringify
(/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/ecmascript-runtime/node_modules/meteor-ecmascript-runtime/node_modules/core-js/modules/es6.symbol.js:127:21)
at Object.stringify
(/Users/noahgrumman/.meteor/packages/templating/.1.1.5.7x2gis++os+web.browser+web.cordova/plugin.compileTemplatesBatch.os/npm/ecmascript-runtime/node_modules/meteor-ecmascript-runtime/node_modules/core-js/modules/es6.symbol.js:127:21)
at Object.stringify
(/Users/noahgrumman/.meteor/packages/coffeescript/.1.0.11.iqzsj2++os+web.browser+web.cordova/plugin.compileCoffeescript.os/npm/ecmascript-runtime/node_modules/meteor-ecmascript-runtime/node_modules/core-js/modules/es6.symbol.js:127:21)
at Object.stringify
(/Users/noahgrumman/.meteor/packages/less/.2.5.1.196vlrt++os+web.browser+web.cordova/plugin.compileLessBatch.os/npm/ecmascript-runtime/node_modules/meteor-ecmascript-runtime/node_modules/core-js/modules/es6.symbol.js:127:21)
at BrowserifyPlugin.buildErrorMessage (<runJavaScript-61>:177:70)
at BrowserifyPlugin.compileOneFile (<runJavaScript-61>:142:42)
at <runJavaScript-59>:555:47
at <runJavaScript-59>:585:11
at
/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:182:20
at replenish
(/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:317:21)
at
/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:324:29
at
/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:44:16
at <runJavaScript-59>:591:9
at
/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:182:20
at replenish
(/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:317:21)
at
/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:324:29
at
/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:44:16
at <runJavaScript-59>:591:9
at
/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:182:20
at replenish
(/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:317:21)
at
/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:324:29
at
/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:44:16
at <runJavaScript-59>:591:9
at
/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:182:20
at replenish
(/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:317:21)
at
/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:324:29
at
/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:44:16
at <runJavaScript-59>:591:9
at
/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:182:20
at replenish
(/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:317:21)
at
/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:328:15
at Object.async.forEachLimit.async.eachLimit
(/Users/noahgrumman/.meteor/packages/cosmos_browserify/.0.9.3.pipsf++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/caching-compiler/node_modules/async/lib/async.js:221:35)
at BrowserifyPlugin.processFilesForTarget (<runJavaScript-59>:530:11)

The cosmos:browserify package was updated yesterday and that seems to fix it. Try updating it again.
This happened to me a few times too. I used to be able to fix it by going through the update process for meteorhacks:npm of deleting the packages/npm-container folder, removing npm-container, and starting the app. Then today that didn't work anymore, so I updated cosmos:browserify and that worked.

Related

Error: Unsupported operation: Platform._operatingSystem

I want build app flutter on web but I get error when I run
flutter run -d chrome
error
Error: Unsupported operation: Platform._operatingSystem
at Object.throw_ [as throw] (http://localhost:55259/dart_sdk.js:5334:11)
at Function._operatingSystem (http://localhost:55259/dart_sdk.js:56144:17)
at Function.get operatingSystem [as operatingSystem] (http://localhost:55259/dart_sdk.js:56190:27)
at get _operatingSystem (http://localhost:55259/dart_sdk.js:56103:27)
at Function.desc.get [as _operatingSystem] (http://localhost:55259/dart_sdk.js:5839:17)
at Function.get operatingSystem [as operatingSystem] (http://localhost:55259/dart_sdk.js:56056:26)
at main$ (http://localhost:55259/packages/doxaspc/main.dart.lib.js:205:48)
at main$.next (<anonymous>)
at http://localhost:55259/dart_sdk.js:39032:33
at _RootZone.runUnary (http://localhost:55259/dart_sdk.js:38889:58)
at _FutureListener.thenAwait.handleValue (http://localhost:55259/dart_sdk.js:33875:29)
at handleValueCallback (http://localhost:55259/dart_sdk.js:34435:49)
at Function._propagateToListeners (http://localhost:55259/dart_sdk.js:34473:17)
at _Future.new.[_completeWithValue] (http://localhost:55259/dart_sdk.js:34315:23)
at async._AsyncCallbackEntry.new.callback (http://localhost:55259/dart_sdk.js:34338:35)
at Object._microtaskLoop (http://localhost:55259/dart_sdk.js:39176:13)
at _startMicrotaskLoop (http://localhost:55259/dart_sdk.js:39182:13)
at http://localhost:55259/dart_sdk.js:34689:9
function main of me
void main() async {
WidgetsFlutterBinding.ensureInitialized();
await Firebase.initializeApp();
runApp(MyApp());
}
I have build a app android and it work good. but when I want anable web see error above
please show me how fix it?
I had the same error with a mobile flutter app to configure in Web.
It was because some packages are available only for Android and IOS, and not for the Web.
Maybe you should replace your packages with an equivalent available for all platforms.
FlutterFire plugins for web may still be errorneous
Please follow the guide as suggested here

Gluon Mobile (JavaFX): Failed to execute goal com.gluonhq:client-maven-plugin:0.1.38

I encounter errors when I try to create a native-image of Gluon Mobile based application on Linux.
I cloned the HelloGluon sample, and I could successfully run it as a Java application without any errors by selecting Plugins → javafx → javafx:run from the Maven tool window in IntelliJ IDEA.
When I want to build it as a native image on Fedora Linux, everything goes wrong. It showed the following error when I selected Plugins → client → client:build goal from the Maven tool window to make a native-image.
Failed to execute goal com.gluonhq:client-maven-plugin:0.1.38:build (default-cli) on project hellogluon: Error, client:build failed
Again I trired to build the application with -X (Produce execution debug output), and I encounter with the following:
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.648 s
[INFO] Finished at: 2021-03-13T11:20:34+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.gluonhq:client-maven-plugin:0.1.38:build (default-cli) on project hellogluon: Error, client:build failed: Error while executing process. Cannot run program "/home/eloy/dev/idea-IU-203.7148.57/plugins/maven/lib/maven3/bin/mvn" (in directory "/home/eloy/projects/gluon-samples/HelloGluon"): error=13, Permission denied -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.gluonhq:client-maven-plugin:0.1.38:build (default-cli) on project hellogluon: Error, client:build failed
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
at org.codehaus.classworlds.Launcher.main (Launcher.java:47)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error, client:build failed
at com.gluonhq.NativeBuildMojo.execute (NativeBuildMojo.java:82)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
at org.codehaus.classworlds.Launcher.main (Launcher.java:47)
Caused by: org.codehaus.plexus.util.cli.CommandLineException: Error while executing process.
at org.codehaus.plexus.util.cli.Commandline.execute (Commandline.java:680)
at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLineAsCallable (CommandLineUtils.java:136)
at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine (CommandLineUtils.java:106)
at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine (CommandLineUtils.java:75)
at org.apache.maven.shared.invoker.DefaultInvoker.executeCommandLine (DefaultInvoker.java:159)
at org.apache.maven.shared.invoker.DefaultInvoker.execute (DefaultInvoker.java:112)
at com.gluonhq.NativeBuildMojo.execute (NativeBuildMojo.java:80)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
at org.codehaus.classworlds.Launcher.main (Launcher.java:47)
Caused by: java.io.IOException: Cannot run program "/home/eloy/dev/idea-IU-203.7148.57/plugins/maven/lib/maven3/bin/mvn" (in directory "/home/eloy/projects/gluon-samples/HelloGluon"): error=13, Permission denied
at java.lang.ProcessBuilder.start (ProcessBuilder.java:1128)
at java.lang.ProcessBuilder.start (ProcessBuilder.java:1071)
at java.lang.Runtime.exec (Runtime.java:589)
at org.codehaus.plexus.util.cli.Commandline.execute (Commandline.java:675)
at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLineAsCallable (CommandLineUtils.java:136)
at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine (CommandLineUtils.java:106)
at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine (CommandLineUtils.java:75)
at org.apache.maven.shared.invoker.DefaultInvoker.executeCommandLine (DefaultInvoker.java:159)
at org.apache.maven.shared.invoker.DefaultInvoker.execute (DefaultInvoker.java:112)
at com.gluonhq.NativeBuildMojo.execute (NativeBuildMojo.java:80)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
at org.codehaus.classworlds.Launcher.main (Launcher.java:47)
Caused by: java.io.IOException: error=13, Permission denied
at java.lang.ProcessImpl.forkAndExec (Native Method)
at java.lang.ProcessImpl.<init> (ProcessImpl.java:340)
at java.lang.ProcessImpl.start (ProcessImpl.java:271)
at java.lang.ProcessBuilder.start (ProcessBuilder.java:1107)
at java.lang.ProcessBuilder.start (ProcessBuilder.java:1071)
at java.lang.Runtime.exec (Runtime.java:589)
at org.codehaus.plexus.util.cli.Commandline.execute (Commandline.java:675)
at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLineAsCallable (CommandLineUtils.java:136)
at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine (CommandLineUtils.java:106)
at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine (CommandLineUtils.java:75)
at org.apache.maven.shared.invoker.DefaultInvoker.executeCommandLine (DefaultInvoker.java:159)
at org.apache.maven.shared.invoker.DefaultInvoker.execute (DefaultInvoker.java:112)
at com.gluonhq.NativeBuildMojo.execute (NativeBuildMojo.java:80)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
at org.codehaus.classworlds.Launcher.main (Launcher.java:47)
[ERROR]
[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
Process finished with exit code 1
The environment spec:
Fedora 30 XFCE
Oracle jdk-11.0.10
Maven 3.6.3
graalvm-ce-java11-21.0.0
Gluon Plugin 2.8.5 (IntelliJ IDEA)
I could resolve the mentioned issues. It seems that I did not set environment variables properly and also some OS libraries were missing. Although it is possible to use IDE’s Maven window, it is better to run your maven goals via terminal. All following commands are executed within terminal.
In order to build this application as a native-image, you need Maven, Java 11+, JavaFX 15+, Gluon Mobile and GraalVM. You can use install OpenJDK or download the OracleJDK from Oracle. Download the latest version of GraalVM. And do not worry about JavaFX 15 and Gluon Mobile because these dependencies will be resolved by maven.
Setup environment variables by editing .bashrc and add the following paths (to apply changes do not forget to logout and then login, or source .bashrc)
export JAVA_HOME="/home/eloy/dev/jdk-11.0.10"
export PATH=$JAVA_HOME/bin:$PATH
export M2_HOME="/home/eloy/dev/apache-maven-3.6.3"
export M2=$M2_HOME/bin
export PATH=$M2:$PATH
export GRAALVM_HOME="/home/eloy/dev/graalvm-ce-java11-21.0.0.2"
Make sure that you have
gcc version 6 or higher
ld version 2.26 or higher
Till now you can compile your application via mvn client:compile, but to complete the link phase you need the following libraries and dependencies:
Configure Yum Repository: install and enable the RPMfusion repository on your Fedora
dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
Then install the required libs:
dnf install freetype-devel glib2-devel gtk3-devel libX11-devel
dnf install libXtst-devel mesa-libGL-devel pango-devel zlib-devel
dnf install alsa-lib-devel ffmpeg-devel
dnf install libstdc++-static
Now you can run mvn client:link and you will have a .sh file in ../HelloGluon/target/client/x86_64-linux/ directory.
Notice: client:build just combines two goals of client:compile and client:link and runs each of them automatically.
PS These steps are tested on Fedora 30, 31, and 32.

>HTTP Status 404 - Checksum deploy failed. No existing file with SHA1 on jar deployment

I am currently in the process of upgrading a set of gradle build scripts from gradle 1.3 to 3.4.1. This includes updating the artifactory plugin to the latest version. The process was progressing nicely until I got to the Java/Groovy portion of the build. The scripts are building and publishing the jars to artifactory, but I'm getting a stacktrace on most of the deployments (all jars are successfully deployed to artifactory, not all of the deployments result in the stacktrace).
We're currently running 2.6.5 of artifactory, so my question is about where the problem likely lies. Would it be in the gradle scripts/artifactory plugin, or would it be because we're waaaay behind in artifactory. If the answer is the latter, then my time is better spent getting our repository updated, rather than trying to fight with the gradle scripts.
Is there anything in the stacktrace below that might indicate the source of the problem, or is more information needed?
Thanks in advance....
Deploying artifact: [imagine the url for jar, removed because I got "this looks like spam" error]
Response received:
Apache Tomcat/7.0.27 - Error report HTTP Status 404 - Checksum deploy failed. No existing file with SHA1: 8f01751c92539b9c262b3607888732a3d6965722type Status reportmessage Checksum deploy failed. No existing file with SHA1: 8f01751c92539b9c262b3607888732a3d6965722description The requested resource (Checksum deploy failed. No existing file with SHA1: 8f01751c92539b9c262b3607888732a3d6965722) is not available.Apache Tomcat/7.0.27
Failed while reading the response from: PUT http://artifactory.myemployer.com:8081/artifactory/debug-local/com/myemployer/unitTest/templateTestFramework/2017.03.30.new/templateTestFramework-2017.03.30.new.jar;build.timestamp=1490904731254;build.name=cfactordebugJava;build.number=20170330new HTTP/1.1
com.fasterxml.jackson.core.JsonParseException: Unexpected character ('Apache Tomcat/7.0.27 - Error report HTTP Status 404 - Checksum deploy failed. No existing file with SHA1: 8f01751c92539b9c262b3607888732a3d6965722type Status reportmessage Checksum deploy failed. No existing file with SHA1: 8f01751c92539b9c262b3607888732a3d6965722description The requested resource (Checksum deploy failed. No existing file with SHA1: 8f01751c92539b9c262b3607888732a3d6965722) is not available.Apache Tomcat/7.0.27; line: 1, column: 2]
at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1702)
at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:558)
at com.fasterxml.jackson.core.base.ParserMinimalBase._reportUnexpectedChar(ParserMinimalBase.java:456)
at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._handleOddValue(ReaderBasedJsonParser.java:1902)
at com.fasterxml.jackson.core.json.ReaderBasedJsonParser.nextToken(ReaderBasedJsonParser.java:749)
at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:3825)
at com.fasterxml.jackson.databind.ObjectMapper._readValue(ObjectMapper.java:3747)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2090)
at com.fasterxml.jackson.core.JsonParser.readValueAs(JsonParser.java:1627)
at org.jfrog.build.client.ArtifactoryHttpClient.execute(ArtifactoryHttpClient.java:220)
at org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryBuildInfoClient.tryChecksumDeploy(ArtifactoryBuildInfoClient.java:590)
at org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryBuildInfoClient.uploadFile(ArtifactoryBuildInfoClient.java:548)
at org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryBuildInfoClient.deployArtifact(ArtifactoryBuildInfoClient.java:278)
at org.jfrog.gradle.plugin.artifactory.task.BuildInfoBaseTask.deployArtifacts(BuildInfoBaseTask.java:471)
at org.jfrog.gradle.plugin.artifactory.task.BuildInfoBaseTask.prepareAndDeploy(BuildInfoBaseTask.java:398)
at org.jfrog.gradle.plugin.artifactory.task.BuildInfoBaseTask.collectProjectBuildInfo(BuildInfoBaseTask.java:122)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.doExecute(DefaultTaskClassInfoStore.java:141)
at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:134)
at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:123)
at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:692)
at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:675)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.execute(ExecuteActionsTaskExecuter.java:115)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.execute(ExecuteActionsTaskExecuter.java:109)
at org.gradle.internal.Transformers$4.transform(Transformers.java:169)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:106)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:56)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:109)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:90)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:68)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:62)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:88)
at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:46)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.execute(DefaultTaskGraphExecuter.java:236)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.execute(DefaultTaskGraphExecuter.java:228)
at org.gradle.internal.Transformers$4.transform(Transformers.java:169)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:106)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:61)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:228)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:215)
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:77)
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:58)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:32)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:113)
at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
at org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)
at org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)
at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)
at org.gradle.initialization.DefaultGradleLauncher$RunTasksAction.execute(DefaultGradleLauncher.java:230)
at org.gradle.initialization.DefaultGradleLauncher$RunTasksAction.execute(DefaultGradleLauncher.java:227)
at org.gradle.internal.Transformers$4.transform(Transformers.java:169)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:106)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:56)
at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:161)
at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:112)
at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:95)
at org.gradle.launcher.exec.GradleBuildController.run(GradleBuildController.java:66)
at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:41)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)
at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:75)
at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:49)
at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:49)
at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:31)
at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:67)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:37)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)
at org.gradle.util.Swapper.swap(Swapper.java:38)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:55)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:60)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:72)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)
at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:297)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:46)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Deploying artifact: http://artifactory.myemployer.com:8081/artifactory/debug-local/com/myemployer/unitTest/templateTestFramework/2017.03.30.new/templateTestFramework-2017.03.30.new.pom
Deploying build descriptor to: http://artifactory.myemployer.com:8081/artifactory/api/build
Build successfully deployed. Browse it in Artifactory under http://artifactory.myemployer.com:8081/artifactory/webapp/builds/cfactordebugJava/20170330new
BUILD SUCCESSFUL
Total time: 1 mins 47.418 secs
This looks like a compatibility issue between the latest version of the gradle plugin and Artifactory 2.6.5, related to the way error messages are reported back from the REST API.
I strongly recommend investing the effort in upgrading your Artifactory to the latest version.

Unable to run meteor from Webstorm

I want to run the meteor application from some IDE so that I can debug the server side code.
For now I have setup the meteor application on the Webstorm. When I try to run the application I get following error message . Really appreciate your help.
/Users/jackal/.meteor/packages/meteor-tool/.1.0.35.mewx50++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/dev_bundle/lib/node_modules/fibers/future.js:173
throw(ex);
^ Error: EACCES, permission denied '/Users/jackal/rschtml5/ageroRSCHTML/.meteor/local/build'
at Object.fs.renameSync (fs.js:548:18)
at Object.files.renameDirAlmostAtomically (/Users/jackal/.meteor/packages/meteor-tool/.1.0.35.mewx50++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/files.js:644:8)
at _.extend.complete (/Users/jackal/.meteor/packages/meteor-tool/.1.0.35.mewx50++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/builder.js:485:11)
at writeSiteArchive (/Users/jackal/.meteor/packages/meteor-tool/.1.0.35.mewx50++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/bundler.js:1836:13)
at /Users/jackal/.meteor/packages/meteor-tool/.1.0.35.mewx50++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/bundler.js:2206:20
at /Users/jackal/.meteor/packages/meteor-tool/.1.0.35.mewx50++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/buildmessage.js:250:13
at _.extend.withValue (/Users/jackal/.meteor/packages/meteor-tool/.1.0.35.mewx50++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/fiber-helpers.js:112:14)
at /Users/jackal/.meteor/packages/meteor-tool/.1.0.35.mewx50++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/buildmessage.js:243:29
at _.extend.withValue (/Users/jackal/.meteor/packages/meteor-tool/.1.0.35.mewx50++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/fiber-helpers.js:112:14)
at /Users/jackal/.meteor/packages/meteor-tool/.1.0.35.mewx50++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/buildmessage.js:241:18
at _.extend.withValue (/Users/jackal/.meteor/packages/meteor-tool/.1.0.35.mewx50++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/fiber-helpers.js:112:14)
at /Users/jackal/.meteor/packages/meteor-tool/.1.0.35.mewx50++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/buildmessage.js:232:23
at _.extend.withValue (/Users/jackal/.meteor/packages/meteor-tool/.1.0.35.mewx50++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/fiber-helpers.js:112:14)
at Object.capture (/Users/jackal/.meteor/packages/meteor-tool/.1.0.35.mewx50++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/buildmessage.js:231:19)
at Object.exports.bundle (/Users/jackal/.meteor/packages/meteor-tool/.1.0.35.mewx50++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/bundler.js:1926:31)
at bundleApp (/Users/jackal/.meteor/packages/meteor-tool/.1.0.35.mewx50++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/run-app.js:509:28)
at _.extend._runOnce (/Users/jackal/.meteor/packages/meteor-tool/.1.0.35.mewx50++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/run-app.js:527:24)
at _.extend._fiber (/Users/jackal/.meteor/packages/meteor-tool/.1.0.35.mewx50++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/run-app.js:744:28)
at /Users/jackal/.meteor/packages/meteor-tool/.1.0.35.mewx50++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/run-app.js:380:12
I'm not sure about my answer for your specific scenario: I had a similar problem and the cause was the npm permissions, I had to run meteor as root: sudo meteor
I see in your paste: Error: EACCES, permission denied '/Users/jackal/rschtml5/ageroRSCHTML/.meteor/local/build' at Object.fs.renameSync
Some permission is wrong. I usually use the terminal in WebStorm, not the built-in build and run. Probably you haven't noticed because you're root. Try to create a new user and run meteor create testProject. I had this issue on my Meteor install.
Edit:
Check if any of these links solves your problems:
https://github.com/oortcloud/meteorite/blob/master/README.md#permission-woes
https://github.com/meteor/meteor/issues/893

NoClassDefFoundError LocalSessionFactoryBuilder in the jar

I am new to web application development and need your help. I use Spring3.1.2/Hibernate 4.1 on Weblogic 10.3. I deployed the war file but am getting the NoClassDefFoundError at run time below.
It complaints about LocalSessionFactoryBuilder. But if you see the first line of the stacktrace, the call was made from org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(). The LocalSessionFactoryBuilder and LocalSessionFactoryBean are in the same package and I can see both classes in org.springframework.orm-3.1.2.RELEASE.jar in WEB-INF/lib. Any clue?
Caused By: java.lang.NoClassDefFoundError: org/springframework/orm/hibernate4/LocalSessionFactoryBuilder
at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:277)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:591)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
I kind fixed this with alternative way. I have placed all the jars in the $DOMAIN/servers/$MYSERVER/lib directory and add them in the classpath in the setEnvsstserver. Not sure why the jars in the WEB-INF/lib not being picked up.

Resources