This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 250095

Summary: HTML generation for web service test is flawed
Product: webservices Reporter: pkevin
Component: RESTAssignee: Jan Stola <jstola>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.0.2   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description pkevin 2015-01-29 14:03:46 UTC
Product Version = NetBeans IDE 8.0.2 (Build 201411181905)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.8.0_05
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.5-b02

When developing a web service, and using the "Test Restful Webservice" option for that web service - the test-resbeans.html contains an error that prohibits the running of the web page.
These two lines of html are generated, WITHOUT the trailing </hr> tag, which causes the page not to load.

                        <td id="content" class="content" valign="top" colspan="12">
                            <div id="navigation" class="details"></div><hr></hr>
                            <div id="request">Select a node on the navigation bar (on the left side of this page) to test.</div><hr></hr>

And of course every time you run the test web service functionality - this file is overwritten so you need to go back in and edit and deploy manually.
Comment 1 Jan Stola 2015-03-30 15:00:55 UTC
Fixed by https://hg.netbeans.org/web-main/rev/d403bdd44a08