Menu

#1389 ConsecutiveLiteralAppendsRule NullPointerException

PMD-5.3.4
duplicate
None
PMD
3-Major
Bug
5.3.3
ConsecutiveLiteralAppendsRule
2015-08-05
2015-08-04
Dell Green
No

Pmd is throwing a NullPointerException when trying to apply ConsecutiveLiteralAppendsRule. Have built 5.3.4 snapshot from source and same error still exists. Suppressing the rule on the file in question using annotation doesnt work either.

1 Attachments

Discussion

  • Andreas Dangel

    Andreas Dangel - 2015-08-04

    Hi,
    thanks for testing. From the stacktrace, it looks like, you built PMD from the master branch - however, the bugfix is only on the pmd/5.3.x branch. I didn't merge it to master yet.

    I setup a CI build for the branch. Could you please try again taking the binary from here: https://sourceforge.net/projects/pmd/files/pmd/5.3.4-SNAPSHOT/

    Thanks!

     
  • Dell Green

    Dell Green - 2015-08-05

    Apologies, I didn't notice it wasn't in master branch yet. Have tested again with 5.3.4-SNAPHOT from the link you supplied above and indeed it all works correctly. many thanks for the quick reply :)

     
  • Andreas Dangel

    Andreas Dangel - 2015-08-05

    No problem. Thank you for testing!
    I close this issue as a duplicate of [#1384]

     

    Related

    Issues: #1384

  • Andreas Dangel

    Andreas Dangel - 2015-08-05
    • status: open --> duplicate
    • assigned_to: Andreas Dangel
    • Milestone: New Tickets --> PMD-5.3.4
     

Log in to post a comment.