[ 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]