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 186495

Summary: IllegalArgumentException at org.netbeans.modules.tasklist.usertasks.options.Settings.setFilename
Product: contrib Reporter: artisan <artisan>
Component: TasklistAssignee: tasklist-issues@contrib <tasklist-issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 169942
Attachments: stacktrace

Description artisan 2010-05-21 11:25:26 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-5211-on-100521)
VM: Java HotSpot(TM) 64-Bit Server VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Linux

User Comments:
artisan: Pressing the "OK" button in the Options dialog.

Changed the Default User Tasks File to "{userdir}{/}Dropbox{/}netbeans{/}tasklist.ics"




Stacktrace: 
java.lang.IllegalArgumentException
   at org.netbeans.modules.tasklist.usertasks.options.Settings.setFilename(Settings.java:279)
   at org.netbeans.modules.tasklist.usertasks.options.UTOptionsPanel.applyChanges(UTOptionsPanel.java:203)
   at org.netbeans.modules.tasklist.usertasks.options.UTPanelController.applyChanges(UTPanelController.java:100)
   at org.netbeans.modules.options.advanced.Model$DelegatingController.applyChanges(Model.java:296)
   at org.netbeans.modules.options.advanced.Model.applyChanges(Model.java:181)
   at org.netbeans.modules.options.advanced.AdvancedPanel.applyChanges(AdvancedPanel.java:106)
Comment 1 artisan 2010-05-21 11:25:30 UTC
Created attachment 99305 [details]
stacktrace
Comment 2 Peter Pis 2010-05-21 12:17:09 UTC
Reassigning.
Comment 3 artisan 2010-05-21 12:21:43 UTC
It most probably means the path does not exist. I thought {userdir} was the home directory (/home/jan) but it seems it is something else (/home/jan/.netbeans/dev). It's just a matter of error message then.

Once I hardcoded the path it didn't save to the new file. I had to restart netbeans to have it save to the new file.