-
Notifications
You must be signed in to change notification settings - Fork 44
Description
Describe the bug
A new symbol is added as 'JNJ$', that's why RestManager.java now throws IllegalArgumentException
To Reproduce
Steps to reproduce the behavior:
- Request for key stats (as an example, the others also have the same problem) with the symbol 'JNJ$'
- IllegalArgumentException will be thrown afterward from RestManager.java
Expected behavior
IllegalArgumentException won't be thrown and the response will be parsed successfully
Additional context
Caused by: java.lang.IllegalArgumentException: Illegal group reference: group index is missing
at java.base/java.util.regex.Matcher.appendExpandedReplacement(Unknown Source)
at java.base/java.util.regex.Matcher.appendReplacement(Unknown Source)
at java.base/java.util.regex.Matcher.replaceFirst(Unknown Source)
at java.base/java.lang.String.replaceFirst(Unknown Source)
at pl.zankowski.iextrading4j.client.rest.manager.RestManager.createPath(RestManager.java:94)
at pl.zankowski.iextrading4j.client.rest.manager.RestManager.createURL(RestManager.java:73)
at pl.zankowski.iextrading4j.client.rest.manager.RestManager.executeRequest(RestManager.java:30)
at pl.zankowski.iextrading4j.client.rest.AbstractRestEndpoint.execute(AbstractRestEndpoint.java:16)
at pl.zankowski.iextrading4j.client.rest.endpoint.GenericRestEndpoint.executeRequest(GenericRestEndpoint.java:14)
