You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Gerhard Petracek (JIRA)" <ji...@apache.org> on 2011/04/13 15:32:06 UTC

[jira] [Created] (OWB-565) missing check for producer methods

missing check for producer methods
----------------------------------

                 Key: OWB-565
                 URL: https://issues.apache.org/jira/browse/OWB-565
             Project: OpenWebBeans
          Issue Type: Bug
          Components: Context and Scopes
    Affects Versions: 1.1.0
            Reporter: Gerhard Petracek
            Assignee: Gurkan Erdogdu


if a producer methods creates a normal scoped bean (@NormalScope(passivating=true)) there is no check if the type of the bean implements Serializable
-> SerializableBeanVault#getSerializableBean returns null -> NPE

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (OWB-565) missing check for producer methods

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

Mark Struberg updated OWB-565:
------------------------------

    Fix Version/s: 1.2.0

> missing check for producer methods
> ----------------------------------
>
>                 Key: OWB-565
>                 URL: https://issues.apache.org/jira/browse/OWB-565
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Context and Scopes
>    Affects Versions: 1.1.0
>            Reporter: Gerhard Petracek
>            Assignee: Gurkan Erdogdu
>            Priority: Minor
>             Fix For: 1.2.0
>
>
> if a producer methods creates a normal scoped bean (@NormalScope(passivating=true)) there is no check if the type of the bean implements Serializable
> -> SerializableBeanVault#getSerializableBean returns null -> NPE
> since a producer method might produce a serializable implementation, a runtime-check should be considered instead of a static check.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (OWB-565) missing check for producer methods

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

Mark Struberg updated OWB-565:
------------------------------

    Fix Version/s:     (was: 1.1.1)
                   1.2.0

> missing check for producer methods
> ----------------------------------
>
>                 Key: OWB-565
>                 URL: https://issues.apache.org/jira/browse/OWB-565
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Context and Scopes
>    Affects Versions: 1.1.0
>            Reporter: Gerhard Petracek
>            Assignee: Gurkan Erdogdu
>            Priority: Minor
>             Fix For: 1.2.0
>
>
> if a producer methods creates a normal scoped bean (@NormalScope(passivating=true)) there is no check if the type of the bean implements Serializable
> -> SerializableBeanVault#getSerializableBean returns null -> NPE
> since a producer method might produce a serializable implementation, a runtime-check should be considered instead of a static check.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (OWB-565) missing check for producer methods

Posted by "Mark Struberg (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OWB-565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Struberg resolved OWB-565.
-------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.2.0)
                   1.1.3
         Assignee: Mark Struberg  (was: Gurkan Erdogdu)

fixed by implementing the new Serialization rules of CDI-1.1
                
> missing check for producer methods
> ----------------------------------
>
>                 Key: OWB-565
>                 URL: https://issues.apache.org/jira/browse/OWB-565
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Context and Scopes
>    Affects Versions: 1.1.0
>            Reporter: Gerhard Petracek
>            Assignee: Mark Struberg
>            Priority: Minor
>             Fix For: 1.1.3
>
>
> if a producer methods creates a normal scoped bean (@NormalScope(passivating=true)) there is no check if the type of the bean implements Serializable
> -> SerializableBeanVault#getSerializableBean returns null -> NPE
> since a producer method might produce a serializable implementation, a runtime-check should be considered instead of a static check.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (OWB-565) missing check for producer methods

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

Gerhard Petracek updated OWB-565:
---------------------------------

    Description: 
if a producer methods creates a normal scoped bean (@NormalScope(passivating=true)) there is no check if the type of the bean implements Serializable
-> SerializableBeanVault#getSerializableBean returns null -> NPE

since a producer method might produce a serializable implementation, a runtime-check should be considered instead of a static check.

  was:
if a producer methods creates a normal scoped bean (@NormalScope(passivating=true)) there is no check if the type of the bean implements Serializable
-> SerializableBeanVault#getSerializableBean returns null -> NPE

       Priority: Minor  (was: Major)

> missing check for producer methods
> ----------------------------------
>
>                 Key: OWB-565
>                 URL: https://issues.apache.org/jira/browse/OWB-565
>             Project: OpenWebBeans
>          Issue Type: Bug
>          Components: Context and Scopes
>    Affects Versions: 1.1.0
>            Reporter: Gerhard Petracek
>            Assignee: Gurkan Erdogdu
>            Priority: Minor
>
> if a producer methods creates a normal scoped bean (@NormalScope(passivating=true)) there is no check if the type of the bean implements Serializable
> -> SerializableBeanVault#getSerializableBean returns null -> NPE
> since a producer method might produce a serializable implementation, a runtime-check should be considered instead of a static check.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira