You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Shawn Jiang (JIRA)" <ji...@apache.org> on 2011/05/19 12:08:47 UTC
[jira] [Created] (OPENEJB-1553) Adding NPE protection for
operations on ThreadContext.getThreadContext() object.
Adding NPE protection for operations on ThreadContext.getThreadContext() object.
--------------------------------------------------------------------------------
Key: OPENEJB-1553
URL: https://issues.apache.org/jira/browse/OPENEJB-1553
Project: OpenEJB
Issue Type: Bug
Components: ejb31
Affects Versions: (trunk/openejb3)
Reporter: Shawn Jiang
Attachments: 0002-Add-NPE-protection-for-operations-on-ThreadContext.g.patch
ThreadContext.getThreadContext().xxxx operation is dangerous because potential NPE.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OPENEJB-1553) Adding NPE protection for
operations on ThreadContext.getThreadContext() object.
Posted by "David Blevins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENEJB-1553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13082919#comment-13082919 ]
David Blevins commented on OPENEJB-1553:
----------------------------------------
Haven't check the trunk code, but if we went ahead with this fix we'll need to figure out why there isn't a ThreadContext and ensure there is one. It should be safe to assume there is a thread context or a whole ton of stuff will break including JNDI, Security and more.
> Adding NPE protection for operations on ThreadContext.getThreadContext() object.
> --------------------------------------------------------------------------------
>
> Key: OPENEJB-1553
> URL: https://issues.apache.org/jira/browse/OPENEJB-1553
> Project: OpenEJB
> Issue Type: Bug
> Components: ejb31
> Affects Versions: (trunk/openejb3)
> Reporter: Shawn Jiang
> Attachments: 0002-Add-NPE-protection-for-operations-on-ThreadContext.g.patch
>
>
> ThreadContext.getThreadContext().xxxx operation is dangerous because potential NPE.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (OPENEJB-1553) Adding NPE protection for
operations on ThreadContext.getThreadContext() object.
Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENEJB-1553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shawn Jiang updated OPENEJB-1553:
---------------------------------
Attachment: 0002-Add-NPE-protection-for-operations-on-ThreadContext.g.patch
> Adding NPE protection for operations on ThreadContext.getThreadContext() object.
> --------------------------------------------------------------------------------
>
> Key: OPENEJB-1553
> URL: https://issues.apache.org/jira/browse/OPENEJB-1553
> Project: OpenEJB
> Issue Type: Bug
> Components: ejb31
> Affects Versions: (trunk/openejb3)
> Reporter: Shawn Jiang
> Attachments: 0002-Add-NPE-protection-for-operations-on-ThreadContext.g.patch
>
>
> ThreadContext.getThreadContext().xxxx operation is dangerous because potential NPE.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (OPENEJB-1553) Adding NPE protection for operations
on ThreadContext.getThreadContext() object.
Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENEJB-1553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shawn Jiang closed OPENEJB-1553.
--------------------------------
Resolution: Cannot Reproduce
I met this problem once before, but can't recreate it now. Closing it.
> Adding NPE protection for operations on ThreadContext.getThreadContext() object.
> --------------------------------------------------------------------------------
>
> Key: OPENEJB-1553
> URL: https://issues.apache.org/jira/browse/OPENEJB-1553
> Project: OpenEJB
> Issue Type: Bug
> Components: ejb31
> Affects Versions: (trunk/openejb3)
> Reporter: Shawn Jiang
> Assignee: Shawn Jiang
> Attachments: 0002-Add-NPE-protection-for-operations-on-ThreadContext.g.patch
>
>
> ThreadContext.getThreadContext().xxxx operation is dangerous because potential NPE.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (OPENEJB-1553) Adding NPE protection for
operations on ThreadContext.getThreadContext() object.
Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENEJB-1553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shawn Jiang reassigned OPENEJB-1553:
------------------------------------
Assignee: Shawn Jiang
> Adding NPE protection for operations on ThreadContext.getThreadContext() object.
> --------------------------------------------------------------------------------
>
> Key: OPENEJB-1553
> URL: https://issues.apache.org/jira/browse/OPENEJB-1553
> Project: OpenEJB
> Issue Type: Bug
> Components: ejb31
> Affects Versions: (trunk/openejb3)
> Reporter: Shawn Jiang
> Assignee: Shawn Jiang
> Attachments: 0002-Add-NPE-protection-for-operations-on-ThreadContext.g.patch
>
>
> ThreadContext.getThreadContext().xxxx operation is dangerous because potential NPE.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira