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 85917 - Invalid URL message when page is truncated
Summary: Invalid URL message when page is truncated
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@platform
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-27 17:39 UTC by Alexander Kouznetsov
Modified: 2009-12-21 05:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
page source (11.32 KB, text/plain)
2006-09-27 17:43 UTC, Alexander Kouznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kouznetsov 2006-09-27 17:39:44 UTC
I use Swing HTML Browser to test PortletBuilder functionality of JSE 8.1 (m14b, 2006.09.13) and found that sometimes browser just says "Invalid URL: ..." but if I copy it to Firefox or other browser I can see the page. I looked into its source and found that it's trunctated, i. e. it has no closing </html> tags and others. I believe that "Invalid URL" message is incorrect. The best way is to show the page nevertheless. At least the message should be changed
Comment 1 Alexander Kouznetsov 2006-09-27 17:43:40 UTC
Created attachment 34602 [details]
page source
Comment 2 Alexander Kouznetsov 2006-09-27 17:46:45 UTC
Exact steps to reproduce:
- Use JSE 8.1
- Set Swing HTML Broswer as default
- Create New Portlet Provider Application
- Create New Java Provider Extending ProfileProviderAdapter
- Rename the provider (according to CR 6475804 this will break the Provider Application. You could also break the Application manually)
- Run Project
- RESULT: Invalid URL is shown in browser's status line.
Comment 3 _ rkubacki 2006-10-02 14:10:34 UTC
I am missing the URL and cannot reproduce this without JSE8.1. Attached page can
be displayed using
http://www.netbeans.org/nonav/issues/showattachment.cgi/34602/PageSource.html
although it is shown as a plain text only.

SwingBrowser is not a full featured browser comparable to other alternatives.
None should use it to test developed JavaEE/Web apps. It is just a last
fallback. I'd say that this is P4.
Comment 4 Alexander Kouznetsov 2006-10-05 18:15:13 UTC
I'm sorry for the bad sample. In fact, this is just a page source saved from the browser. In the real story the page is being generated by server and, probably, the connection is terminated unexpectedly or something like that.

The main point of this issue is about wrong message - In fact, the URL is correct, but the page can't be opened due to some reason. This is confusing.

Necessity to use JSE8.1 is not the reason to mark the issue as INCOMPLETE.
Comment 5 _ rkubacki 2006-10-05 19:31:07 UTC
> probably, the connection is terminated unexpectedly or something like that

This is very uncertain. I do not understand what problem I should fix?

> Necessity to use JSE8.1 is not the reason to mark the issue as INCOMPLETE.

Sure. If you tell me how I can reproduce your problem I'll be happy. I know
nothing about JSE8.1 m14b. Sorry.

P4 - as I explained SwingBrowser is not a tool that should be used as a
front-end during web app development. cf. also
http://qa.netbeans.org/bugzilla/bug_priority_guidelines.html
Comment 6 Alexander Kouznetsov 2006-10-06 14:18:23 UTC
You could easily download JSE 8.1 beta here:
http://developers.sun.com/prodtech/javatools/jsenterprise/downloads/index.jsp
Comment 7 Lukas Hasik 2008-04-10 21:16:11 UTC
moving opened issues from TM <= 6.1 to TM=Dev
Comment 8 Quality Engineering 2009-12-21 05:30:54 UTC
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. 

We apologize for any inconvenience.


Thank you.
The NetBeans Team