java.lang.StringIndexOutOfBoundsException

tip

You need to make sure that capitalisation of the case for the plugin in the
properties file is exactly: "AllocinePlugin" and not "allocineplugin"


rprp
tip

This is a bug when using Micromax devices with VideoView. You can either exclude these devices or look at this workaround: http://stackoverflow.com/a/31942841/4347859

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • GitHub comment 51#140711361
    via GitHub by pbyrne84
    ,
  • GitHub comment 51#140814308
    via GitHub by pbyrne84
    ,
  • Index out of bounds exception
    via GitHub by norrs
    ,
  • String index out of range: 2
    via Stack Overflow by Thiago Luiz
    ,
    • java.lang.StringIndexOutOfBoundsException: String index out of range: 2 at java.lang.String.substring(String.java:1963) at oshi.util.ParseUtil.hexStringToString(ParseUtil.java:296) at oshi.hardware.platform.windows.WindowsDisks.getDisks(WindowsDisks.java:84) at oshi.hardware.platform.windows.WindowsHardwareAbstractionLayer.getDiskStores(WindowsHardwareAbstractionLayer.java:70) at SystemInfoTest.main(SystemInfoTest.java:94)

    Users with the same issue

    PilleoPilleo
    1 times, last one,
    bernardpaulusbernardpaulus
    2 times, last one,
    Andreas HäberAndreas Häber
    38 times, last one,
    osvzsosvzs
    3 times, last one,
    QrCericQrCeric
    1 times, last one,
    92 more bugmates