io.vertx.codegen.GenException: type io.vertx.core.Handler<io.vertx.core.AsyncResult<thesis.entity.Animal>> is not legal for use for a parameter in proxy

Google Groups | Carlos Rijo | 3 weeks ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    ProxyGen and abstract classes

    Google Groups | 3 weeks ago | Carlos Rijo
    io.vertx.codegen.GenException: type io.vertx.core.Handler<io.vertx.core.AsyncResult<thesis.entity.Animal>> is not legal for use for a parameter in proxy
  2. 0

    Concurrent Modification exception in JsonArray(Java 8)

    Stack Overflow | 2 months ago | Salam
    exceptionjava.util.ConcurrentModificationException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. io.vertx.codegen.GenException

      type io.vertx.core.Handler<io.vertx.core.AsyncResult<thesis.entity.Animal>> is not legal for use for a parameter in proxy

      at io.vertx.codegen.ProxyModel.checkParamType()
    2. io.vertx.codegen
      ClassModel.addMethod
      1. io.vertx.codegen.ProxyModel.checkParamType(ProxyModel.java:91)
      2. io.vertx.codegen.ClassModel.getParams(ClassModel.java:866)
      3. io.vertx.codegen.ClassModel.addMethod(ClassModel.java:715)
      3 frames
    3. Java RT
      ReferencePipeline.forEach
      1. java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
      2. java.util.stream.Streams$StreamBuilderImpl.forEachRemaining(Streams.java:419)
      3. java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
      4. java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270)
      5. java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
      6. java.util.Iterator.forEachRemaining(Iterator.java:116)
      7. java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
      8. java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
      9. java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
      10. java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
      11. java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
      12. java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      13. java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
      13 frames
    4. io.vertx.codegen
      CodeGenProcessor.lambda$process$1
      1. io.vertx.codegen.ClassModel.traverseElem(ClassModel.java:573)
      2. io.vertx.codegen.ClassModel.process(ClassModel.java:481)
      3. io.vertx.codegen.CodeGen.getProxyModel(CodeGen.java:218)
      4. io.vertx.codegen.CodeGen.lambda$null$17(CodeGen.java:141)
      5. io.vertx.codegen.CodeGen$ModelEntry.getValue(CodeGen.java:106)
      6. io.vertx.codegen.CodeGen$ModelEntry.getValue(CodeGen.java:88)
      7. io.vertx.codegen.CodeGenProcessor.lambda$process$1(CodeGenProcessor.java:152)
      7 frames
    5. Java RT
      ReferencePipeline$Head.forEach
      1. java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
      2. java.util.HashMap$EntrySpliterator.forEachRemaining(HashMap.java:1683)
      3. java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
      4. java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
      5. java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:312)
      6. java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:743)
      7. java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:743)
      8. java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:743)
      9. java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:743)
      10. java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:743)
      11. java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
      11 frames
    6. io.vertx.codegen
      CodeGenProcessor.process
      1. io.vertx.codegen.CodeGenProcessor.process(CodeGenProcessor.java:150)
      1 frame
    7. Java Tools
      JavacTaskImpl.call
      1. com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:794)
      2. com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:705)
      3. com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1800(JavacProcessingEnvironment.java:91)
      4. com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1035)
      5. com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1176)
      6. com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1170)
      7. com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:856)
      8. com.sun.tools.javac.main.Main.compile(Main.java:523)
      9. com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129)
      10. com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138)
      10 frames
    8. Plexus Javac Component
      JavacCompiler.performCompile
      1. org.codehaus.plexus.compiler.javac.JavaxToolsCompiler.compileInProcess(JavaxToolsCompiler.java:125)
      2. org.codehaus.plexus.compiler.javac.JavacCompiler.performCompile(JavacCompiler.java:169)
      2 frames
    9. Apache Maven Compiler Plugin
      CompilerMojo.execute
      1. org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:825)
      2. org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:129)
      2 frames
    10. Maven Plugin
      DefaultBuildPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
      1 frame
    11. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
      2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
      5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
      6. org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
      7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
      8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
      9. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
      10. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
      10 frames
    12. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
      2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
      3. org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
      3 frames
    13. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    14. Plexus
      Launcher.main
      1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
      2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
      3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
      4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
      4 frames