JIRA

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Use Agile By Default
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile Access more options (Alt+g)
  • Create Issue
  • Mule
  • MULE-4904

NPE in MuleClient because DispatcherWorkManager has not been created

  • Agile Board
  • More Actions
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.2.6 (EE only)
  • Fix Version/s: 3.0.0-RC3
  • Component/s: Modules: MuleClient
  • Labels:
    • 30ce_review
  • User impact:
    Medium
  • Configuration:
    Hide

    <vm:connector name="vmQueues" queueEvents="true" />

    <service name="inbound">
    <inbound>
    <vm:inbound-endpoint path="in" />
    </inbound>
    <test:component />
    <outbound>
    <pass-through-router>
    <vm:outbound-endpoint path="out" />
    </pass-through-router>
    </outbound>
    </service>

    Show
    <vm:connector name="vmQueues" queueEvents="true" /> <service name="inbound"> <inbound> <vm:inbound-endpoint path="in" /> </inbound> <test:component /> <outbound> <pass-through-router> <vm:outbound-endpoint path="out" /> </pass-through-router> </outbound> </service>
  • Log Output:
    Hide
    java.lang.NullPointerException
    at org.mule.transport.AbstractConnector.dispatch(AbstractConnector.java:2015)
    at org.mule.endpoint.DefaultOutboundEndpoint.dispatch(DefaultOutboundEndpoint.java:82)
    at org.mule.DefaultMuleSession.dispatchEvent(DefaultMuleSession.java:264)
    at org.mule.module.client.MuleClient.dispatch(MuleClient.java:279)
    at org.mule.module.client.MuleClient.dispatch(MuleClient.java:262)
    Show
    java.lang.NullPointerException at org.mule.transport.AbstractConnector.dispatch(AbstractConnector.java:2015) at org.mule.endpoint.DefaultOutboundEndpoint.dispatch(DefaultOutboundEndpoint.java:82) at org.mule.DefaultMuleSession.dispatchEvent(DefaultMuleSession.java:264) at org.mule.module.client.MuleClient.dispatch(MuleClient.java:279) at org.mule.module.client.MuleClient.dispatch(MuleClient.java:262)
  • Similar Issues:
    None

Description

There is some race condition which causes this. I can reproduce it with as few as 10 messages with a complex config.

Created the following simple test case for it:
org.mule.test.integration.client.MuleClientInThreadTestCase

We should verify that this is fixed in 3.x

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions
  • Commits
  • Source
  • Builds
Hide
Permalink
Travis Carlson added a comment - 09/Jun/10 10:42 AM

http://fisheye.codehaus.org/changelog/mule/?cs=17544

Show
Travis Carlson added a comment - 09/Jun/10 10:42 AM http://fisheye.codehaus.org/changelog/mule/?cs=17544
Hide
Permalink
Mateo Almenta Reca added a comment - 09/Aug/10 01:11 PM

Is this still an issue in 3.0?

Show
Mateo Almenta Reca added a comment - 09/Aug/10 01:11 PM Is this still an issue in 3.0?
Hide
Permalink
Travis Carlson added a comment - 06/Sep/10 10:04 AM

This appears to be fixed in 3.0, enabled the test case.

http://fisheye.codehaus.org/changelog/mule/?cs=19380

Show
Travis Carlson added a comment - 06/Sep/10 10:04 AM This appears to be fixed in 3.0, enabled the test case. http://fisheye.codehaus.org/changelog/mule/?cs=19380

People

  • Assignee:
    Travis Carlson
    Reporter:
    Travis Carlson
Vote (0)
Watch (0)

Dates

  • Created:
    09/Jun/10 10:39 AM
    Updated:
    06/Sep/10 10:04 AM
    Resolved:
    06/Sep/10 10:04 AM

Agile

  • View on Board
  • Atlassian JIRA (v5.0.7#734-sha1:8ad78a6)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for MuleForge. Try JIRA - bug tracking software for your team.