You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example in org.hl7.fhir.r5.formats.FormatUtilities line 143 in method firstIndexOf will show a ArrayIndexOutOfBoundsException if char not found and input less than 1000 bytes long.
Fix: Math.max has to be replaced by Math.min.
I first wanted to create a pull request, but will better not touch the code without proper test execution.
Got the ArrayIndexOutOfBoundsException using validator JAR with a profile hosted by redirect. Problem is that ValidationEngine.loadProfileFromUrl will not follow redirects.
The text was updated successfully, but these errors were encountered:
For example in
org.hl7.fhir.r5.formats.FormatUtilities
line 143 in methodfirstIndexOf
will show aArrayIndexOutOfBoundsException
if char not found and input less than 1000 bytes long.Fix:
Math.max
has to be replaced byMath.min
.I first wanted to create a pull request, but will better not touch the code without proper test execution.
Got the
ArrayIndexOutOfBoundsException
using validator JAR with a profile hosted by redirect. Problem is thatValidationEngine.loadProfileFromUrl
will not follow redirects.The text was updated successfully, but these errors were encountered: