Cannot invoke "uri.Uri.getUserInfo()" because "userinfo" is null
Hi again, thank you for quick response. I think it was about my regex forms and I guess I fixed it.
I have one more problem, my tests that should pass are just giving me a circle with a dot in it and my tests that shouldn’t pass are passing.
And I’m having this error above.
Uri userinfo = UriParserFactory.create("scheme://userinfo@unisaarland").parse(); assertEquals("userinfo", userinfo.getUserInfo());
even for this example it says userinfo is null which is not supposed to happen in this example.