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 24780 - tasklist doesn't work with platform build
Summary: tasklist doesn't work with platform build
Status: VERIFIED FIXED
Alias: None
Product: contrib
Classification: Unclassified
Component: Tasklist (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-14 15:47 UTC by Torbjorn Norbye
Modified: 2004-03-03 15:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Torbjorn Norbye 2002-06-14 15:47:32 UTC
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)
Comment 1 Torbjorn Norbye 2002-06-14 16:55:48 UTC
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.
Comment 2 Torbjorn Norbye 2002-06-14 18:24:07 UTC
Fixed
Comment 3 _ pkuzel 2004-01-14 13:05:33 UTC
It was resolved in 3.6 time or earlier.
Comment 4 Milan Kubec 2004-03-02 08:47:57 UTC
Please, reporter, could you verify fixed issues. Thanks a lot.
Comment 5 Jan Lahoda 2004-03-03 15:01:44 UTC
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.