You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2009/07/31 22:33:14 UTC

[jira] Created: (AVRO-86) NullPointerException when using reflection to create a schema for a class without a package.

NullPointerException when using reflection to create a schema for a class without a package.
--------------------------------------------------------------------------------------------

                 Key: AVRO-86
                 URL: https://issues.apache.org/jira/browse/AVRO-86
             Project: Avro
          Issue Type: Bug
          Components: java
    Affects Versions: 1.0.0
            Reporter: Doug Cutting
            Assignee: Doug Cutting




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


[jira] Updated: (AVRO-86) NullPointerException when using reflection to create a schema for a class without a package.

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

Eelco Hillenius updated AVRO-86:
--------------------------------

    Comment: was deleted

(was: Probably not relevant anymore, since this only came up when using the now rejected patch for AVRO-93)

> NullPointerException when using reflection to create a schema for a class without a package.
> --------------------------------------------------------------------------------------------
>
>                 Key: AVRO-86
>                 URL: https://issues.apache.org/jira/browse/AVRO-86
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.0.0, 1.0.1
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>         Attachments: AVRO-86.patch
>
>


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


[jira] Updated: (AVRO-86) NullPointerException when using reflection to create a schema for a class without a package.

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

Eelco Hillenius updated AVRO-86:
--------------------------------

    Priority: Major  (was: Trivial)

> NullPointerException when using reflection to create a schema for a class without a package.
> --------------------------------------------------------------------------------------------
>
>                 Key: AVRO-86
>                 URL: https://issues.apache.org/jira/browse/AVRO-86
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.0.0, 1.0.1
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>         Attachments: AVRO-86.patch
>
>


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


[jira] Commented: (AVRO-86) NullPointerException when using reflection to create a schema for a class without a package.

Posted by "Eelco Hillenius (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AVRO-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12744869#action_12744869 ] 

Eelco Hillenius commented on AVRO-86:
-------------------------------------

Probably not relevant anymore, since this only came up when using the now rejected patch for AVRO-93

> NullPointerException when using reflection to create a schema for a class without a package.
> --------------------------------------------------------------------------------------------
>
>                 Key: AVRO-86
>                 URL: https://issues.apache.org/jira/browse/AVRO-86
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.0.0, 1.0.1
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>         Attachments: AVRO-86.patch
>
>


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


[jira] Updated: (AVRO-86) NullPointerException when using reflection to create a schema for a class without a package.

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

Eelco Hillenius updated AVRO-86:
--------------------------------

    Affects Version/s: 1.0.1
               Status: Patch Available  (was: Open)

> NullPointerException when using reflection to create a schema for a class without a package.
> --------------------------------------------------------------------------------------------
>
>                 Key: AVRO-86
>                 URL: https://issues.apache.org/jira/browse/AVRO-86
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.0.0, 1.0.1
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>         Attachments: AVRO-86.patch
>
>


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


[jira] Updated: (AVRO-86) NullPointerException when using reflection to create a schema for a class without a package.

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

Eelco Hillenius updated AVRO-86:
--------------------------------

    Priority: Trivial  (was: Major)

> NullPointerException when using reflection to create a schema for a class without a package.
> --------------------------------------------------------------------------------------------
>
>                 Key: AVRO-86
>                 URL: https://issues.apache.org/jira/browse/AVRO-86
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.0.0, 1.0.1
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>            Priority: Trivial
>         Attachments: AVRO-86.patch
>
>


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


[jira] Commented: (AVRO-86) NullPointerException when using reflection to create a schema for a class without a package.

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AVRO-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12744704#action_12744704 ] 

Doug Cutting commented on AVRO-86:
----------------------------------

This needs a test case.

> NullPointerException when using reflection to create a schema for a class without a package.
> --------------------------------------------------------------------------------------------
>
>                 Key: AVRO-86
>                 URL: https://issues.apache.org/jira/browse/AVRO-86
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.0.0, 1.0.1
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>         Attachments: AVRO-86.patch
>
>


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


[jira] Updated: (AVRO-86) NullPointerException when using reflection to create a schema for a class without a package.

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

Eelco Hillenius updated AVRO-86:
--------------------------------

    Attachment: AVRO-86.patch

If an empty string for a package is acceptable, than the fix seems easy enough. See patch.

> NullPointerException when using reflection to create a schema for a class without a package.
> --------------------------------------------------------------------------------------------
>
>                 Key: AVRO-86
>                 URL: https://issues.apache.org/jira/browse/AVRO-86
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.0.0
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>         Attachments: AVRO-86.patch
>
>


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