Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RAP3.1.0 M2 FileUpload NullException
RAP3.1.0 M2 FileUpload NullException [message #1711323] Thu, 15 October 2015 02:12 Go to next message
kylin Mising name is currently offline kylin Mising nameFriend
Messages: 10
Registered: December 2014
Junior Member
RAP3.1.0 M2

When I select file to upload , throw the exception,Switch to RAP3.1.0 M1 is OK

Caused by: java.lang.NullPointerException
at org.eclipse.equinox.http.servlet.internal.servlet.HttpServletRequestWrapperImpl.getRequestURI(HttpServletRequestWrapperImpl.java:249)
at javax.servlet.http.HttpServletRequestWrapper.getRequestURI(HttpServletRequestWrapper.java:243)
at org.eclipse.rap.rwt.internal.service.ServiceManagerImpl.getServiceHandlerUrl(ServiceManagerImpl.java:64)
at org.eclipse.rap.fileupload.internal.FileUploadServiceHandler.getUrl(FileUploadServiceHandler.java:61)
at org.eclipse.rap.fileupload.FileUploadHandler.getUploadUrl(FileUploadHandler.java:56)
at org.eclipse.swt.internal.widgets.FileUploadRunnable$1.run(FileUploadRunnable.java:62)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:38)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:180)
Re: RAP3.1.0 M2 FileUpload NullException [message #1711343 is a reply to message #1711323] Thu, 15 October 2015 07:20 Go to previous message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi,
this is a known problem introduced by Equinox. See related bugs:
479113: File upload is broken in 3.0.1
https://bugs.eclipse.org/bugs/show_bug.cgi?id=479113
479124: [http] Mars SR1 version of org.eclipse.equinox.http.jetty
breajks File Upload in RAP 3.0
https://bugs.eclipse.org/bugs/show_bug.cgi?id=479124
....and especially this one:
479115: [http] NPE in
HttpServletRequestWrapperImpl.getContextPath/getRequestURI
https://bugs.eclipse.org/bugs/show_bug.cgi?id=479115

Regards,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:RAP 2.3.2: GC stringExtent() returns different values for same string
Next Topic:Paths in servlet
Goto Forum:
  


Current Time: Thu Apr 25 01:56:57 GMT 2024

Powered by FUDForum. Page generated in 0.02038 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top