You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Lars Heinemann (JIRA)" <ji...@apache.org> on 2008/12/05 00:46:05 UTC

[jira] Assigned: (SM-1718) jsr181ServiceUnitAnalyser returns null channel while using jbi-maven-plugin to create service-unit decriptor which caues it to fail.

     [ https://issues.apache.org/activemq/browse/SM-1718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Heinemann reassigned SM-1718:
----------------------------------

    Assignee: Lars Heinemann

> jsr181ServiceUnitAnalyser returns null channel while using jbi-maven-plugin to create service-unit decriptor which caues it to fail.
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SM-1718
>                 URL: https://issues.apache.org/activemq/browse/SM-1718
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-jsr181
>    Affects Versions: servicemix-jsr181-2008.01
>            Reporter: Ulhas Bhole
>            Assignee: Lars Heinemann
>             Fix For: servicemix-jsr181-2008.02
>
>         Attachments: channel.patch
>
>
> While running wsdl-first sample I came across failure in generating jsr181 Servce Unit Descriptor from jbi-maven-plugin. Upon debugging it turned out that the bug fix in DefaultComponent in servicemix-common on trunk now initialize newly created ServiceUnit which calls on the Component context to get delivery channel and calls to create ExchangeFactory on that channel. 
> In case of the jbi-maven-plugin jsr181ServiceUnitAnalyzer passes in the DummyComponentContext which returns null channel and eventually the SU creation fails in init() with Null pointer exception. 
> I have attached a patch to create dummy channel and return this dummy channel from DummyComponentContext to avoid null pointer exception. 
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.