You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Laurent J (JIRA)" <ji...@apache.org> on 2007/06/19 14:30:26 UTC

[jira] Created: (BETWIXT-59) NullPointerException on getAttributeDescriptor

NullPointerException on getAttributeDescriptor
----------------------------------------------

                 Key: BETWIXT-59
                 URL: https://issues.apache.org/jira/browse/BETWIXT-59
             Project: Commons Betwixt
          Issue Type: Bug
         Environment: Betwixt 0.8, java 1.5.0_11, windows xp
            Reporter: Laurent J


When writting custom suppression strategy first use of the following method yield NullPointerException :
  public AttributeDescriptor getAttributeDescriptor(final String name)

My attributeList is not null and I want to retrieve an attribute but attributeDescriptors is null.


Work around : call method hasAttributes before in order to fill attributeDescriptors 

Regards,
kawas

-- 
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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Commented: (BETWIXT-59) NullPointerException on getAttributeDescriptor

Posted by "Martin van den Bemt (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BETWIXT-59?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12509277 ] 

Martin van den Bemt commented on BETWIXT-59:
--------------------------------------------

Can you give us a testcase showing that behaviour.. That will make it quicker for us to fix this.

> NullPointerException on getAttributeDescriptor
> ----------------------------------------------
>
>                 Key: BETWIXT-59
>                 URL: https://issues.apache.org/jira/browse/BETWIXT-59
>             Project: Commons Betwixt
>          Issue Type: Bug
>         Environment: Betwixt 0.8, java 1.5.0_11, windows xp
>            Reporter: Laurent J
>
> When writting custom suppression strategy first use of the following method yield NullPointerException :
>   public AttributeDescriptor getAttributeDescriptor(final String name)
> My attributeList is not null and I want to retrieve an attribute but attributeDescriptors is null.
> Work around : call method hasAttributes before in order to fill attributeDescriptors 
> Regards,
> kawas

-- 
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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org