title: loadShape() causing "ArrayIndexOutOfBounds: 32" in Processing when loading .SVG files
body: <p>I'm trying to load a SVG file that I created in Illustrator into my Processing program, but the line 8 causes error "ArrayIndexOutOfOrderException: 32."</p>
  
  <pre><code>
  PShape flwr;
  
  void setup() {
    size(500, 500);
    smooth();
    flwr = loadShape("flower.svg");
  }
  
  void draw() {
    background(241, 241, 241);
    shape(flwr, 50, 50);
  }
  </code></pre>
  
  <p>I have tried placing "flower.svg" in both the main directory for my program and in the "data" folder in my program's directory. </p>
  
  <p>I feel this might be a problem with the SVG file itself. I exported the file from Illustrator using the following options (as instructed by my instructor):
  <a href="https://i.stack.imgur.com/yb2i9.png" rel="nofollow noreferrer">Illustrator SVG options</a></p>
  
  <p>Apologies if this is solely an Illustrator/export problem and I shouldn't be posting it here.</p>
  
  <p>Thanks.</p>