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.
Get nullpointer trying to open the tasklist on a platform (not IDE) build. *********** Exception occurred ************ at Fri Jun 14 07:41:02 PDT 2002 java.lang.NullPointerException at org.netbeans.modules.tasklist.TaskList.findTodoFolder(TaskList.java:1131) at org.netbeans.modules.tasklist.TaskList.readDocument(TaskList.java:369) at org.netbeans.modules.tasklist.TaskList.getTaskList(TaskList.java:85) at org.netbeans.modules.tasklist.TaskListView.showList(TaskListView.java:162) at org.netbeans.modules.tasklist.TaskListView.componentOpened(TaskListView.java:133) at org.openide.windows.WindowManager.componentOpenNotify(WindowManager.java:196) at org.netbeans.core.windows.WindowManagerImpl.access$1201(WindowManagerImpl.java:99) at org.netbeans.core.windows.WindowManagerImpl$TopComponentManager.doOpen(WindowManagerImpl.java:1630) at org.netbeans.core.windows.WindowManagerImpl$TopComponentManager.open(WindowManagerImpl.java:1584) at org.openide.windows.TopComponent.open(TopComponent.java:200)
Fixed. Instead of saving the tasklist in {netbeans.user}/system/Projects/Default/TodoList/todolist.xml (which was convenient because I could get to the Projects datafolder via the OpenAPIs "Places" API - and the extra TodoList folder was necessary because the projects support occasionally wipes out all toplevel files in the Default directory) I now save it in {netbeans.user}/system/tasklist.xml I also left a bit of logic in there such that it automatically finds your old todo list if you don't have a new one - this will be removed once the module gets to version 1.0 and is intended only as a convenience for alpha/beta testers.
Fixed
It was resolved in 3.6 time or earlier.
Please, reporter, could you verify fixed issues. Thanks a lot.
This bug is marked as fixed for a long time and noone complained. I am marking it as verified. If anybody does not agree, please reopen the bug.