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.
[release31-31] Exception thrown on add filesystem attribute with object value: (String) "\\" java.lang.StringIndexOutOfBoundsException: String index out of range: 2 at java.lang.String.charAt(String.java:507) at org.openide.filesystems.XMLMapAttr$Attr.decode(XMLMapAttr.java:536) at org.openide.filesystems.XMLMapAttr$Attr.putEntry(XMLMapAttr.java:299) at org.openide.filesystems.XMLMapAttr$Attr.<init>(XMLMapAttr.java:278) at org.openide.filesystems.DefaultAttributes.writeAttribute(DefaultAttributes.java:248) at org.openide.filesystems.AbstractFileObject.setAttribute(AbstractFileObject.java:251) at org.netbeans.qa.test.FileAttrib.randomAdd(FileAttrib.java:146) at org.netbeans.qa.test.FileAttrib.access$000(FileAttrib.java:20) at org.netbeans.qa.test.FileAttrib$TestRunnable.run(FileAttrib.java:247) at org.openide.util.Task.run(Task.java:124) at java.lang.Thread.run(Thread.java:484)
Fixed in main trunk. Loop is now correctly tested.
verified in Nb34 rc2
Resolved for 3.4.x or earlier, no new info since then -> closing.