Skip to content

Jboss6 Multiplart Issue

June 29, 2010
tags:

Using Jboss6 version : jboss-as-distribution-6.0.0.20100429-M3

Today when I downloaded the jee6 sdk with glassfish web profile and tried to run a small api related to request.getParts the following exception was thrown. When I deployed the same code to glassfish v3 it worked fine. There is an issue with multi part implementation in this release. Would check if Jira already filed for it??.

2010-06-29 12:51:19,595 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/multipart].[jsp]] (http-127.0.0.1-18080-1) Servlet.service() for servlet jsp threw exception: java.lang.NullPointerException
	at org.apache.catalina.connector.Request.getParts(Request.java:3223) [:6.0.0.20100429-M3]
	at org.apache.catalina.connector.RequestFacade.getParts(RequestFacade.java:1112) [:6.0.0.20100429-M3]
	at org.apache.jsp.getParts_jsp._jspService(getParts_jsp.java:66)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) [:6.0.0.20100429-M3]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [:1.0.0.Beta2]
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369) [:6.0.0.20100429-M3]
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326) [:6.0.0.20100429-M3]
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253) [:6.0.0.20100429-M3]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [:1.0.0.Beta2]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:336) [:6.0.0.20100429-M3]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.20100429-M3]
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:293) [:6.0.0.20100429-M3]
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [:6.0.0.20100429-M3]
	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183) [:6.0.0.20100429-M3]
	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95) [:6.0.0.20100429-M3]
	at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) [:6.0.0.20100429-M3]
	at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) [:6.0.0.20100429-M3]
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [:6.0.0.20100429-M3]
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:6.0.0.20100429-M3]
	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.0.0.20100429-M3]
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:6.0.0.20100429-M3]
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [:6.0.0.20100429-M3]
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:872) [:6.0.0.20100429-M3]
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [:6.0.0.20100429-M3]
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:6.0.0.20100429-M3]
	at java.lang.Thread.run(Thread.java:619) [:1.6.0_20]

Advertisements
No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: