You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Andreas Held (JIRA)" <ji...@apache.org> on 2006/06/20 14:55:51 UTC

[jira] Created: (SM-459) NPE upon missing in message

NPE upon missing in message
---------------------------

         Key: SM-459
         URL: https://issues.apache.org/activemq/browse/SM-459
     Project: ServiceMix
        Type: Bug

  Components: servicemix-http  
    Versions: 3.0-M2    
 Environment: Windows 2000, JBoss-4.0.3SP1
    Reporter: Andreas Held
    Priority: Trivial


I created a component with an InOut exchange and forgot to add the "in" message. This yielded the following exception:

java.lang.NullPointerException         at
org.apache.servicemix.soap.marshalers.JBIMarshaler.fromNMS(JBIMarshaler.java:76) 

A slightly more meaningful exception could be helpful.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (SM-459) NPE upon missing in message

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-459?page=all ]
     
Guillaume Nodet resolved SM-459:
--------------------------------

    Fix Version: 3.0
     Resolution: Fixed
      Assign To: Guillaume Nodet

Author: gnodet
Date: Tue Jun 20 04:22:49 2006
New Revision: 415613

URL: http://svn.apache.org/viewvc?rev=415613&view=rev
Log:
Throw a meaningfull exception if no 'in' message is set on the incoming exchange

Modified:
    incubator/servicemix/trunk/servicemix-http/src/main/java/org/apache/servicemix/http/processors/ProviderProcessor.java



> NPE upon missing in message
> ---------------------------
>
>          Key: SM-459
>          URL: https://issues.apache.org/activemq/browse/SM-459
>      Project: ServiceMix
>         Type: Bug

>   Components: servicemix-http
>     Versions: 3.0-M2
>  Environment: Windows 2000, JBoss-4.0.3SP1
>     Reporter: Andreas Held
>     Assignee: Guillaume Nodet
>     Priority: Trivial
>      Fix For: 3.0

>
>
> I created a component with an InOut exchange and forgot to add the "in" message. This yielded the following exception:
> java.lang.NullPointerException         at
> org.apache.servicemix.soap.marshalers.JBIMarshaler.fromNMS(JBIMarshaler.java:76) 
> A slightly more meaningful exception could be helpful.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira