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 - IllegalArgumentException at org.netbeans.modules.tasklist.usertasks.options.Settings.setFilename
Summary: IllegalArgumentException at org.netbeans.modules.tasklist.usertasks.options.S...
Status: NEW
Alias: None
Product: contrib
Classification: Unclassified
Component: Tasklist (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: tasklist-issues@contrib
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-21 11:25 UTC by artisan
Modified: 2010-05-21 12:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 169942


Attachments
stacktrace (3.16 KB, text/plain)
2010-05-21 11:25 UTC, artisan
Details

Note You need to log in before you can comment on or make changes to this bug.
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.