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 170260 - HTML file template cannot be found
Summary: HTML file template cannot be found
Status: VERIFIED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: Debian (show other bugs)
Version: 6.x
Hardware: All Unix
: P2 blocker (vote)
Assignee: Yulia Novozhilova
URL:
Keywords:
: 170266 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-12 11:53 UTC by martin_zmrhal
Modified: 2009-08-18 14:40 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (86.43 KB, image/png)
2009-08-12 11:54 UTC, martin_zmrhal
Details
screenshot - open template (32.27 KB, image/png)
2009-08-12 15:47 UTC, martin_zmrhal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description martin_zmrhal 2009-08-12 11:53:40 UTC
I did a fresh install of 6.7.1 on Ubuntu 9.10 Alpha 3 from packages from
http://nbi.netbeans.org/servlets/ProjectDocumentList (Ubuntu_Karmic folder) (Download them to <path_to_tmp_dir>/debs/,
add line "deb file:/<path_to_tmp_dir> debs/" in '/etc/apt/sources.list', run 'sudo apt-get update' and 'sudo aptitude
install netbeans'). Installed Java Web Applications plugin from UC.

When trying to add a html file to a web project, wizard shows exception "java.io.IOException: Could not connect to URL
nbresloc:/org/netbeans/modules/html/templates/html.html. No such resource was found." The wizard keeps hanging, the file
is created, but is empty. See attached screenshot...
__________________________________________________
Product Version: NetBeans IDE 6.7.1 (Build 090807)
Java: 1.6.0_0; OpenJDK Client VM 14.0-b16
System: Linux version 2.6.31-3-generic running on i386; UTF-8; en_US (nb)
Comment 1 martin_zmrhal 2009-08-12 11:54:35 UTC
Created attachment 86146 [details]
screenshot
Comment 2 Petr Blaha 2009-08-12 12:14:20 UTC
Upgrading to P1.
Comment 3 Marek Fukala 2009-08-12 13:15:46 UTC
Does this really happen only for the html template???????
Comment 4 martin_zmrhal 2009-08-12 13:25:20 UTC
Now I have noticed, that XHTML does also not work. Creating new jsp works with no problems, css is also ok. Is it
strange, that I can reproduce this in 6.5 installed from Ubuntu 9.04 packages - is it really that old bug?
Comment 5 Marek Fukala 2009-08-12 13:52:13 UTC
Strange, can you please also check the html template from Other category? Did you try java file and others? Does this
depend on project type? I cannot reproduce, of course... not on ubuntu, but on mac. Can anyone else reproduce it on
ubuntu? Anyway I seriously doubt this is P1, at most P2.
Comment 6 martin_zmrhal 2009-08-12 15:44:06 UTC
In Tools - Templates, when I select HTML or XHTML template (it has no icon btw.) the button 'Open in Editor' is greyed
out. See the screenshot...

Java file and everything else works just fine. It does not depend on project type - it happens also with Maven Web project.

I think this is Ubuntu specific, therefore you cannot reproduce it on Mac. Vojta Sigler, who is sitting next to me can
reproduce this. I have tested it on Ubuntu 9.10 running in VirtualBox, however when I tried to install NB 6.5 from
Ubuntu 9.04 (which I am running natively) packages the problem is the same.
Comment 7 martin_zmrhal 2009-08-12 15:47:45 UTC
Created attachment 86158 [details]
screenshot - open template
Comment 8 Yulia Novozhilova 2009-08-12 15:59:43 UTC
It is a package-specific issue. I'm working on it. Thanks for the report and information.
Comment 9 Yulia Novozhilova 2009-08-12 16:38:59 UTC
*** Issue 170266 has been marked as a duplicate of this issue. ***
Comment 10 Michael Nazarov 2009-08-18 14:39:28 UTC
fixed
Comment 11 Michael Nazarov 2009-08-18 14:40:11 UTC
Checked with new installation created from Aug 18, 2009 packages.