[GitHub] commons-fileupload issue #5: Update DiskFileItem.java: Avoiding NPE when not...

2016-11-30 Thread OleHornischer
Github user OleHornischer commented on the issue: https://github.com/apache/commons-fileupload/pull/5 Hi @garydgregory, yes, that potential NullPointerException I also addressed in my fix, as well as others. I updated the sources now to handle exceptions and fixed a few

[GitHub] commons-fileupload issue #5: Update DiskFileItem.java: Avoiding NPE when not...

2016-11-29 Thread OleHornischer
Github user OleHornischer commented on the issue: https://github.com/apache/commons-fileupload/pull/5 Thanks for the tip. I updated my repository in accordance to the script on the linked blog post. Hope things are in order now. --- If your project is set up for it, you can

[GitHub] commons-fileupload issue #5: Update DiskFileItem.java: Avoiding NPE when not...

2016-11-28 Thread OleHornischer
Github user OleHornischer commented on the issue: https://github.com/apache/commons-fileupload/pull/5 Hi @garydgregory I created a Unit test illustrating the issue. However, since this is my first pull request, I am not sure what you mean by updating the patch. I forked the

[GitHub] commons-fileupload pull request #5: Update DiskFileItem.java: Avoiding NPE w...

2016-11-25 Thread OleHornischer
GitHub user OleHornischer opened a pull request: https://github.com/apache/commons-fileupload/pull/5 Update DiskFileItem.java: Avoiding NPE when not explicitely initializ… …ing the outputstream When accessing e.g. getSize() on a DiskFileItem before having called