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.
Build: NetBeans IDE Dev (Build 201205010400) VM: Java HotSpot(TM) Client VM, 23.0-b21, Java(TM) SE Runtime Environment, 1.7.0_04-b20 OS: Windows Vista User Comments: MackSix: 1) Open Bookmarks Window. 2) Press Table View of Bookmarks Button. 3) Enter a name for a bookmark that has a space. This Exception occurs. MackSix: Can't enter a period for Bookmark Name either. GUEST: Trying to add a Name for my Bookmark which contains a space between words throws an exception. A a workaround i can enter names with underscores, but i think empty spaces should be allowed. Stacktrace: java.lang.IllegalArgumentException: name="Bookmarks are cool.": char at [9] not allowed at org.netbeans.modules.editor.bookmarks.BookmarkInfo.setName(BookmarkInfo.java:114) at org.netbeans.modules.editor.bookmarks.BookmarkUtils.setBookmarkNameUnderLock(BookmarkUtils.java:81) at org.netbeans.modules.editor.bookmarks.ui.BookmarksTableModel.setValueAt(BookmarksTableModel.java:203) at javax.swing.JTable.setValueAt(JTable.java:2744) at org.netbeans.swing.etable.ETable.setValueAt(ETable.java:772) at javax.swing.JTable.editingStopped(JTable.java:4726)
Created attachment 118939 [details] stacktrace
Reproducible, please fix it ASAP, since the exception is quite annoying - it keeps appearing until the bookmark is renamed to suitable name (fortunately the exception dialog is not modal :-)
Caused by Mila. Issue 156124
http://hg.netbeans.org/jet-main/rev/595946fe40af
Integrated into 'main-golden', will be available in build *201205290002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/595946fe40af User: Miloslav Metelka <mmetelka@netbeans.org> Log: #211922 - IllegalArgumentException: name="Bookmarks are cool.": char at [9] not allowed - bookmark name characters not restricted.