DX Application Performance Management

Expand all | Collapse all

java.lang.NoSuchMethodException: org.mule.module.http.internal.listener.HttpMessageProcessorTemplate.getFlowConstruct()

Matthew Muskaloon

Matthew MuskaloonAug 21, 2018 04:56 PM

Junaid Wahab

Junaid WahabAug 22, 2018 09:47 AM

  • 1.  java.lang.NoSuchMethodException: org.mule.module.http.internal.listener.HttpMessageProcessorTemplate.getFlowConstruct()

    Posted Aug 04, 2017 03:19 PM

    We have configured Mulesoft server with Mulesoft pbd and deployed MuleAgentExt.jar in /ext directory. Agent is running fine but we are getting following messages in Mulesoft server logs. Does anyone has any idea what is wrong here? 

     

    java.lang.NoSuchMethodException: org.mule.module.http.internal.listener.HttpMessageProcessorTemplate.getFlowConstruct()

                   at java.lang.Class.getMethod(Class.java:1786)

                   at com.wily.field.mule.MuleUtils.extractFlowFromEvent(MuleUtils.java:234)

                   at com.wily.field.mule.formatter.PhaseProcessingFormatter.INameFormatter_format(PhaseProcessingFormatter.java:24)

                   at com.wily.introscope.agent.trace.ATracerFactory.customFormat(ATracerFactory.java:287)

                   at com.wily.introscope.agent.trace.ATracerFactory.runtimeFormat(ATracerFactory.java:461)

                   at com.wily.introscope.agent.trace.ATracerFactory.formatParameterizedName(ATracerFactory.java:480)

                   at com.wily.field.mule.PhaseProcessingTracer.ITracer_finishTrace(PhaseProcessingTracer.java:22)

                   at com.wily.introscope.agent.trace.InvocationData.IMethodTracer_finishTrace(InvocationData.java:1504)

                   at com.mulesoft.mule.throttling.ThrottlingPhase.runPhase(ThrottlingPhase.java:187)

                   at com.mulesoft.mule.throttling.ThrottlingPhase.runPhase(ThrottlingPhase.java:58)

                   at org.mule.execution.PhaseExecutionEngine$InternalPhaseExecutionEngine.phaseSuccessfully(PhaseExecutionEngine.java:65)

                   at com.mulesoft.gateway.http.phases.GatewayValidationPhase.runPhase(GatewayValidationPhase.java:93)

                   at com.mulesoft.gateway.http.phases.GatewayValidationPhase.runPhase(GatewayValidationPhase.java:49)

                   at org.mule.execution.PhaseExecutionEngine$InternalPhaseExecutionEngine.phaseSuccessfully(PhaseExecutionEngine.java:65)

                   at org.mule.modules.cors.CorsPhase.runPhase(CorsPhase.java:112)

                   at org.mule.modules.cors.CorsPhase.runPhase(CorsPhase.java:39)

                   at org.mule.execution.PhaseExecutionEngine$InternalPhaseExecutionEngine.process(PhaseExecutionEngine.java:114)

                   at org.mule.execution.PhaseExecutionEngine.process(PhaseExecutionEngine.java:41)

                   at org.mule.execution.MuleMessageProcessingManager.processMessage(MuleMessageProcessingManager.java:32)

                   at org.mule.module.http.internal.listener.DefaultHttpListener$1.handleRequest(DefaultHttpListener.java:133)

                   at org.mule.module.http.internal.listener.grizzly.GrizzlyRequestDispatcherFilter.handleRead(GrizzlyRequestDispatcherFilter.java:83)

                   at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)

                   at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)

                   at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)

                   at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)

                   at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)

                   at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)

                   at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:526)

                   at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)

                   at org.mule.module.http.internal.listener.grizzly.ExecutorPerServerAddressIOStrategy.run0(ExecutorPerServerAddressIOStrategy.java:102)

                   at org.mule.module.http.internal.listener.grizzly.ExecutorPerServerAddressIOStrategy.access$100(ExecutorPerServerAddressIOStrategy.java:30)

                   at org.mule.module.http.internal.listener.grizzly.ExecutorPerServerAddressIOStrategy$WorkerThreadRunnable.run(ExecutorPerServerAddressIOStrategy.java:125)

                   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

                   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

                   at java.lang.Thread.run(Thread.java:745)



  • 2.  Re: java.lang.NoSuchMethodException: org.mule.module.http.internal.listener.HttpMessageProcessorTemplate.getFlowConstruct()

    Broadcom Employee
    Posted Aug 04, 2017 03:23 PM

    Please let us know the container and version; JRE and vendor version; lastly, the APM version.



  • 3.  Re: java.lang.NoSuchMethodException: org.mule.module.http.internal.listener.HttpMessageProcessorTemplate.getFlowConstruct()

    Posted Aug 04, 2017 03:28 PM

    JDK: jdk1.8.0_101 Mulesoft version: mule-enterprise-standalone-3.8.3

     



  • 4.  Re: java.lang.NoSuchMethodException: org.mule.module.http.internal.listener.HttpMessageProcessorTemplate.getFlowConstruct()

    Posted Aug 04, 2017 03:30 PM

    APM EMs are on 10.5.1.21 and agent is on 10.5.1.8



  • 5.  Re: java.lang.NoSuchMethodException: org.mule.module.http.internal.listener.HttpMessageProcessorTemplate.getFlowConstruct()

    Broadcom Employee
    Posted Aug 04, 2017 05:08 PM

    See this: https://docs.mulesoft.com/mule-user-guide/v/3.2/compatibility

     

    Java

    Install one of the following versions of the Java Developer Kit:

    • Standard Edition 1.6.0_26 (also known as JDK SE 6 Update 26) or more recent

    • Enterprise Edition 1.6u3 (JDK EE 6 Update 3) or more recent

    Run the installer, following the instructions that appear on the screen.



  • 6.  Re: java.lang.NoSuchMethodException: org.mule.module.http.internal.listener.HttpMessageProcessorTemplate.getFlowConstruct()

    Broadcom Employee
    Posted Aug 04, 2017 05:10 PM


  • 7.  Re: java.lang.NoSuchMethodException: org.mule.module.http.internal.listener.HttpMessageProcessorTemplate.getFlowConstruct()

    Broadcom Employee
    Posted Aug 04, 2017 05:15 PM


  • 8.  Re: java.lang.NoSuchMethodException: org.mule.module.http.internal.listener.HttpMessageProcessorTemplate.getFlowConstruct()
    Best Answer

    Broadcom Employee
    Posted Aug 04, 2017 05:23 PM

    3.7.5 brings support for Java 1.8: https://github.com/mulesoft/mulesoft-docs/blob/master/release-notes/v/latest/mule-esb-3.7.5-release-notes.adoc

     

    I would suspect that possibly the extension may need to be recompiled with Java 7 or 8. This is not a supported field extension, so if you can attach your full logs from the agent and server, I'll make sure this gets to the developer and tracked.



  • 9.  Re: java.lang.NoSuchMethodException: org.mule.module.http.internal.listener.HttpMessageProcessorTemplate.getFlowConstruct()

    Posted Aug 22, 2017 08:10 PM

    Hi Hiko,

     

    Sorry for the late reply. Here you got the logs.



  • 10.  Re: java.lang.NoSuchMethodException: org.mule.module.http.internal.listener.HttpMessageProcessorTemplate.getFlowConstruct()

    Posted Aug 22, 2017 08:12 PM

    I am not able to find how to attached the logs.



  • 11.  Re: java.lang.NoSuchMethodException: org.mule.module.http.internal.listener.HttpMessageProcessorTemplate.getFlowConstruct()

    Broadcom Employee
    Posted Aug 22, 2017 08:19 PM

    Hi Junaid,

    If you select the option "Use advanced editor" there is an Attach option at the bottom of the edit frame.

    Regards,

    Lynn



  • 12.  Re: java.lang.NoSuchMethodException: org.mule.module.http.internal.listener.HttpMessageProcessorTemplate.getFlowConstruct()

    Posted Aug 23, 2017 09:28 AM
      |   view attached

    Here you go the logs of Mulesoft server and Agent logs

    Attachment(s)

    zip
    logs.zip   390 KB 1 version


  • 13.  Re: java.lang.NoSuchMethodException: org.mule.module.http.internal.listener.HttpMessageProcessorTemplate.getFlowConstruct()

    Posted Aug 21, 2018 03:53 PM

    has this been resolved?   I am getting the same error with 1.7 Java.  10.7 agent 



  • 14.  Re: java.lang.NoSuchMethodException: org.mule.module.http.internal.listener.HttpMessageProcessorTemplate.getFlowConstruct()

    Broadcom Employee
    Posted Aug 21, 2018 04:56 PM

    Do you get the same issue with Java 8?



  • 15.  Re: java.lang.NoSuchMethodException: org.mule.module.http.internal.listener.HttpMessageProcessorTemplate.getFlowConstruct()

    Posted Aug 21, 2018 05:44 PM

    Frrrrrunkis

     

    Yes it was resolve when  Hiko_Davis share a Ext jar file compile in 1.8 Java. Please try the attached jar file and let me know if its work for you.



  • 16.  Re: java.lang.NoSuchMethodException: org.mule.module.http.internal.listener.HttpMessageProcessorTemplate.getFlowConstruct()

    Posted Aug 21, 2018 06:11 PM

    Thank you so much for responding all however I am still seeing this with the jar file supplied by Junaid.

     

    I am using 

    Agent Release 10.7.0.90 (Build 990803)
    Using Java VM version "Java HotSpot(TM) 64-Bit Server VM 1.8.0_144" from Oracle Corporation

     

    The mule runtime is 3.9   



  • 17.  Re: java.lang.NoSuchMethodException: org.mule.module.http.internal.listener.HttpMessageProcessorTemplate.getFlowConstruct()

    Posted Aug 22, 2018 09:17 AM

    Frrrrrunkis

     

    Can you try this one. it should work



  • 18.  Re: java.lang.NoSuchMethodException: org.mule.module.http.internal.listener.HttpMessageProcessorTemplate.getFlowConstruct()

    Posted Aug 22, 2018 09:22 AM

    HI junaidwily

     

    the fieldpack owners sent me the proper extension file in .tar.gz that deployed and worked fine on a 10.7 agent.  

     

    No exceptions and I now see Fronteds that where previously missing. 

     

    Thank you all for your help. 



  • 19.  Re: java.lang.NoSuchMethodException: org.mule.module.http.internal.listener.HttpMessageProcessorTemplate.getFlowConstruct()

    Posted Aug 22, 2018 09:47 AM

    Awesome