You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Dave Brosius (JIRA)" <ji...@apache.org> on 2009/02/15 02:33:59 UTC

[jira] Created: (SYNAPSE-505) [PATCH] Fix NPE in XQueryMediator due to invalid non short-circuited if

[PATCH] Fix NPE in XQueryMediator due to invalid non short-circuited if
-----------------------------------------------------------------------

                 Key: SYNAPSE-505
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-505
             Project: Synapse
          Issue Type: Bug
          Components: Extension Mediators
    Affects Versions: 1.1.1
            Reporter: Dave Brosius
            Priority: Minor
             Fix For: 1.1.1
         Attachments: fix_xquery_npe.diff

Code has NPE potential due to invalid non-short-circuited if statement:

if (variables != null & !variables.isEmpty()) {

patch changes it to

if (variables != null && !variables.isEmpty()) {

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Assigned: (SYNAPSE-505) [PATCH] Fix NPE in XQueryMediator due to invalid non short-circuited if

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen reassigned SYNAPSE-505:
---------------------------------------

    Assignee: Andreas Veithen

> [PATCH] Fix NPE in XQueryMediator due to invalid non short-circuited if
> -----------------------------------------------------------------------
>
>                 Key: SYNAPSE-505
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-505
>             Project: Synapse
>          Issue Type: Bug
>          Components: Extension Mediators
>    Affects Versions: 1.1.1
>            Reporter: Dave Brosius
>            Assignee: Andreas Veithen
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: fix_xquery_npe.diff
>
>
> Code has NPE potential due to invalid non-short-circuited if statement:
> if (variables != null & !variables.isEmpty()) {
> patch changes it to
> if (variables != null && !variables.isEmpty()) {

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Resolved: (SYNAPSE-505) [PATCH] Fix NPE in XQueryMediator due to invalid non short-circuited if

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen resolved SYNAPSE-505.
-------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.1.1)
                   1.3

> [PATCH] Fix NPE in XQueryMediator due to invalid non short-circuited if
> -----------------------------------------------------------------------
>
>                 Key: SYNAPSE-505
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-505
>             Project: Synapse
>          Issue Type: Bug
>          Components: Extension Mediators
>    Affects Versions: 1.1.1
>            Reporter: Dave Brosius
>            Assignee: Andreas Veithen
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: fix_xquery_npe.diff
>
>
> Code has NPE potential due to invalid non-short-circuited if statement:
> if (variables != null & !variables.isEmpty()) {
> patch changes it to
> if (variables != null && !variables.isEmpty()) {

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Updated: (SYNAPSE-505) [PATCH] Fix NPE in XQueryMediator due to invalid non short-circuited if

Posted by "Dave Brosius (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dave Brosius updated SYNAPSE-505:
---------------------------------

    Attachment: fix_xquery_npe.diff

> [PATCH] Fix NPE in XQueryMediator due to invalid non short-circuited if
> -----------------------------------------------------------------------
>
>                 Key: SYNAPSE-505
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-505
>             Project: Synapse
>          Issue Type: Bug
>          Components: Extension Mediators
>    Affects Versions: 1.1.1
>            Reporter: Dave Brosius
>            Priority: Minor
>             Fix For: 1.1.1
>
>         Attachments: fix_xquery_npe.diff
>
>
> Code has NPE potential due to invalid non-short-circuited if statement:
> if (variables != null & !variables.isEmpty()) {
> patch changes it to
> if (variables != null && !variables.isEmpty()) {

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org