Closed snowe2010 closed 7 years ago
Can you give it a try with -X
option to get debug logs ?
It seems that maven-notifier is failing but this error is new to me :)
Thanks!
@jcgay Sorry for the delay. I went on vacation and then had a major injury. I'm just now back to work.
Here is the message before mci -X
, I've removed all the rest of the output since the error happens before any part of the build begins.
Failed to initialize spy fr.jcgay.maven.notifier.NotificationEventSpyChooser: com.shaded.notifier.google.common.io.Closeables.closeQuietly(Ljava/io/InputStream;)V
Scanning for projects...
and this is the output with mci -X
Maven home: /usr/local/Cellar/maven-deluxe/3.5.0-1/libexec
Java version: 1.8.0_73, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_73.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.12.3", arch: "x86_64", family: "mac"
Cannot read configuration at [file:/Users/tylerthrailkill/.send-notification], will use default one.
java.io.FileNotFoundException: /Users/tylerthrailkill/.send-notification (No such file or directory)
at java.io.FileInputStream.open0 (Native Method)
at java.io.FileInputStream.open (FileInputStream.java:195)
at java.io.FileInputStream.<init> (FileInputStream.java:138)
at java.io.FileInputStream.<init> (FileInputStream.java:93)
at sun.net.www.protocol.file.FileURLConnection.connect (FileURLConnection.java:90)
at sun.net.www.protocol.file.FileURLConnection.getInputStream (FileURLConnection.java:188)
at java.net.URL.openStream (URL.java:1045)
at fr.jcgay.notification.configuration.ConfigurationReader.atUrl (ConfigurationReader.java:40)
at fr.jcgay.notification.configuration.ConfigurationReader.atPath (ConfigurationReader.java:30)
at fr.jcgay.notification.SendNotification.<init> (SendNotification.java:55)
at fr.jcgay.maven.notifier.sendnotification.SendNotificationNotifier.<init> (SendNotificationNotifier.java:36)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance (Constructor.java:422)
at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance (DefaultConstructionProxyFactory.java:86)
at com.google.inject.internal.ConstructorInjector.provision (ConstructorInjector.java:105)
at com.google.inject.internal.ConstructorInjector.access$000 (ConstructorInjector.java:32)
at com.google.inject.internal.ConstructorInjector$1.call (ConstructorInjector.java:89)
at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:115)
at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:133)
at com.google.inject.internal.ProvisionListenerStackCallback.provision (ProvisionListenerStackCallback.java:68)
at com.google.inject.internal.ConstructorInjector.construct (ConstructorInjector.java:87)
at com.google.inject.internal.ConstructorBindingImpl$Factory.get (ConstructorBindingImpl.java:267)
at com.google.inject.internal.InjectorImpl$2$1.call (InjectorImpl.java:1016)
at com.google.inject.internal.InjectorImpl.callInContext (InjectorImpl.java:1103)
at com.google.inject.internal.InjectorImpl$2.get (InjectorImpl.java:1012)
at com.google.inject.internal.InjectorImpl.getInstance (InjectorImpl.java:1051)
at org.eclipse.sisu.space.AbstractDeferredClass.get (AbstractDeferredClass.java:48)
at com.google.inject.internal.ProviderInternalFactory.provision (ProviderInternalFactory.java:81)
at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision (InternalFactoryToInitializableAdapter.java:53)
at com.google.inject.internal.ProviderInternalFactory$1.call (ProviderInternalFactory.java:65)
at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:115)
at org.eclipse.sisu.bean.BeanScheduler$CycleActivator.onProvision (BeanScheduler.java:230)
at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:126)
at com.google.inject.internal.ProvisionListenerStackCallback.provision (ProvisionListenerStackCallback.java:68)
at com.google.inject.internal.ProviderInternalFactory.circularGet (ProviderInternalFactory.java:63)
at com.google.inject.internal.InternalFactoryToInitializableAdapter.get (InternalFactoryToInitializableAdapter.java:45)
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call (ProviderToInternalFactoryAdapter.java:46)
at com.google.inject.internal.InjectorImpl.callInContext (InjectorImpl.java:1103)
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get (ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.internal.SingletonScope$1.get (SingletonScope.java:145)
at com.google.inject.internal.InternalFactoryToProviderAdapter.get (InternalFactoryToProviderAdapter.java:41)
at com.google.inject.internal.InjectorImpl$2$1.call (InjectorImpl.java:1016)
at com.google.inject.internal.InjectorImpl.callInContext (InjectorImpl.java:1092)
at com.google.inject.internal.InjectorImpl$2.get (InjectorImpl.java:1012)
at org.eclipse.sisu.inject.LazyBeanEntry.getValue (LazyBeanEntry.java:81)
at org.eclipse.sisu.plexus.LazyPlexusBean.getValue (LazyPlexusBean.java:51)
at org.eclipse.sisu.wire.EntryListAdapter$ValueIterator.next (EntryListAdapter.java:111)
at fr.jcgay.maven.notifier.NotificationEventSpyChooser.chooseNotifier (NotificationEventSpyChooser.java:61)
at fr.jcgay.maven.notifier.NotificationEventSpyChooser.init (NotificationEventSpyChooser.java:28)
at org.apache.maven.eventspy.internal.EventSpyDispatcher.init (EventSpyDispatcher.java:85)
at org.apache.maven.cli.MavenCli.container (MavenCli.java:710)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:338)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:191)
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:497)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
Global configuration is located at: file:/usr/local/Cellar/maven-deluxe/3.5.0-1/libexec/lib/ext/maven-notifier.properties
User specific configuration is located at: file:////Users/tylerthrailkill/.m2/maven-notifier.properties
Can't read file at [file:/usr/local/Cellar/maven-deluxe/3.5.0-1/libexec/lib/ext/maven-notifier.properties]. Skipping it...
java.io.FileNotFoundException: /usr/local/Cellar/maven-deluxe/3.5.0-1/libexec/lib/ext/maven-notifier.properties (No such file or directory)
at java.io.FileInputStream.open0 (Native Method)
at java.io.FileInputStream.open (FileInputStream.java:195)
at java.io.FileInputStream.<init> (FileInputStream.java:138)
at java.io.FileInputStream.<init> (FileInputStream.java:93)
at sun.net.www.protocol.file.FileURLConnection.connect (FileURLConnection.java:90)
at sun.net.www.protocol.file.FileURLConnection.getInputStream (FileURLConnection.java:188)
at java.net.URL.openStream (URL.java:1045)
at fr.jcgay.maven.notifier.ConfigurationParser$ConfiguredProperties.load (ConfigurationParser.java:164)
at fr.jcgay.maven.notifier.ConfigurationParser.readProperties (ConfigurationParser.java:49)
at fr.jcgay.maven.notifier.ConfigurationParser.get (ConfigurationParser.java:39)
at fr.jcgay.maven.notifier.ConfigurationParser.get (ConfigurationParser.java:35)
at fr.jcgay.maven.notifier.AbstractCustomEventSpy.setConfiguration (AbstractCustomEventSpy.java:54)
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:497)
at org.eclipse.sisu.bean.BeanPropertySetter.set (BeanPropertySetter.java:78)
at org.eclipse.sisu.plexus.ProvidedPropertyBinding.injectProperty (ProvidedPropertyBinding.java:48)
at org.eclipse.sisu.bean.BeanInjector.injectMembers (BeanInjector.java:52)
at com.google.inject.internal.MembersInjectorImpl.injectMembers (MembersInjectorImpl.java:140)
at com.google.inject.internal.ConstructorInjector.provision (ConstructorInjector.java:114)
at com.google.inject.internal.ConstructorInjector.access$000 (ConstructorInjector.java:32)
at com.google.inject.internal.ConstructorInjector$1.call (ConstructorInjector.java:89)
at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:115)
at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:133)
at com.google.inject.internal.ProvisionListenerStackCallback.provision (ProvisionListenerStackCallback.java:68)
at com.google.inject.internal.ConstructorInjector.construct (ConstructorInjector.java:87)
at com.google.inject.internal.ConstructorBindingImpl$Factory.get (ConstructorBindingImpl.java:267)
at com.google.inject.internal.InjectorImpl$2$1.call (InjectorImpl.java:1016)
at com.google.inject.internal.InjectorImpl.callInContext (InjectorImpl.java:1103)
at com.google.inject.internal.InjectorImpl$2.get (InjectorImpl.java:1012)
at com.google.inject.internal.InjectorImpl.getInstance (InjectorImpl.java:1051)
at org.eclipse.sisu.space.AbstractDeferredClass.get (AbstractDeferredClass.java:48)
at com.google.inject.internal.ProviderInternalFactory.provision (ProviderInternalFactory.java:81)
at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision (InternalFactoryToInitializableAdapter.java:53)
at com.google.inject.internal.ProviderInternalFactory$1.call (ProviderInternalFactory.java:65)
at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:115)
at org.eclipse.sisu.bean.BeanScheduler$CycleActivator.onProvision (BeanScheduler.java:230)
at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:126)
at com.google.inject.internal.ProvisionListenerStackCallback.provision (ProvisionListenerStackCallback.java:68)
at com.google.inject.internal.ProviderInternalFactory.circularGet (ProviderInternalFactory.java:63)
at com.google.inject.internal.InternalFactoryToInitializableAdapter.get (InternalFactoryToInitializableAdapter.java:45)
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call (ProviderToInternalFactoryAdapter.java:46)
at com.google.inject.internal.InjectorImpl.callInContext (InjectorImpl.java:1103)
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get (ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.internal.SingletonScope$1.get (SingletonScope.java:145)
at com.google.inject.internal.InternalFactoryToProviderAdapter.get (InternalFactoryToProviderAdapter.java:41)
at com.google.inject.internal.InjectorImpl$2$1.call (InjectorImpl.java:1016)
at com.google.inject.internal.InjectorImpl.callInContext (InjectorImpl.java:1092)
at com.google.inject.internal.InjectorImpl$2.get (InjectorImpl.java:1012)
at org.eclipse.sisu.inject.LazyBeanEntry.getValue (LazyBeanEntry.java:81)
at org.eclipse.sisu.plexus.LazyPlexusBean.getValue (LazyPlexusBean.java:51)
at org.eclipse.sisu.wire.EntryListAdapter$ValueIterator.next (EntryListAdapter.java:111)
at fr.jcgay.maven.notifier.NotificationEventSpyChooser.chooseNotifier (NotificationEventSpyChooser.java:61)
at fr.jcgay.maven.notifier.NotificationEventSpyChooser.init (NotificationEventSpyChooser.java:28)
at org.apache.maven.eventspy.internal.EventSpyDispatcher.init (EventSpyDispatcher.java:85)
at org.apache.maven.cli.MavenCli.container (MavenCli.java:710)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:338)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:191)
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:497)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
Can't read file at [file:////Users/tylerthrailkill/.m2/maven-notifier.properties]. Skipping it...
java.io.FileNotFoundException: /Users/tylerthrailkill/.m2/maven-notifier.properties (No such file or directory)
at java.io.FileInputStream.open0 (Native Method)
at java.io.FileInputStream.open (FileInputStream.java:195)
at java.io.FileInputStream.<init> (FileInputStream.java:138)
at java.io.FileInputStream.<init> (FileInputStream.java:93)
at sun.net.www.protocol.file.FileURLConnection.connect (FileURLConnection.java:90)
at sun.net.www.protocol.file.FileURLConnection.getInputStream (FileURLConnection.java:188)
at java.net.URL.openStream (URL.java:1045)
at fr.jcgay.maven.notifier.ConfigurationParser$ConfiguredProperties.load (ConfigurationParser.java:164)
at fr.jcgay.maven.notifier.ConfigurationParser.readProperties (ConfigurationParser.java:49)
at fr.jcgay.maven.notifier.ConfigurationParser.get (ConfigurationParser.java:39)
at fr.jcgay.maven.notifier.ConfigurationParser.get (ConfigurationParser.java:35)
at fr.jcgay.maven.notifier.AbstractCustomEventSpy.setConfiguration (AbstractCustomEventSpy.java:54)
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:497)
at org.eclipse.sisu.bean.BeanPropertySetter.set (BeanPropertySetter.java:78)
at org.eclipse.sisu.plexus.ProvidedPropertyBinding.injectProperty (ProvidedPropertyBinding.java:48)
at org.eclipse.sisu.bean.BeanInjector.injectMembers (BeanInjector.java:52)
at com.google.inject.internal.MembersInjectorImpl.injectMembers (MembersInjectorImpl.java:140)
at com.google.inject.internal.ConstructorInjector.provision (ConstructorInjector.java:114)
at com.google.inject.internal.ConstructorInjector.access$000 (ConstructorInjector.java:32)
at com.google.inject.internal.ConstructorInjector$1.call (ConstructorInjector.java:89)
at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:115)
at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:133)
at com.google.inject.internal.ProvisionListenerStackCallback.provision (ProvisionListenerStackCallback.java:68)
at com.google.inject.internal.ConstructorInjector.construct (ConstructorInjector.java:87)
at com.google.inject.internal.ConstructorBindingImpl$Factory.get (ConstructorBindingImpl.java:267)
at com.google.inject.internal.InjectorImpl$2$1.call (InjectorImpl.java:1016)
at com.google.inject.internal.InjectorImpl.callInContext (InjectorImpl.java:1103)
at com.google.inject.internal.InjectorImpl$2.get (InjectorImpl.java:1012)
at com.google.inject.internal.InjectorImpl.getInstance (InjectorImpl.java:1051)
at org.eclipse.sisu.space.AbstractDeferredClass.get (AbstractDeferredClass.java:48)
at com.google.inject.internal.ProviderInternalFactory.provision (ProviderInternalFactory.java:81)
at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision (InternalFactoryToInitializableAdapter.java:53)
at com.google.inject.internal.ProviderInternalFactory$1.call (ProviderInternalFactory.java:65)
at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:115)
at org.eclipse.sisu.bean.BeanScheduler$CycleActivator.onProvision (BeanScheduler.java:230)
at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision (ProvisionListenerStackCallback.java:126)
at com.google.inject.internal.ProvisionListenerStackCallback.provision (ProvisionListenerStackCallback.java:68)
at com.google.inject.internal.ProviderInternalFactory.circularGet (ProviderInternalFactory.java:63)
at com.google.inject.internal.InternalFactoryToInitializableAdapter.get (InternalFactoryToInitializableAdapter.java:45)
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call (ProviderToInternalFactoryAdapter.java:46)
at com.google.inject.internal.InjectorImpl.callInContext (InjectorImpl.java:1103)
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get (ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.internal.SingletonScope$1.get (SingletonScope.java:145)
at com.google.inject.internal.InternalFactoryToProviderAdapter.get (InternalFactoryToProviderAdapter.java:41)
at com.google.inject.internal.InjectorImpl$2$1.call (InjectorImpl.java:1016)
at com.google.inject.internal.InjectorImpl.callInContext (InjectorImpl.java:1092)
at com.google.inject.internal.InjectorImpl$2.get (InjectorImpl.java:1012)
at org.eclipse.sisu.inject.LazyBeanEntry.getValue (LazyBeanEntry.java:81)
at org.eclipse.sisu.plexus.LazyPlexusBean.getValue (LazyPlexusBean.java:51)
at org.eclipse.sisu.wire.EntryListAdapter$ValueIterator.next (EntryListAdapter.java:111)
at fr.jcgay.maven.notifier.NotificationEventSpyChooser.chooseNotifier (NotificationEventSpyChooser.java:61)
at fr.jcgay.maven.notifier.NotificationEventSpyChooser.init (NotificationEventSpyChooser.java:28)
at org.apache.maven.eventspy.internal.EventSpyDispatcher.init (EventSpyDispatcher.java:85)
at org.apache.maven.cli.MavenCli.container (MavenCli.java:710)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:338)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:191)
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:497)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
maven-notifier user configuration: Configuration{implementation=send-notification, shortDescription=true, threshold=-1, notifier-properties={}}
Will notify build success/failure with: fr.jcgay.maven.notifier.sendnotification.SendNotificationNotifier@2654635
Notification configuration read from file:/Users/tylerthrailkill/.send-notification is: {}.
Configuring Growl for application Application{id=application/x-vnd-apache.maven, name=Maven, timeout=-1, icon=Icon{id=maven, content=jar:file:/usr/local/Cellar/maven-deluxe/3.5.0-1/libexec/lib/ext/maven-notifier-1.10.0-shaded.jar!/maven.png}}: GrowlConfiguration{host=localhost, password=null, port=23053}.
Configuring terminal-notifier for application Application{id=application/x-vnd-apache.maven, name=Maven, timeout=-1, icon=Icon{id=maven, content=jar:file:/usr/local/Cellar/maven-deluxe/3.5.0-1/libexec/lib/ext/maven-notifier-1.10.0-shaded.jar!/maven.png}}: TerminalNotifierConfiguration{bin=terminal-notifier, activateApplication=com.apple.Terminal, sound=null}.
Configuring System Tray for application Application{id=application/x-vnd-apache.maven, name=Maven, timeout=-1, icon=Icon{id=maven, content=jar:file:/usr/local/Cellar/maven-deluxe/3.5.0-1/libexec/lib/ext/maven-notifier-1.10.0-shaded.jar!/maven.png}}.
Registering GNTP application [Maven]
Cannot communicate with Growl.
For more information about the errors and possible solutions, please read the following article:
https://github.com/jcgay/send-notification/wiki/Growl-(OS-X)
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect (Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect (SocketChannelImpl.java:717)
at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.connect (NioClientSocketPipelineSink.java:384)
at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.processSelectedKeys (NioClientSocketPipelineSink.java:354)
at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.run (NioClientSocketPipelineSink.java:276)
at org.jboss.netty.util.internal.IoWorkerRunnable.run (IoWorkerRunnable.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)
SLF4J: Failed toString() invocation on an object of type [fr.jcgay.notification.notifier.growl.GrowlNotifier]
Reported exception:
java.lang.NoClassDefFoundError: com/shaded/notifier/google/common/base/MoreObjects
at fr.jcgay.notification.notifier.growl.GrowlNotifier.toString(GrowlNotifier.java:156)
at org.slf4j.helpers.MessageFormatter.safeObjectAppend(MessageFormatter.java:299)
at org.slf4j.helpers.MessageFormatter.deeplyAppendParameter(MessageFormatter.java:271)
at org.slf4j.helpers.MessageFormatter.arrayFormat(MessageFormatter.java:233)
at org.slf4j.helpers.MessageFormatter.arrayFormat(MessageFormatter.java:173)
at org.slf4j.helpers.MessageFormatter.format(MessageFormatter.java:151)
at com.planet57.gossip.LoggerSupport.log(LoggerSupport.java:112)
at com.planet57.gossip.LoggerSupport.debug(LoggerSupport.java:167)
at fr.jcgay.notification.SendNotification.defaultNotifier(SendNotification.java:136)
at fr.jcgay.notification.SendNotification.chooseNotifier(SendNotification.java:70)
at fr.jcgay.notification.SendNotification.initNotifier(SendNotification.java:79)
at fr.jcgay.maven.notifier.sendnotification.SendNotificationNotifier.initNotifier(SendNotificationNotifier.java:52)
at fr.jcgay.maven.notifier.AbstractCustomEventSpy.init(AbstractCustomEventSpy.java:24)
at fr.jcgay.maven.notifier.NotificationEventSpyChooser.init(NotificationEventSpyChooser.java:29)
at org.apache.maven.eventspy.internal.EventSpyDispatcher.init(EventSpyDispatcher.java:85)
at org.apache.maven.cli.MavenCli.container(MavenCli.java:710)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:338)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:191)
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:497)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: java.lang.ClassNotFoundException: com.shaded.notifier.google.common.base.MoreObjects
at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
... 26 more
[FAILED toString()] is available ? false.
Will execute command line: terminal-notifier -help
SLF4J: Failed toString() invocation on an object of type [fr.jcgay.notification.notifier.notificationcenter.TerminalNotifier]
Reported exception:
java.lang.NoClassDefFoundError: com/shaded/notifier/google/common/base/MoreObjects
at fr.jcgay.notification.notifier.notificationcenter.TerminalNotifier.toString(TerminalNotifier.java:124)
at org.slf4j.helpers.MessageFormatter.safeObjectAppend(MessageFormatter.java:299)
at org.slf4j.helpers.MessageFormatter.deeplyAppendParameter(MessageFormatter.java:271)
at org.slf4j.helpers.MessageFormatter.arrayFormat(MessageFormatter.java:233)
at org.slf4j.helpers.MessageFormatter.arrayFormat(MessageFormatter.java:173)
at org.slf4j.helpers.MessageFormatter.format(MessageFormatter.java:151)
at com.planet57.gossip.LoggerSupport.log(LoggerSupport.java:112)
at com.planet57.gossip.LoggerSupport.debug(LoggerSupport.java:167)
at fr.jcgay.notification.SendNotification.defaultNotifier(SendNotification.java:136)
at fr.jcgay.notification.SendNotification.chooseNotifier(SendNotification.java:70)
at fr.jcgay.notification.SendNotification.initNotifier(SendNotification.java:79)
at fr.jcgay.maven.notifier.sendnotification.SendNotificationNotifier.initNotifier(SendNotificationNotifier.java:52)
at fr.jcgay.maven.notifier.AbstractCustomEventSpy.init(AbstractCustomEventSpy.java:24)
at fr.jcgay.maven.notifier.NotificationEventSpyChooser.init(NotificationEventSpyChooser.java:29)
at org.apache.maven.eventspy.internal.EventSpyDispatcher.init(EventSpyDispatcher.java:85)
at org.apache.maven.cli.MavenCli.container(MavenCli.java:710)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:338)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:191)
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:497)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: java.lang.ClassNotFoundException: com.shaded.notifier.google.common.base.MoreObjects
at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
... 26 more
[FAILED toString()] is available ? false.
Failed to initialize spy fr.jcgay.maven.notifier.NotificationEventSpyChooser: com.shaded.notifier.google.common.io.Closeables.closeQuietly(Ljava/io/InputStream;)V
java.lang.NoSuchMethodError: com.shaded.notifier.google.common.io.Closeables.closeQuietly(Ljava/io/InputStream;)V
at fr.jcgay.notification.Icon.toByteArray (Icon.java:52)
at fr.jcgay.notification.notifier.systemtray.SystemTrayNotifier.init (SystemTrayNotifier.java:43)
at fr.jcgay.notification.notifier.systemtray.SystemTrayNotifier.tryInit (SystemTrayNotifier.java:82)
at fr.jcgay.notification.SendNotification.defaultNotifier (SendNotification.java:135)
at fr.jcgay.notification.SendNotification.chooseNotifier (SendNotification.java:70)
at fr.jcgay.notification.SendNotification.initNotifier (SendNotification.java:79)
at fr.jcgay.maven.notifier.sendnotification.SendNotificationNotifier.initNotifier (SendNotificationNotifier.java:52)
at fr.jcgay.maven.notifier.AbstractCustomEventSpy.init (AbstractCustomEventSpy.java:24)
at fr.jcgay.maven.notifier.NotificationEventSpyChooser.init (NotificationEventSpyChooser.java:29)
at org.apache.maven.eventspy.internal.EventSpyDispatcher.init (EventSpyDispatcher.java:85)
at org.apache.maven.cli.MavenCli.container (MavenCli.java:710)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:338)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:191)
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:497)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
Created new class realm maven.api
Importing foreign packages into class realm maven.api
Imported: javax.enterprise.inject.* < plexus.core
Imported: javax.enterprise.util.* < plexus.core
Imported: javax.inject.* < plexus.core
Imported: org.apache.maven.* < plexus.core
Imported: org.apache.maven.artifact < plexus.core
Imported: org.apache.maven.classrealm < plexus.core
Imported: org.apache.maven.cli < plexus.core
Imported: org.apache.maven.configuration < plexus.core
Imported: org.apache.maven.exception < plexus.core
Imported: org.apache.maven.execution < plexus.core
Imported: org.apache.maven.execution.scope < plexus.core
Imported: org.apache.maven.lifecycle < plexus.core
Imported: org.apache.maven.model < plexus.core
Imported: org.apache.maven.monitor < plexus.core
Imported: org.apache.maven.plugin < plexus.core
Imported: org.apache.maven.profiles < plexus.core
Imported: org.apache.maven.project < plexus.core
Imported: org.apache.maven.reporting < plexus.core
Imported: org.apache.maven.repository < plexus.core
Imported: org.apache.maven.rtinfo < plexus.core
Imported: org.apache.maven.settings < plexus.core
Imported: org.apache.maven.toolchain < plexus.core
Imported: org.apache.maven.usability < plexus.core
Imported: org.apache.maven.wagon.* < plexus.core
Imported: org.apache.maven.wagon.authentication < plexus.core
Imported: org.apache.maven.wagon.authorization < plexus.core
Imported: org.apache.maven.wagon.events < plexus.core
Imported: org.apache.maven.wagon.observers < plexus.core
Imported: org.apache.maven.wagon.proxy < plexus.core
Imported: org.apache.maven.wagon.repository < plexus.core
Imported: org.apache.maven.wagon.resource < plexus.core
Imported: org.codehaus.classworlds < plexus.core
Imported: org.codehaus.plexus.* < plexus.core
Imported: org.codehaus.plexus.classworlds < plexus.core
Imported: org.codehaus.plexus.component < plexus.core
Imported: org.codehaus.plexus.configuration < plexus.core
Imported: org.codehaus.plexus.container < plexus.core
Imported: org.codehaus.plexus.context < plexus.core
Imported: org.codehaus.plexus.lifecycle < plexus.core
Imported: org.codehaus.plexus.logging < plexus.core
Imported: org.codehaus.plexus.personality < plexus.core
Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core
Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core
Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core
Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core
Imported: org.eclipse.aether.* < plexus.core
Imported: org.eclipse.aether.artifact < plexus.core
Imported: org.eclipse.aether.collection < plexus.core
Imported: org.eclipse.aether.deployment < plexus.core
Imported: org.eclipse.aether.graph < plexus.core
Imported: org.eclipse.aether.impl < plexus.core
Imported: org.eclipse.aether.installation < plexus.core
Imported: org.eclipse.aether.internal.impl < plexus.core
Imported: org.eclipse.aether.metadata < plexus.core
Imported: org.eclipse.aether.repository < plexus.core
Imported: org.eclipse.aether.resolution < plexus.core
Imported: org.eclipse.aether.spi < plexus.core
Imported: org.eclipse.aether.transfer < plexus.core
Imported: org.eclipse.aether.version < plexus.core
Imported: org.fusesource.jansi.* < plexus.core
Imported: org.slf4j.* < plexus.core
Imported: org.slf4j.helpers.* < plexus.core
Imported: org.slf4j.spi.* < plexus.core
Populating class realm maven.api
Error stacktraces are turned on.
Message scheme: color
Message styles: debug info warning error success failure strong mojo project
Reading global settings from /usr/local/Cellar/maven-deluxe/3.5.0-1/libexec/conf/settings.xml
Reading user settings from /Users/tylerthrailkill/.m2/settings.xml
Reading global toolchains from /usr/local/Cellar/maven-deluxe/3.5.0-1/libexec/conf/toolchains.xml
Reading user toolchains from /Users/tylerthrailkill/.m2/toolchains.xml
Using local repository at /Users/tylerthrailkill/.m2/repository
Using manager EnhancedLocalRepositoryManager with priority 10.0 for /Users/tylerthrailkill/.m2/repository
Scanning for projects...
No problem, hope you're fine.
I have been able to reproduce thanks to your logs!
It was happening when maven-notifier tries to use the System Tray notifier.
There is a binary incompatibility between a strange hidden guava from maven (sisu-guava
) and the one I was using.
It should be fixed now with maven-notifier v1.10.1.
You can upgrade your maven-deluxe
installation with brew
.
If you want to keep desktop notifications you can install terminal-notifier, they will be nicer than the ones built with the Java System Tray 😇
Fantastic. It works perfectly. I'll install that notifier as well. Thank you @jcgay!
Cool!
When running
mvn clean install
I get aFailed to initialize spy fr.jcgay.maven.notifier.NotificationEventSpyChooser: com.shaded.notifier.google.common.io.Closeables.closeQuietly(Ljava/io/InputStream;)V
immediately before any other output.At the end of the run it then terminates with
installed using
brew install maven-deluxe
Let me know if you need more information.