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

Plugin loading fails - Cannot register procedure class #4

Open
StephanPirnbaum opened this issue May 31, 2023 · 1 comment
Open

Plugin loading fails - Cannot register procedure class #4

StephanPirnbaum opened this issue May 31, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@StephanPirnbaum
Copy link
Member

The plugin release 2.0.0 fails to load properly due to multiple errors with message "Cannot register procedure class ..." with different classes (jQA 2.0.1)

[WARNING] Cannot register procedure class apoc.cache.Static
org.neo4j.kernel.api.exceptions.ComponentInjectionException: Unable to set up injection for procedure Static, the field apocConfig has type class apoc.ApocConfig which is not a known injectable component.
at org.neo4j.procedure.impl.FieldInjections.createInjector (FieldInjections.java:98)
at org.neo4j.procedure.impl.FieldInjections.setters (FieldInjections.java:81)
at org.neo4j.procedure.impl.ProcedureCompiler.compileProcedure (ProcedureCompiler.java:264)
at org.neo4j.procedure.impl.ProcedureCompiler.compileProcedure (ProcedureCompiler.java:225)
at org.neo4j.procedure.impl.GlobalProceduresRegistry.registerProcedure (GlobalProceduresRegistry.java:187)
at org.neo4j.procedure.impl.GlobalProceduresRegistry.registerProcedure (GlobalProceduresRegistry.java:175)
at org.neo4j.procedure.impl.GlobalProceduresRegistry.registerProcedure (GlobalProceduresRegistry.java:164)
at com.buschmais.jqassistant.neo4j.embedded.neo4jv4.Neo4jV4CommunityNeoServer.registerProceduresAndFunctions (Neo4jV4CommunityNeoServer.java:91)
at com.buschmais.jqassistant.neo4j.embedded.neo4jv4.Neo4jV4CommunityNeoServer.initialize (Neo4jV4CommunityNeoServer.java:45)
at com.buschmais.jqassistant.core.store.impl.EmbeddedGraphStore.initialize (EmbeddedGraphStore.java:68)
at com.buschmais.jqassistant.core.store.impl.AbstractGraphStore.start (AbstractGraphStore.java:67)
at com.buschmais.jqassistant.scm.maven.provider.CachingStoreProvider.getStore (CachingStoreProvider.java:74)
at com.buschmais.jqassistant.scm.maven.AbstractMojo.getStore (AbstractMojo.java:212)
at com.buschmais.jqassistant.scm.maven.AbstractMojo.withStore (AbstractMojo.java:172)
at com.buschmais.jqassistant.scm.maven.ServerMojo.aggregate (ServerMojo.java:31)
at com.buschmais.jqassistant.scm.maven.AbstractProjectMojo.execute (AbstractProjectMojo.java:22)
at com.buschmais.jqassistant.scm.maven.AbstractMojo.execute (AbstractMojo.java:122)
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)

@StephanPirnbaum StephanPirnbaum added the bug Something isn't working label May 31, 2023
@DirkMahler
Copy link
Contributor

Relates to jQAssistant/jqa-core-framework#77

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants