Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nebula fails to work with Java 11 #72

Open
cmegafu opened this issue Jan 16, 2023 · 0 comments
Open

Nebula fails to work with Java 11 #72

cmegafu opened this issue Jan 16, 2023 · 0 comments

Comments

@cmegafu
Copy link

cmegafu commented Jan 16, 2023

Hi Folks,

I'm having a hard time getting nebula to work with Java 11 and consistently get below error:
`Failed to notify project evaluation listener.

Could not initialize class nebula.plugin.info.ci.POSIXUtil
Could not initialize class nebula.plugin.info.ci.POSIXUtil
Could not initialize class nebula.plugin.info.ci.POSIXUtil`

And below is the stacktrace:
Caused by: org.gradle.internal.event.ListenerNotificationException: Failed to notify project evaluation listener. at org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:86) at org.gradle.internal.event.BroadcastDispatch$CompositeDispatch.dispatch(BroadcastDispatch.java:324) at org.gradle.internal.event.BroadcastDispatch$CompositeDispatch.dispatch(BroadcastDispatch.java:234) at org.gradle.internal.event.ListenerBroadcast.dispatch(ListenerBroadcast.java:140) at org.gradle.internal.event.ListenerBroadcast.dispatch(ListenerBroadcast.java:37) at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93) at com.sun.proxy.$Proxy38.afterEvaluate(Unknown Source) at org.gradle.configuration.project.LifecycleProjectEvaluator$NotifyAfterEvaluate$1.execute(LifecycleProjectEvaluator.java:191) at org.gradle.configuration.project.LifecycleProjectEvaluator$NotifyAfterEvaluate$1.execute(LifecycleProjectEvaluator.java:188) at org.gradle.api.internal.project.DefaultProject.stepEvaluationListener(DefaultProject.java:1413) at org.gradle.configuration.project.LifecycleProjectEvaluator$NotifyAfterEvaluate.run(LifecycleProjectEvaluator.java:197) ... 101 more Caused by: java.lang.NoClassDefFoundError: Could not initialize class nebula.plugin.info.ci.POSIXUtil at nebula.plugin.info.ci.AbstractContinuousIntegrationProvider.hostname(AbstractContinuousIntegrationProvider.groovy:42) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at nebula.plugin.info.ci.UnknownContinuousIntegrationProvider.calculateHost(UnknownContinuousIntegrationProvider.groovy:41) at nebula.plugin.info.ci.ContinuousIntegrationInfoProvider$calculateHost$0.call(Unknown Source) at nebula.plugin.info.ci.ContinuousIntegrationInfoPlugin$_apply_closure1.doCall(ContinuousIntegrationInfoPlugin.groovy:41) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at org.gradle.api.internal.ConventionAwareHelper$1.doGetValue(ConventionAwareHelper.java:71) at org.gradle.api.internal.ConventionAwareHelper$MappedPropertyImpl.getValue(ConventionAwareHelper.java:126) at org.gradle.api.internal.ConventionAwareHelper.getConventionValue(ConventionAwareHelper.java:109) at nebula.plugin.info.ci.ContinuousIntegrationInfoExtension_Decorated.getHost(Unknown Source) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at org.gradle.internal.metaobject.BeanDynamicObject$MetaClassAdapter.getProperty(BeanDynamicObject.java:228) at org.gradle.internal.metaobject.BeanDynamicObject.tryGetProperty(BeanDynamicObject.java:171) at org.gradle.internal.metaobject.CompositeDynamicObject.tryGetProperty(CompositeDynamicObject.java:55) at org.gradle.internal.metaobject.AbstractDynamicObject.getProperty(AbstractDynamicObject.java:59) at nebula.plugin.info.ci.ContinuousIntegrationInfoExtension_Decorated.getProperty(Unknown Source) at nebula.plugin.info.ci.ContinuousIntegrationInfoPlugin$_apply_closure5$_closure7.doCall(ContinuousIntegrationInfoPlugin.groovy:47) at nebula.plugin.info.ci.ContinuousIntegrationInfoPlugin$_apply_closure5$_closure7.doCall(ContinuousIntegrationInfoPlugin.groovy) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at nebula.plugin.info.InfoBrokerPlugin.resolve(InfoBrokerPlugin.groovy:151) at jdk.internal.reflect.GeneratedMethodAccessor620.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at nebula.plugin.info.InfoBrokerPlugin$_collectEntries_closure5.doCall(InfoBrokerPlugin.groovy:131) at jdk.internal.reflect.GeneratedMethodAccessor619.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at nebula.plugin.info.InfoBrokerPlugin.collectEntries(InfoBrokerPlugin.groovy:129) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at nebula.plugin.info.InfoBrokerPlugin.buildNonChangingManifest(InfoBrokerPlugin.groovy:107) at nebula.plugin.info.InfoBrokerPlugin$buildNonChangingManifest$2.call(Unknown Source) at nebula.plugin.info.reporting.InfoJarManifestPlugin$_apply_closure1$_closure2$_closure3.doCall(InfoJarManifestPlugin.groovy:39) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at org.gradle.configuration.internal.DefaultListenerBuildOperationDecorator$BuildOperationEmittingClosure$1$1.run(DefaultListenerBuildOperationDecorator.java:188) at org.gradle.configuration.internal.DefaultUserCodeApplicationContext.reapply(DefaultUserCodeApplicationContext.java:58) at org.gradle.configuration.internal.DefaultListenerBuildOperationDecorator$BuildOperationEmittingClosure$1.run(DefaultListenerBuildOperationDecorator.java:183) at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:301) at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:293) at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:175) at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91) at org.gradle.configuration.internal.DefaultListenerBuildOperationDecorator$BuildOperationEmittingClosure.doCall(DefaultListenerBuildOperationDecorator.java:180) at jdk.internal.reflect.GeneratedMethodAccessor411.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at org.gradle.listener.ClosureBackedMethodInvocationDispatch.dispatch(ClosureBackedMethodInvocationDispatch.java:40) at org.gradle.listener.ClosureBackedMethodInvocationDispatch.dispatch(ClosureBackedMethodInvocationDispatch.java:25) at org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:42) at org.gradle.internal.event.BroadcastDispatch$SingletonDispatch.dispatch(BroadcastDispatch.java:230) at org.gradle.internal.event.BroadcastDispatch$SingletonDispatch.dispatch(BroadcastDispatch.java:149) at org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:58) ... 111 more

Any help on this subject will be appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant