jcgay/maven-profiler

NoSuchElementException when no artifact has been downloaded

jcgay opened this issue · 0 comments

[WARNING] Failed to close spy com.github.jcgay.maven.profiler.ProfilerEventSpy: null
java.util.NoSuchElementException
    at java.util.concurrent.ConcurrentHashMap$HashIterator.nextEntry(ConcurrentHashMap.java:1354)
    at java.util.concurrent.ConcurrentHashMap$KeyIterator.next(ConcurrentHashMap.java:1376)
    at com.google.common.collect.Ordering.max(Ordering.java:592)
    at com.github.jcgay.maven.profiler.ArtifactDescriptor.instance(ArtifactDescriptor.java:20)
    at com.github.jcgay.maven.profiler.ProfilerEventSpy.printDownloadTime(ProfilerEventSpy.java:152)
    at com.github.jcgay.maven.profiler.ProfilerEventSpy.close(ProfilerEventSpy.java:67)
    at org.apache.maven.eventspy.internal.EventSpyDispatcher.close(EventSpyDispatcher.java:130)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:541)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)