title: IllegalAccessException on protected class member while parsing Excel 2007 file using Apache POI library on AppEngine
body: <p>I am trying to parse excel 2007 (.xlsx) file using Apache POI library on Google AppEngine but while doing that I am getting an exception (see below).</p>
  
  <pre><code>java.lang.IllegalAccessException: Class com.google.appengine.tools.development.agent.runtime.Runtime$21 can not access a member of  class org.apache.poi.xssf.usermodel.XSSFSheet with modifiers "protected"
  </code></pre>
  
  <p>So I checked with Apache POI team, but they claim that its an AppEngine issue. I am not sure what is the right place for AppEngine questions, but I know lot of appengine developers monitor Stackoverflow. So posting this question here.</p>
  
  <p>Bug filed for Apache POI team : <a href="https://issues.apache.org/bugzilla/show_bug.cgi?id=55665" rel="nofollow">https://issues.apache.org/bugzilla/show_bug.cgi?id=55665</a></p>
  
  <p>This bug has a sample maven project, and instructions to reproduce it. 
  I am not sure how to attach this zip file here. </p>
  
  <p>If any one knows how to fix this then let me know, or right place to file bug.</p>
  
  <p>The key part of the stacktrace is:</p>
  
  <pre><code>java.lang.IllegalAccessException: Class com.google.appengine.tools.development.agent.runtime.Runtime$21 can not access a member of  class org.apache.poi.xssf.usermodel.XSSFSheet with modifiers "protected"
  at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:105)
  at com.google.appengine.tools.development.agent.runtime.Runtime$22.run(Runtime.java:488)
  at java.security.AccessController.doPrivileged(Native Method)
  at com.google.appengine.tools.development.agent.runtime.Runtime.checkAccess(Runtime.java:485)
  at com.google.appengine.tools.development.agent.runtime.Runtime.checkAccess(Runtime.java:479)
  at com.google.appengine.tools.development.agent.runtime.Runtime.newInstance_(Runtime.java:123)
  at com.google.appengine.tools.development.agent.runtime.Runtime.newInstance(Runtime.java:135)
  at org.apache.poi.xssf.usermodel.XSSFFactory.createDocumentPart(XSSFFactory.java:60)
  </code></pre>