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
After using the code
jsonio rv, file("filename.json") nourl ob(500)
I get the error message saying:
java.lang.IndexOutOfBoundsException: Index 1 out of bounds for length 0
at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:266)
at java.base/java.util.Objects.checkIndex(Objects.java:361)
at java.base/java.util.ArrayList.get(ArrayList.java:427)
at org.paces.Stata.Input.FlatJSON.flatten(FlatJSON.java:199)
at org.paces.Stata.Input.FlatJSON.flatten(FlatJSON.java:181)
at org.paces.Stata.Input.FlatJSON.flatten(FlatJSON.java:199)
at org.paces.Stata.Input.FlatJSON.flatten(FlatJSON.java:199)
at org.paces.Stata.Input.FlatJSON.flatten(FlatJSON.java:199)
at org.paces.Stata.Input.FlatJSON.flatten(FlatJSON.java:181)
at org.paces.Stata.Input.FlatJSON.flatten(FlatJSON.java:199)
at org.paces.Stata.Input.FlatJSON.flatten(FlatJSON.java:121)
at org.paces.Stata.Input.InJSON.insheetFileToVars(InJSON.java:192)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at com.stata.Javacall.load(Javacall.java:277)
at com.stata.Javacall.load(Javacall.java:92)
The result is that no data are read into Stata.
How can I solve this issue?
Thank you
The text was updated successfully, but these errors were encountered:
After using the code
jsonio rv, file("filename.json") nourl ob(500)
I get the error message saying:
java.lang.IndexOutOfBoundsException: Index 1 out of bounds for length 0
at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:266)
at java.base/java.util.Objects.checkIndex(Objects.java:361)
at java.base/java.util.ArrayList.get(ArrayList.java:427)
at org.paces.Stata.Input.FlatJSON.flatten(FlatJSON.java:199)
at org.paces.Stata.Input.FlatJSON.flatten(FlatJSON.java:181)
at org.paces.Stata.Input.FlatJSON.flatten(FlatJSON.java:199)
at org.paces.Stata.Input.FlatJSON.flatten(FlatJSON.java:199)
at org.paces.Stata.Input.FlatJSON.flatten(FlatJSON.java:199)
at org.paces.Stata.Input.FlatJSON.flatten(FlatJSON.java:181)
at org.paces.Stata.Input.FlatJSON.flatten(FlatJSON.java:199)
at org.paces.Stata.Input.FlatJSON.flatten(FlatJSON.java:121)
at org.paces.Stata.Input.InJSON.insheetFileToVars(InJSON.java:192)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at com.stata.Javacall.load(Javacall.java:277)
at com.stata.Javacall.load(Javacall.java:92)
The result is that no data are read into Stata.
How can I solve this issue?
Thank you
The text was updated successfully, but these errors were encountered: