| Summary: | INTERNAL_SERVER_ERROR (Nullpointer Exception) when accessing process HTML page of project | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Daniel Wiehl <daniel.wiehl> | ||||
| Component: | Scout | Assignee: | Project Inbox <scout.core-inbox> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | zimmermann | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Daniel Wiehl
The problem is solved and the fix will be included in SR1 on 9/23/2011. Description: When accessing the project's process page in a webbrowser, the GET request did not run in a Scout server job. Thus, services with session scope could not be resolved which caused the reported Nullpointer exception. The problem is located in org.eclipse.scout.rt.server.ServiceTunnelServlet. Please note, that the client-server communication of the application was not affected as it is based on POST and not on GET requests. Prior to SR1, you can solve the problem in 2 ways: 1. Use P2 nightly build updatesite and update Scout RT accordingly: http://download.eclipse.org/scout/nightly/update/. Please be in mind, that the nightly build might be unstable. 2. Extend the class ServiceTunnelServlet and overwrite the faulty method doGet with a temporary fix. In order to work, replace the existing ServiceTunnelServlet registration in plugin.xml of server plugin with the new servlet class. E.g. change <servlet alias="/process" class="com.blubber.server.ServiceTunnelServlet"> <init-param name="min-version" value="0.0.0"/> </servlet> to <servlet alias="/process" class="com.blubber.server.ServiceTunnelServletEx"> <init-param name="min-version" value="0.0.0"/> </servlet> . The file 'ServiceTunnelServletEx' can be found in the files that belong to this bug. Created attachment 198753 [details]
Tempoary fix for ServiceTunnelServlet
Tempoary fix for ServiceTunnelServlet to run GET request in a server job.
Fixed ServiceTunnelServlet for milestone 3.7.1 (SR1) shipped with scout 3.7.1 |