java.lang.IllegalArgumentException: trying to create the same field twice: config) [jwsc]

Oracle Community | 666705 | 10 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    [jwsc] error: Response wrapper bean names must be unique ?

    Oracle Community | 10 years ago | 666705
    java.lang.IllegalArgumentException: trying to create the same field twice: config) [jwsc]

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      trying to create the same field twice: config) [jwsc]

      at com.sun.tools.ws.processor.modeler.annotation.WebServiceWrapperGenerator.generateWrappers()
    2. JAX-WS RI Tools Bundle
      WebServiceVisitor.visitMethodDeclaration
      1. com.sun.tools.ws.processor.modeler.annotation.WebServiceWrapperGenerator.generateWrappers(WebServiceWrapperGenerator.java:302)[jwsc]
      2. com.sun.tools.ws.processor.modeler.annotation.WebServiceWrapperGenerator.processMethod(WebServiceWrapperGenerator.java:154)[jwsc]
      3. com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.visitMethodDeclaration(WebServiceVisitor.java:449)[jwsc]
      3 frames
    3. com.sun.tools
      MethodDeclarationImpl.accept
      1. com.sun.tools.apt.mirror.declaration.MethodDeclarationImpl.accept(MethodDeclarationImpl.java:41)[jwsc]
      1 frame
    4. JAX-WS RI Tools Bundle
      WebServiceVisitor.visitInterfaceDeclaration
      1. com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.processMethods(WebServiceVisitor.java:374)[jwsc]
      2. com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.postProcessWebService(WebServiceVisitor.java:338)[jwsc]
      3. com.sun.tools.ws.processor.modeler.annotation.WebServiceWrapperGenerator.postProcessWebService(WebServiceWrapperGenerator.java:125)[jwsc]
      4. com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.visitInterfaceDeclaration(WebServiceVisitor.java:120)[jwsc]
      4 frames
    5. com.sun.tools
      InterfaceDeclarationImpl.accept
      1. com.sun.tools.apt.mirror.declaration.InterfaceDeclarationImpl.accept(InterfaceDeclarationImpl.java:32)[jwsc]
      1 frame
    6. JAX-WS RI Tools Bundle
      WebServiceVisitor.visitClassDeclaration
      1. com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.inspectEndpointInterface(WebServiceVisitor.java:420)[jwsc]
      2. com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.visitClassDeclaration(WebServiceVisitor.java:141)[jwsc]
      2 frames
    7. com.sun.tools
      ClassDeclarationImpl.accept
      1. com.sun.tools.apt.mirror.declaration.ClassDeclarationImpl.accept(ClassDeclarationImpl.java:95)[jwsc]
      1 frame
    8. JAX-WS RI Tools Bundle
      WebServiceAP.process
      1. com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.buildModel(WebServiceAP.java:300)[jwsc]
      2. com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.process(WebServiceAP.java:224)[jwsc]
      2 frames
    9. com.sun.mirror
      AnnotationProcessors$CompositeAnnotationProcessor.process
      1. com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.process(AnnotationProcessors.java:60)[jwsc]
      1 frame
    10. com.sun.tools
      Main.main
      1. com.sun.tools.apt.comp.Apt.main(Apt.java:454)[jwsc]
      2. com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:448)[jwsc]
      3. com.sun.tools.apt.main.Main.compile(Main.java:1075)[jwsc]
      4. com.sun.tools.apt.main.Main.compile(Main.java:938)[jwsc]
      5. com.sun.tools.apt.Main.processing(Main.java:95)[jwsc]
      6. com.sun.tools.apt.Main.process(Main.java:43)[jwsc]
      7. com.sun.tools.apt.Main.main(Main.java:34)
      7 frames