faresd / appengine-maven-plugin

Automatically exported from code.google.com/p/appengine-maven-plugin
Apache License 2.0
0 stars 0 forks source link

Jetty NPE after update on 1.8.1 SDK on Development server #28

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hello

After update on 1.8.1 (and later 1.8.1.1) SDK and plugin I get the exception in 
develompent environment:
[INFO] Jun 13, 2013 10:50:52 AM com.google.apphosting.utils.jetty.JettyLogger 
warn
[INFO] WARNING: /admin/order/list
[INFO] java.lang.NullPointerException
[INFO]  at 
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(Transactio
nCleanupFilter.java:45)
[INFO]  at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.jav
a:1157)
[INFO]  at 
com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilte
r.java:125)
[INFO]  at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.jav
a:1157)
[INFO]  at 
com.google.appengine.tools.development.DevAppServerServersFilter.doDirectRequest
(DevAppServerServersFilter.java:369)
[INFO]  at 
com.google.appengine.tools.development.DevAppServerServersFilter.doDirectServerR
equest(DevAppServerServersFilter.java:352)
[INFO]  at 
com.google.appengine.tools.development.DevAppServerServersFilter.doFilter(DevApp
ServerServersFilter.java:115)
[INFO]  at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.jav
a:1157)
[INFO]  at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
[INFO]  at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
[INFO]  at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
[INFO]  at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
[INFO]  at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
[INFO]  at 
com.google.appengine.tools.development.DevAppEngineWebAppContext.handle(DevAppEn
gineWebAppContext.java:97)
[INFO]  at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
[INFO]  at 
com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.han
dle(JettyContainerService.java:480)
[INFO]  at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
[INFO]  at org.mortbay.jetty.Server.handle(Server.java:326)
[INFO]  at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
[INFO]  at 
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.ja
va:923)
[INFO]  at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
[INFO]  at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
[INFO]  at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
[INFO]  at 
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
[INFO]  at 
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

  * Only development server
  * SDK 1.8.1 English, Ubuntu Linux
  * It was expected web application with spring security
  * I got instead the exception

Libraries which I use:

so web-inf/lib:

aopalliance-1.0.jar                        jackson-annotations-2.2.2.jar        
      spring-context-support-3.2.3.RELEASE.jar   standard-1.1.2.jar
appengine-api-1.0-sdk-1.8.1.jar            jackson-core-2.2.2.jar               
      spring-core-3.2.3.RELEASE.jar              tiles-api-3.0.1.jar
asm-4.0.jar                                jackson-databind-2.2.2.jar           
      spring-expression-3.2.3.RELEASE.jar        
tiles-autotag-core-runtime-1.1.0.jar
commons-beanutils-1.8.0.jar                jboss-logging-3.1.0.CR2.jar          
      spring-jdbc-3.2.3.RELEASE.jar              tiles-core-3.0.1.jar
commons-collections-3.2.1.jar              jcl-over-slf4j-1.7.5.jar             
      spring-orm-3.2.3.RELEASE.jar               tiles-jsp-3.0.1.jar
commons-digester-2.0.jar                   jdo-api-3.0.1.jar                    
      spring-security-acl-3.1.4.RELEASE.jar      tiles-request-api-1.0.1.jar
commons-lang-2.6.jar                       jta-1.1.jar                          
      spring-security-config-3.1.4.RELEASE.jar   tiles-request-jsp-1.0.1.jar
datanucleus-api-jpa-3.1.4.jar              log4j-over-slf4j-1.7.5.jar           
      spring-security-core-3.1.4.RELEASE.jar     tiles-request-servlet-1.0.1.jar
datanucleus-appengine-2.1.2.jar            slf4j-api-1.7.5.jar                  
      spring-security-taglibs-3.1.4.RELEASE.jar  tiles-servlet-3.0.1.jar
datanucleus-core-3.1.5.jar                 slf4j-jdk14-1.7.5.jar                
      spring-security-web-3.1.4.RELEASE.jar      tiles-template-3.0.1.jar
datanucleus-enhancer-3.1.1.jar             spring-aop-3.2.3.RELEASE.jar         
      spring-tx-3.2.3.RELEASE.jar                validation-api-1.0.0.GA.jar
geronimo-jpa_2.0_spec-1.1.jar              spring-beans-3.2.3.RELEASE.jar       
      spring-web-3.2.3.RELEASE.jar               velocity-1.7.jar
hibernate-validator-4.3.0.Final.jar        spring-context-3.2.3.RELEASE.jar     
      spring-webmvc-3.2.3.RELEASE.jar            

And yes the build for run was made with clean (mvn clean appengine:devserver)
Sometimes after start of web application and trying few times refresh some page 
I get just java.lang.OutOfMemoryError: PermGen space

Feel free check out my project from git 
git@github.com:icehockeystar/militaryshop.git

Original issue reported on code.google.com by tuc...@yasenevo.ru on 20 Jun 2013 at 9:01