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
tcarlson
09/Jun/10 10:41 AM
View full commit
Test case for MULE-4904 git-svn-id: https://svn.codehaus.org/mule/branches/mule-2.2.x@17544 bf997673-6b11-0410-b953-e057580c5b09
mule-2.2.x
Added
tests/integration/src/test/java/org/mule/test/integration/client/MuleClientInThreadTestCase.java
+3
-
tests/integration/src/test/resources/mule-test-exclusions.txt
Added
tests/integration/src/test/resources/org/mule/test/integration/client/client-in-thread.xml
Travis Carlson made changes - 09/Jun/10 10:41 AM
Field Original Value New Value
Fix Version/s Bug Backlog [ 10522 ]
Priority To be reviewed [ 6 ] Major [ 3 ]
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?
Mateo Almenta Reca made changes - 09/Aug/10 01:11 PM
Labels 30ce_review
mike.schilling
20/Aug/10 06:24 PM
View full commit
Recorded merge of revisions 17544-17546 via svnmerge from https://svn.codehaus.org/mule/branches/mule-2.2.x ........ r17544 | tcarlson | 2010-06-09 08:41:14 -0700 (Wed, 09 Jun 2010) | 1 line Test case for MULE-4904 ........ r17545 | tcarlson | 2010-06-09 09:44:54 -0700 (Wed, 09 Jun 2010) | 1 line Better than empty ........ r17546 | tcarlson | 2010-06-09 09:58:19 -0700 (Wed, 09 Jun 2010) | 1 line Test case for MULE-4900 ........ git-svn-id: https://svn.codehaus.org/mule/branches/mule-3.x@19140 bf997673-6b11-0410-b953-e057580c5b09
3.1.x
Mike Schilling made changes - 02/Sep/10 06:52 PM
Fix Version/s 3.0.1 [ 10877 ]
Fix Version/s Bug Backlog [ 10522 ]
tcarlson
06/Sep/10 10:04 AM
View full commit
Enable test case for MULE-4904 git-svn-id: https://svn.codehaus.org/mule/branches/mule-3.x@19380 bf997673-6b11-0410-b953-e057580c5b09
3.1.x
-
-3
tests/integration/src/test/resources/mule-test-exclusions.txt
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
Travis Carlson made changes - 06/Sep/10 10:04 AM
Status Open [ 1 ] Closed [ 6 ]
Fix Version/s 3.0.0-RC3 [ 10874 ]
Fix Version/s 3.0.1 [ 10877 ]
Resolution Fixed [ 1 ]
Assignee Travis Carlson [ tcarlson ]
Transition Time In Source Status Execution Times Last Executer Last Execution Date
Open Open Closed Closed
88d 23h 25m 1 Travis Carlson 06/Sep/10 10:04 AM
This list may be incomplete, as errors occurred whilst retrieving source from linked applications:
  • Repository mule on http://foo.bar/ failed: Error in remote call to 'FishEye 0 (http://foo.bar/)' (http://foo.bar) [AbstractRestCommand{path='/rest-service-fe/changeset-v1/listChangesets/', params={expand=changesets[-21:-1].revisions[0:29], comment=MULE-4904, p4JobFixed=MULE-4904, rep=mule}, methodType=GET}] : java.net.UnknownHostException: foo.bar

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.