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.
When using apache wicket (eg. the wizard class) and using private inner classes then its neccessary to adress the regarding .html files with $ eg.: public class MyWiz extends Wizard { private final class Step1 extends WizardStep { ... } private final class Step2 extends WizardStep { ... } ... } When using this class now (MyWiz) it is neccessary for wicket to find the template for the steps, and these must match: classname$inner_class.html in this example: MyWiz$Step1.html But thats not possible as the IDE complains creating those files. As workaround i use the explorer, create the file, open it in NB and continue, but it would be really nice to create them in the IDE directly. Reproduce: 1) Open the "New File" wizard and choose any file, does not matter 2) Name the file something$blah As soon as the $ comes in the name the message "The File Name is not valid" appears and its impossible to continue. ps.: I guess i have chosen the wrong category. I was not sure where to file this.
I cannot reproduce it on nb7.2 on linux. I can easily created files like t$t or test$ff.html.
Interesting, me neither on my private machine. But on my private machine i am not able to put # in a filename. I will test this on the workstation where it occured with $. Please try to create a filename with # in it. This is 100% not working on my machine right now (win7 sp1 x64, netbeans 7.2, jdk7).
I have no problems creating e.g. HTML files with $ char in their path. Product Version: NetBeans IDE 7.2 (Build 201207171143) Java: 1.6.0_23; Java HotSpot(TM) 64-Bit Server VM 19.0-b09 System: Windows 7 version 6.1 running on amd64; Cp1250; cs_CZ (nb) Please attach IDE log with error message(s) and reopen, thanks.
Once again: Please try to make a filename with # in it. I just tested it with Netbeans 7.3 Beta 2 and its not working when creating a html file with $ in its filename.
(In reply to comment #4) > Once again: Please try to make a filename with # in it. > I just tested it with Netbeans 7.3 Beta 2 and its not working when creating a > html file with $ in its filename. That's working fine for me as well. Attach either your IDE log or screen shot with error message your getting when creating such a file, then reopen.
http://www.imagebanana.com/view/745xp85w/Unbenannt.png
http://www.imagebanana.com/view/7ikx5nyu/Unbenannt.png
Also ( ) # $ @ and many more are not working.
Thanks for the screen shots. I still can't reproduce it. What project type do you use?
Tested with: Java - Java Application Java Web - Web Application Maven - Java Application Maven - Web Application
There's something wrong with your setup, please attach the IDE log and reopen, thanks.
Lol, yes with my setup is something wrong. Of course. This is a clean and fresh install of Win7 and NB7.3b2. Also this happens on each machine i got NB running. I can not attach the messages.log now because it contains sensitive informations (company informations). Is this "fast close" the new way of fixing bugs? I hope not, otherwise i have to switch the IDE soon. I guess something is wrong with your installation of NB because you get not this message. I will attach a log this evening when i am on my workstation under linux.
Attach the log, without it the bug is incomplete and cannot be fixed.
Created attachment 127496 [details] messages.log
Reporter, do you stored your project files on a USB stick by any chance? If you do, what kind of file system is on that USB stick?
Waiting for response from reporter.
Once again: its a regular project. No USB, its an SSD. Nothing special. Just go to a shop, buy a pc, install win7, install NB and it will fail. I can not reproduce this on F17 x64 with NB Dev 201210260001 (but i also have no web support installed on this, its another machine). The other machines all run Windows. I will test this later on even another machine (running win7 x64)
(In reply to comment #18) > Once again: its a regular project. No USB, its an SSD. Nothing special. So what is the file system on that SSD?
It is windows 7, it is NTFS.
(In reply to comment #20) > It is windows 7, it is NTFS. Ok, thanks for the info. So to clarify - your projects files are NOT on any external disk and the file system they are on is NTFS, correct?
yes. it is win 7 x64. it is all on my local hard drive. all my hard drives under windows are running ntfs. all under linux are running ext4. i can reproduce this on my win7 machine at home now too. its running 7.2.1. so i have now at least 5 machines (different hardware profile) with nb which have this problem. did you try to recreate the same nb installation i have? all plugins? all that stuff? i just cant believe you can not reproduce it. something is missing.
Reassigning to web team for evaluation, I've run out of options this could be caused by:)
web-main#c5659b6271b0 Web support customizes some generic files templates (eg. HTML one) and there was a code disallowing # and $ characters in file name or file path. I removed those two from list of disallowed characters.
*** Bug 206639 has been marked as a duplicate of this bug. ***
Integrated into 'main-golden', will be available in build *201211140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/c5659b6271b0 User: David Konecny <dkonecny@netbeans.org> Log: #215853 - $ is not allowed in filenames but wicket requires this sometimes