java.lang.NoSuchMethodError: org.mule.module.http.internal.listener.DefaultHttpListenerConfig.resolvePath(Ljava/lang/String;)Ljava/lang/String;

MuleSoft JIRA | Chirag Narang | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    While using http listener on inbound API kit 1.6.1 with Mule ESB 3.6.2 application is failing on deployment. ERROR 2015-04-21 15:36:08,084 [main] org.mule.module.launcher.application.DefaultMuleApplication: null java.lang.NoSuchMethodError: org.mule.module.http.internal.listener.DefaultHttpListenerConfig.resolvePath(Ljava/lang/String;)Ljava/lang/String; at org.mule.module.apikit.MessageSourceAdapter$MessageSourceListenerAdapter.getPath(MessageSourceAdapter.java:109) ~[?:?] at org.mule.module.apikit.MessageSourceAdapter$MessageSourceListenerAdapter.getAddress(MessageSourceAdapter.java:103) ~[?:?] at org.mule.module.apikit.MessageSourceAdapter.getAddress(MessageSourceAdapter.java:39) ~[?:?] at org.mule.module.apikit.AbstractConfiguration.getEndpointAddress(AbstractConfiguration.java:261) ~[?:?] at org.mule.module.apikit.AbstractConfiguration.injectEndpointUri(AbstractConfiguration.java:231) ~[?:?] at org.mule.module.apikit.AbstractConfiguration.loadApiDefinition(AbstractConfiguration.java:173) ~[?:?] at org.mule.module.apikit.Router.startConfiguration(Router.java:53) ~[?:?] at org.mule.module.apikit.AbstractRouter.start(AbstractRouter.java:48) ~[?:?] at org.mule.processor.chain.AbstractMessageProcessorChain.start(AbstractMessageProcessorChain.java:96) ~[mule-core-3.6.2.jar:3.6.2] at org.mule.construct.AbstractFlowConstruct.startIfStartable(AbstractFlowConstruct.java:331) ~[mule-core-3.6.2.jar:3.6.2] at org.mule.construct.AbstractPipeline.doStart(AbstractPipeline.java:315) ~[mule-core-3.6.2.jar:3.6.2] at org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:142) ~[mule-core-3.6.2.jar:3.6.2] at org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:138) ~[mule-core-3.6.2.jar:3.6.2] at org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:138) ~[mule-core-3.6.2.jar:3.6.2] at org.mule.construct.FlowConstructLifecycleManager.fireStartPhase(FlowConstructLifecycleManager.java:92) ~[mule-core-3.6.2.jar:3.6.2] at org.mule.construct.AbstractFlowConstruct.start(AbstractFlowConstruct.java:137) ~[mule-core-3.6.2.jar:3.6.2] at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_71] Having looked at the code method resolvePath is missing from mule-module-http-3.6.2.jar. Log file is also attached. Steps to reproduce : Import the application in studio run the application

    MuleSoft JIRA | 2 years ago | Chirag Narang
    java.lang.NoSuchMethodError: org.mule.module.http.internal.listener.DefaultHttpListenerConfig.resolvePath(Ljava/lang/String;)Ljava/lang/String;
  2. 0

    While using http listener on inbound API kit 1.6.1 with Mule ESB 3.6.2 application is failing on deployment. ERROR 2015-04-21 15:36:08,084 [main] org.mule.module.launcher.application.DefaultMuleApplication: null java.lang.NoSuchMethodError: org.mule.module.http.internal.listener.DefaultHttpListenerConfig.resolvePath(Ljava/lang/String;)Ljava/lang/String; at org.mule.module.apikit.MessageSourceAdapter$MessageSourceListenerAdapter.getPath(MessageSourceAdapter.java:109) ~[?:?] at org.mule.module.apikit.MessageSourceAdapter$MessageSourceListenerAdapter.getAddress(MessageSourceAdapter.java:103) ~[?:?] at org.mule.module.apikit.MessageSourceAdapter.getAddress(MessageSourceAdapter.java:39) ~[?:?] at org.mule.module.apikit.AbstractConfiguration.getEndpointAddress(AbstractConfiguration.java:261) ~[?:?] at org.mule.module.apikit.AbstractConfiguration.injectEndpointUri(AbstractConfiguration.java:231) ~[?:?] at org.mule.module.apikit.AbstractConfiguration.loadApiDefinition(AbstractConfiguration.java:173) ~[?:?] at org.mule.module.apikit.Router.startConfiguration(Router.java:53) ~[?:?] at org.mule.module.apikit.AbstractRouter.start(AbstractRouter.java:48) ~[?:?] at org.mule.processor.chain.AbstractMessageProcessorChain.start(AbstractMessageProcessorChain.java:96) ~[mule-core-3.6.2.jar:3.6.2] at org.mule.construct.AbstractFlowConstruct.startIfStartable(AbstractFlowConstruct.java:331) ~[mule-core-3.6.2.jar:3.6.2] at org.mule.construct.AbstractPipeline.doStart(AbstractPipeline.java:315) ~[mule-core-3.6.2.jar:3.6.2] at org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:142) ~[mule-core-3.6.2.jar:3.6.2] at org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:138) ~[mule-core-3.6.2.jar:3.6.2] at org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:138) ~[mule-core-3.6.2.jar:3.6.2] at org.mule.construct.FlowConstructLifecycleManager.fireStartPhase(FlowConstructLifecycleManager.java:92) ~[mule-core-3.6.2.jar:3.6.2] at org.mule.construct.AbstractFlowConstruct.start(AbstractFlowConstruct.java:137) ~[mule-core-3.6.2.jar:3.6.2] at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_71] Having looked at the code method resolvePath is missing from mule-module-http-3.6.2.jar. Log file is also attached. Steps to reproduce : Import the application in studio run the application

    MuleSoft JIRA | 2 years ago | Chirag Narang
    java.lang.NoSuchMethodError: org.mule.module.http.internal.listener.DefaultHttpListenerConfig.resolvePath(Ljava/lang/String;)Ljava/lang/String;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.mule.module.http.internal.listener.DefaultHttpListenerConfig.resolvePath(Ljava/lang/String;)Ljava/lang/String;

      at org.mule.module.apikit.MessageSourceAdapter$MessageSourceListenerAdapter.getPath()
    2. org.mule.module
      AbstractRouter.start
      1. org.mule.module.apikit.MessageSourceAdapter$MessageSourceListenerAdapter.getPath(MessageSourceAdapter.java:109)[?:?]
      2. org.mule.module.apikit.MessageSourceAdapter$MessageSourceListenerAdapter.getAddress(MessageSourceAdapter.java:103)[?:?]
      3. org.mule.module.apikit.MessageSourceAdapter.getAddress(MessageSourceAdapter.java:39)[?:?]
      4. org.mule.module.apikit.AbstractConfiguration.getEndpointAddress(AbstractConfiguration.java:261)[?:?]
      5. org.mule.module.apikit.AbstractConfiguration.injectEndpointUri(AbstractConfiguration.java:231)[?:?]
      6. org.mule.module.apikit.AbstractConfiguration.loadApiDefinition(AbstractConfiguration.java:173)[?:?]
      7. org.mule.module.apikit.Router.startConfiguration(Router.java:53)[?:?]
      8. org.mule.module.apikit.AbstractRouter.start(AbstractRouter.java:48)[?:?]
      8 frames
    3. Mule Core
      AbstractFlowConstruct.start
      1. org.mule.processor.chain.AbstractMessageProcessorChain.start(AbstractMessageProcessorChain.java:96)[mule-core-3.6.2.jar:3.6.2]
      2. org.mule.construct.AbstractFlowConstruct.startIfStartable(AbstractFlowConstruct.java:331)[mule-core-3.6.2.jar:3.6.2]
      3. org.mule.construct.AbstractPipeline.doStart(AbstractPipeline.java:315)[mule-core-3.6.2.jar:3.6.2]
      4. org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:142)[mule-core-3.6.2.jar:3.6.2]
      5. org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:138)[mule-core-3.6.2.jar:3.6.2]
      6. org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:138)[mule-core-3.6.2.jar:3.6.2]
      7. org.mule.construct.FlowConstructLifecycleManager.fireStartPhase(FlowConstructLifecycleManager.java:92)[mule-core-3.6.2.jar:3.6.2]
      8. org.mule.construct.AbstractFlowConstruct.start(AbstractFlowConstruct.java:137)[mule-core-3.6.2.jar:3.6.2]
      8 frames
    4. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)[?:?]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.7.0_71]
      2 frames