Solved ArrayOutOfBounds

Discussion in 'Plugin Development' started by MomentHCF, Jun 15, 2017.

Thread Status:
Not open for further replies.
  1. Offline

    MomentHCF

  2. Offline

    timtower Administrator Administrator Moderator

    @MomentHCF Java starts counting at 0, not at 1.
    And check the length before you access the arguments.
     
  3. Offline

    MomentHCF

    I did and I thought that was the issue so I got rid of it, I'll try starting at 0 though.

    I fixed that issue but now it is not updating the file.

    Main: https://hastebin.com/ugisezonat.java

    APCmd: https://hastebin.com/qayisodane.swift

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 17, 2017
  4. Offline

    blueye_

    Do you mean the config file? If so I don't think you ever told it to save after updating the value.
     
  5. Offline

    MomentHCF

    I swear if that's it, I'm going to jump off of a bridge.

    Yeah still does it.

    Bump

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 17, 2017
  6. Offline

    Caderape2

    @MomentHCF
    - Did you save your file ?
    - A file should look like this : new File (FileFolder, fileName);
    post your updated code
     
  7. Offline

    MomentHCF

    I did, doesn't matter now as the developer of one of the dependencies went behind my back and made me lose my pay. Sorry, tried to update it.
     
  8. Offline

    timtower Administrator Administrator Moderator

    @MomentHCF Developing plugins should be a hobby, not a paid job.
     
Thread Status:
Not open for further replies.

Share This Page