Note that this report is via a user a my Java program and that I do not have access to the hardware mentioned.
- Version of JNA and related jars
5.14.0
- Version and vendor of the java virtual machine
IcedTea 1.8.0_275
- Operating system
Synology NAS, DSM 6.2, Linux 3.10.105
- System architecture (CPU type, bitness of the JVM)
ARMv7, Little Endian (via sun.cpu.endian)
- Complete description of the problem
Platform.isWindows() crashing with:
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:659)
at java.util.ArrayList.get(ArrayList.java:435)
at com.sun.jna.ELFAnalyser$ELFSectionHeaders.<init>(ELFAnalyser.java:266)
at com.sun.jna.ELFAnalyser.parseEabiAapcsVfp(ELFAnalyser.java:202)
at com.sun.jna.ELFAnalyser.runDetection(ELFAnalyser.java:190)
at com.sun.jna.ELFAnalyser.analyse(ELFAnalyser.java:68)
at com.sun.jna.Platform.isSoftFloat(Platform.java:276)
at com.sun.jna.Platform.getCanonicalArchitecture(Platform.java:265)
at com.sun.jna.Platform.<clinit>(Platform.java:132)
- Steps to reproduce
Call Platform.isWindows() to trigger that static initializer.
Note that this report is via a user a my Java program and that I do not have access to the hardware mentioned.
5.14.0
IcedTea 1.8.0_275
Synology NAS, DSM 6.2, Linux 3.10.105
ARMv7, Little Endian (via
sun.cpu.endian)Platform.isWindows()crashing with:Call
Platform.isWindows()to trigger that static initializer.