You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mario Ivankovits (JIRA)" <ji...@apache.org> on 2010/04/11 09:28:42 UTC

[jira] Created: (OWB-349) ignore exception during type hierarchy scan

ignore exception during type hierarchy scan
-------------------------------------------

                 Key: OWB-349
                 URL: https://issues.apache.org/jira/browse/OWB-349
             Project: OpenWebBeans
          Issue Type: Improvement
          Components: Core
    Affects Versions: 1.0.0
         Environment: JDK 1.6.0_17
            Reporter: Mario Ivankovits
            Assignee: Gurkan Erdogdu
         Attachments: invalid_superclass_type.patch

During classpath scan OWB crashes with an "MalformedParameterizedTypeException" exception.

This exception happens in ClassUtils.setTypeHierarchy when trying to get the GenericSuperclass.

It seems I can not fix this exception on my side as the code compiles and works fine and the class I inherit from is a class of a used library.

I think the system should not fail anyway. A warning that a type needs to be ignored should be enough ...


Attached is a patch which makes OWB correctly startup here by doing so.

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

        

[jira] Closed: (OWB-349) ignore exception during type hierarchy scan

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

Gurkan Erdogdu closed OWB-349.
------------------------------

    Fix Version/s: 1.0.0
       Resolution: Fixed

Done, thanks Mario Ivankovits

> ignore exception during type hierarchy scan
> -------------------------------------------
>
>                 Key: OWB-349
>                 URL: https://issues.apache.org/jira/browse/OWB-349
>             Project: OpenWebBeans
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.0.0
>         Environment: JDK 1.6.0_17
>            Reporter: Mario Ivankovits
>            Assignee: Gurkan Erdogdu
>             Fix For: 1.0.0
>
>         Attachments: invalid_superclass_type.patch
>
>
> During classpath scan OWB crashes with an "MalformedParameterizedTypeException" exception.
> This exception happens in ClassUtils.setTypeHierarchy when trying to get the GenericSuperclass.
> It seems I can not fix this exception on my side as the code compiles and works fine and the class I inherit from is a class of a used library.
> I think the system should not fail anyway. A warning that a type needs to be ignored should be enough ...
> Attached is a patch which makes OWB correctly startup here by doing so.

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

        

[jira] Updated: (OWB-349) ignore exception during type hierarchy scan

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

Mario Ivankovits updated OWB-349:
---------------------------------

    Attachment: invalid_superclass_type.patch

> ignore exception during type hierarchy scan
> -------------------------------------------
>
>                 Key: OWB-349
>                 URL: https://issues.apache.org/jira/browse/OWB-349
>             Project: OpenWebBeans
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.0.0
>         Environment: JDK 1.6.0_17
>            Reporter: Mario Ivankovits
>            Assignee: Gurkan Erdogdu
>         Attachments: invalid_superclass_type.patch
>
>
> During classpath scan OWB crashes with an "MalformedParameterizedTypeException" exception.
> This exception happens in ClassUtils.setTypeHierarchy when trying to get the GenericSuperclass.
> It seems I can not fix this exception on my side as the code compiles and works fine and the class I inherit from is a class of a used library.
> I think the system should not fail anyway. A warning that a type needs to be ignored should be enough ...
> Attached is a patch which makes OWB correctly startup here by doing so.

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