You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Mark Combellack (JIRA)" <tu...@ws.apache.org> on 2008/04/10 21:46:04 UTC
[jira] Created: (TUSCANY-2216) DefaultContextFactoryExtensionPoint
handling of null should be improved
DefaultContextFactoryExtensionPoint handling of null should be improved
-----------------------------------------------------------------------
Key: TUSCANY-2216
URL: https://issues.apache.org/jira/browse/TUSCANY-2216
Project: Tuscany
Issue Type: Bug
Components: Java SCA Core Runtime
Affects Versions: Java-SCA-Next
Environment: svn revision 644847
Linux
Reporter: Mark Combellack
Assignee: Mark Combellack
Priority: Minor
Fix For: Java-SCA-Next
The JavaDoc for DefaultContextFactoryExtensionPoint is inclear as to what will happen if a null is passed into the methods. What actually happens is that it throws a NullPointerException.
After discussions in:
http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg30064.html
I'm going to add a null check and throw IllegalArgumentException
--
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Resolved: (TUSCANY-2216) DefaultContextFactoryExtensionPoint
handling of null should be improved
Posted by "Mark Combellack (JIRA)" <tu...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-2216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Combellack resolved TUSCANY-2216.
--------------------------------------
Resolution: Fixed
Added unit test for DefaultContextFactoryExtensionPoint in 646940
> DefaultContextFactoryExtensionPoint handling of null should be improved
> -----------------------------------------------------------------------
>
> Key: TUSCANY-2216
> URL: https://issues.apache.org/jira/browse/TUSCANY-2216
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Core Runtime
> Affects Versions: Java-SCA-Next
> Environment: svn revision 644847
> Linux
> Reporter: Mark Combellack
> Assignee: Mark Combellack
> Priority: Minor
> Fix For: Java-SCA-Next
>
>
> The JavaDoc for DefaultContextFactoryExtensionPoint is inclear as to what will happen if a null is passed into the methods. What actually happens is that it throws a NullPointerException.
> After discussions in:
> http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg30064.html
> I'm going to add a null check and throw IllegalArgumentException
--
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Commented: (TUSCANY-2216)
DefaultContextFactoryExtensionPoint handling of null should be improved
Posted by "Mark Combellack (JIRA)" <tu...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-2216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12587765#action_12587765 ]
Mark Combellack commented on TUSCANY-2216:
------------------------------------------
Updated DefaultContextFactoryExtensionPoint to check for null in SVN revision 646939
> DefaultContextFactoryExtensionPoint handling of null should be improved
> -----------------------------------------------------------------------
>
> Key: TUSCANY-2216
> URL: https://issues.apache.org/jira/browse/TUSCANY-2216
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Core Runtime
> Affects Versions: Java-SCA-Next
> Environment: svn revision 644847
> Linux
> Reporter: Mark Combellack
> Assignee: Mark Combellack
> Priority: Minor
> Fix For: Java-SCA-Next
>
>
> The JavaDoc for DefaultContextFactoryExtensionPoint is inclear as to what will happen if a null is passed into the methods. What actually happens is that it throws a NullPointerException.
> After discussions in:
> http://www.mail-archive.com/tuscany-dev@ws.apache.org/msg30064.html
> I'm going to add a null check and throw IllegalArgumentException
--
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org