taskadapter / redmine-java-api

Redmine Java API
Apache License 2.0
270 stars 163 forks source link

when an object with NULL id is given to update() method in Transport class, it fails with NPE #208

Closed alexeyOnGitHub closed 9 years ago

alexeyOnGitHub commented 9 years ago

it should fail with something more dev-friendly to simplify debug. RuntimeException or IllegalArgumentException or something.

this is applicable to all updateXX() calls to Redmine Java API, which use Transport class internally: