Re: [appengine-java] Re: java.lang.NullPointerException cannot be cast to javax.servlet.ServletException

2010-01-13 Thread Don Schwarz
This problem will be fixed in the next release. It was indeed an issue with AccessController.doPrivileged as Marc had hypothesized below. Thanks, Marc! On Thu, Jan 7, 2010 at 4:43 AM, Ftaylor finbarrtay...@googlemail.comwrote: This problem still exists. On Dec 16 2009, 9:42 pm, polyurethan

[appengine-java] Re: java.lang.NullPointerException cannot be cast to javax.servlet.ServletException

2010-01-07 Thread Ftaylor
This problem still exists. On Dec 16 2009, 9:42 pm, polyurethan vette...@googlemail.com wrote: Hey there, I still get this ClassCastException. When will the JVM be fixed? It's Dec and the issue was raised in Jul. Is there any progress? Thanks, Alexander On Oct 22, 10:13 am, Marc

[appengine-java] Re: java.lang.NullPointerException cannot be cast to javax.servlet.ServletException

2009-12-16 Thread polyurethan
Hey there, I still get this ClassCastException. When will the JVM be fixed? It's Dec and the issue was raised in Jul. Is there any progress? Thanks, Alexander On Oct 22, 10:13 am, Marc Guillemot mguille...@yahoo.fr wrote: Don, I've tried to produce a unit test to open an issue for Jasper...

[appengine-java] Re: java.lang.NullPointerException cannot be cast to javax.servlet.ServletException

2009-10-22 Thread Marc Guillemot
Don, I've tried to produce a unit test to open an issue for Jasper... and failed. I'm now quite sure that this is a bug in the JVM used for GAE. The JavaDoc of AccessController.doPrivileged (which is a native method) says that it propagates unchecked exceptions and throws a

[appengine-java] Re: java.lang.NullPointerException cannot be cast to javax.servlet.ServletException

2009-10-19 Thread Marc Guillemot
Hi, any progress on this issue? Is it possible that it comes from a bug in Jasper, not able to recognize RuntimeException occurring in a PrivilegedExceptionAction? // org.apache.jasper.runtime.PageContextImpl public void handlePageException(final Throwable t) throws IOException,

[appengine-java] Re: java.lang.NullPointerException cannot be cast to javax.servlet.ServletException

2009-10-19 Thread Don Schwarz
Yes, this is: https://issues.apache.org/bugzilla/show_bug.cgi?id=31171 We need to bundle a later version of Jasper with the App Engine SDK to fix this. On Mon, Oct 19, 2009 at 10:24 AM, Marc Guillemot mguille...@yahoo.frwrote: Hi, any progress on this issue? Is it possible that it comes

[appengine-java] Re: java.lang.NullPointerException cannot be cast to javax.servlet.ServletException

2009-10-19 Thread Marc Guillemot
This seems to be a really old issue that relates to something different... or do you mean that GAE uses a 5 years old version of Jasper? I've just look at the current sources of PageContextImpl http://svn.apache.org/repos/asf/tomcat/trunk/java/org/apache/jasper/runtime/PageContextImpl.java and