I just pushed a bunch of simple tests and my daily test result confuses me.
The test I’m talking about (just for example, there were some failing like that) is
The error looks like follows:
java.lang.AssertionError: All failing test cases also failed on a correct implementation: uri.tests.SimpleTests.testUserInfoSimple(SimpleTests.java:173): NullPointerException: Cannot invoke "uri.Uri.getUserInfo()" because the return value of "uri.UriParser.parse()" is null
As I’ve understood this error message, my test couldn’t call
.parse() returned unexpected null, thus,
.parse().getUserInfo() could not be evaluted.
But now I’m confused, why this happens, and why this happens also for a given test?
The URI the URIParserFactory had to parse looks like follows:
In my understanding, this URI is valid and
.parse() should return a valid URI instance, and
.getUserInfo() should return
What do I get wrong?
Thanks in advance,