Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 373156

Summary: Client sends requests to /null
Product: [RT] RAP Reporter: Ralf Sternberg <rsternberg>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.5   
Target Milestone: 1.5 M6   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Ralf Sternberg CLA 2012-03-02 17:04:36 EST
Before the first POST request, the web client sends GET requests to the URL /null.
Can be reproduced with a simple RWT-OSGi application with just a simple entrypoint registered in the ApplicationConfigurator.
Comment 1 Ivan Furnadjiev CLA 2012-03-05 03:50:02 EST
We have a javascript tag with a source null:
...
<script charset="UTF-8" src="null" type="text/javascript">
...
In RAP application this is the javascript file with concatenate forms client-side widgets and their adapters.
Comment 2 Ivan Furnadjiev CLA 2012-03-05 04:32:34 EST
Fixed in StartupPageConfigurer#writeScriptTag to no render a script tag if library is null. JUnit test added.