camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Reagan (JIRA)" <>
Subject [jira] [Created] (CAMEL-7120) NullPointerException on BindyFixedLengthFactory.unbind()
Date Thu, 09 Jan 2014 22:47:51 GMT
Josh Reagan created CAMEL-7120:

             Summary: NullPointerException on BindyFixedLengthFactory.unbind()
                 Key: CAMEL-7120
             Project: Camel
          Issue Type: Bug
          Components: camel-bindy
    Affects Versions: 2.12.0
            Reporter: Josh Reagan
            Priority: Minor

The Camel Bindy component throws a NullPointerException on unbind when you've specified a
header, but no footer. It looks like there was a simple copy/paste error in the marshal method.
When generating the models, it checks the headerRow for null and then adds the headerRow.
It then checks the headerRow (not the footerRow) for null and then adds the footerRow. Later
down the chain, the BindyFixedLengthFactory throws a null exception when it tries to call
getName() on the model Class.

This message was sent by Atlassian JIRA

View raw message