Open superelchi opened 9 years ago
running it without "-ea" will prevent java.lang.assertions from being checked. That´s why you dont see the error in that case.
Yeah. Sure. Running without "-ea" works. But what use is an assert() that is always thrown - I thought assert should help you debug your code. Not crash it. ;)
superelchi
you are right. Looking at the code I think the provided assertion might be wrong because it just checks if httpResponseHeaders this.httpResponseHeaders.size() == 0
and afterwards clears it. This makes no sense from my point of view. Maybe there are some other assumptions why the headers should be clear here?
I've been using the "old" EWS java API for months and attempted to update to this one and ran into this error. Looking back we removed that code from the "old" version because it did not seem to have a purpose and would always break otherwise working code. I think it should definitely be removed as it causes difficulty... Pull request coming
Hi,
I' trying to read Emails from an Office 365 account. Code:
This throws:
If this code is run in non-debug mode (no "-ea") everything works fine.
OS: Linux Mint 64 bit SDK: 1.6.0_45
Any clues?
superelchi