I updated my version of the community-contributed -wid- command from SSC (it downloads data from the wid.world, the World Inequality Database). ! wid v1.0.7 world inequality database 28Jul2026
I got the Java error shown below. Any ideas what the issue is? (I've emailed the email address cited in the help file, but am wondering if the issue is personal to me!)
FWIW I've also, subsequently, done -ssc2 install wid, date(2026-01-01) replaceall- to return to *! wid v1.0.5 world inequality database 2jun2025. No Java problem! (Hurrah for -ssc2-!)
I got the Java error shown below. Any ideas what the issue is? (I've emailed the email address cited in the help file, but am wondering if the issue is personal to me!)
FWIW I've also, subsequently, done -ssc2 install wid, date(2026-01-01) replaceall- to return to *! wid v1.0.5 world inequality database 2jun2025. No Java problem! (Hurrah for -ssc2-!)
Code:
. which wid
d:\home\stephenj\ado\stbplus\w\wid.ado
*! wid v1.0.7 world inequality database 28Jul2026
. * "exclude" option to exclude interpolation/extrapolation
. * indicators: wealth share
. * perc: top 1%
. * ages: adults 20+
. * pop: equal-split adults
.
. wid, indicators(shweal) areas(all) perc(p99p100) ages(992) pop(j) clear
* Get variables associated to your selection... DONE
(found 1 variable for 262 areas, 1 percentile, 1 age category, 1 population cat
> egory)
* Downloading the data
| 0% ---+--- 20% ---+--- 40% ---+--- 60% ---+--- 80% ---+--- 100% |
java.lang.ArrayIndexOutOfBoundsException: Index 3 out of bounds for length 3
at com.wid.WIDDownloader.importCountriesVariables(WIDDownloader.java:17
> 0)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Dir
> ectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.stata.Javacall.load(Javacall.java:277)
at com.stata.Javacall.load(Javacall.java:92)
r(5100);
