Community
Participate
Working Groups
Build ID: M20080903-2000 Steps To Reproduce: 1.double click on existing local task 2.error More information: If I create a new task, it works correctly. When I try to open an existing task (using a local repository) an error occurs: !ENTRY org.eclipse.ui 4 0 2008-09-26 14:00:48.587 !MESSAGE Unable to create editor ID org.eclipse.mylyn.tasks.ui.editors.task: An unexpected exception was thrown. !STACK 0 java.lang.NullPointerException at org.eclipse.mylyn.internal.tasks.core.DateRange.isWeekAfterNext(DateRange.java:122) at org.eclipse.mylyn.internal.tasks.core.DateRange.toString(DateRange.java:112) at org.eclipse.mylyn.internal.tasks.ui.ScheduleDatePicker.updateDateText(ScheduleDatePicker.java:148) at org.eclipse.mylyn.internal.tasks.ui.ScheduleDatePicker.initialize(ScheduleDatePicker.java:126) at org.eclipse.mylyn.internal.tasks.ui.ScheduleDatePicker.<init>(ScheduleDatePicker.java:65) at org.eclipse.mylyn.internal.tasks.ui.editors.TaskPlanningEditor.createPlanningSection(TaskPlanningEditor.java:637) at org.eclipse.mylyn.internal.tasks.ui.editors.TaskPlanningEditor.createFormContent(TaskPlanningEditor.java:333) at org.eclipse.ui.forms.editor.FormPage$1.run(FormPage.java:151) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
This just started happening to me whenever I try and open or create a local task. Opening remote tasks (via Jira connector) works fine. I am on Windows running Ganymede. I am also located in NZ, and we recently had a TZ update for DST, which may be why this is crapping out. I noticed that reporter was in AU. Error Log: java.lang.NullPointerException at org.eclipse.mylyn.internal.tasks.core.DateRange.isNextWeek(DateRange.java:155) at org.eclipse.mylyn.internal.tasks.core.DateRange.toString(DateRange.java:113) at org.eclipse.mylyn.internal.tasks.ui.ScheduleDatePicker.updateDateText(ScheduleDatePicker.java:151) at org.eclipse.mylyn.internal.tasks.ui.ScheduleDatePicker.initialize(ScheduleDatePicker.java:129) at org.eclipse.mylyn.internal.tasks.ui.ScheduleDatePicker.<init>(ScheduleDatePicker.java:68) at org.eclipse.mylyn.internal.tasks.ui.editors.TaskPlanningEditor.createPlanningSection(TaskPlanningEditor.java:640) at org.eclipse.mylyn.internal.tasks.ui.editors.TaskPlanningEditor.createFormContent(TaskPlanningEditor.java:336) at org.eclipse.ui.forms.editor.FormPage$1.run(FormPage.java:151) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.forms.editor.FormPage.createPartControl(FormPage.java:149) at org.eclipse.ui.forms.editor.FormEditor.pageChange(FormEditor.java:488) at org.eclipse.ui.part.MultiPageEditorPart.setActivePage(MultiPageEditorPart.java:973) at org.eclipse.ui.forms.editor.FormEditor.setActivePage(FormEditor.java:623) at org.eclipse.ui.forms.editor.SharedHeaderFormEditor.createPages(SharedHeaderFormEditor.java:102) at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:310) at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661) at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:428) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594) at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:266) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2820) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2729) at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2721) at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2673) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2652) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2635) at org.eclipse.mylyn.tasks.ui.TasksUiUtil.openEditor(TasksUiUtil.java:188) at org.eclipse.mylyn.tasks.ui.TasksUiUtil.openTask(TasksUiUtil.java:302) at org.eclipse.mylyn.internal.tasks.ui.wizards.NewLocalTaskWizard.performFinish(NewLocalTaskWizard.java:67) at org.eclipse.mylyn.tasks.ui.TasksUiUtil.openNewTaskEditor(TasksUiUtil.java:233) at org.eclipse.mylyn.tasks.ui.TasksUiUtil.openNewLocalTaskEditor(TasksUiUtil.java:223) at org.eclipse.mylyn.internal.tasks.ui.actions.NewTaskAction.run(NewTaskAction.java:41) at org.eclipse.mylyn.internal.tasks.ui.actions.NewTaskAction.run(NewTaskAction.java:53) at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
*** Bug 249324 has been marked as a duplicate of this bug. ***
Created attachment 114027 [details] Fix w/refactoring
Created attachment 114043 [details] updated patch
Patch applied.
Patch applied to 3.0.x branch.
*** Bug 249804 has been marked as a duplicate of this bug. ***
*** Bug 249688 has been marked as a duplicate of this bug. ***
*** Bug 250603 has been marked as a duplicate of this bug. ***
*** Bug 250610 has been marked as a duplicate of this bug. ***
*** Bug 250620 has been marked as a duplicate of this bug. ***
*** Bug 250634 has been marked as a duplicate of this bug. ***
A fixed build is available from the weekly update site: http://www.eclipse.org/mylyn/downloads/#weekly
The upgrade to 3.0.3.I20081009-2100-e3x fixed the problem for me. It is nice to see the solution already available at the time you experience the problem. Thanks!
Steffen: I assume that we will want to promote one of the weekly builds to a 3.0.3 release, due to the severity of this bug. Let's chat on today's call.
*** Bug 250758 has been marked as a duplicate of this bug. ***
*** Bug 250760 has been marked as a duplicate of this bug. ***
Created attachment 115105 [details] additional fix
*** Bug 250888 has been marked as a duplicate of this bug. ***
*** Bug 250927 has been marked as a duplicate of this bug. ***
*** Bug 251147 has been marked as a duplicate of this bug. ***
A fixed build with version 3.0.3.v20081015-1500 is now available from the main update sites.
*** Bug 251211 has been marked as a duplicate of this bug. ***
*** Bug 251254 has been marked as a duplicate of this bug. ***
*** Bug 251350 has been marked as a duplicate of this bug. ***
*** Bug 251355 has been marked as a duplicate of this bug. ***
*** Bug 251534 has been marked as a duplicate of this bug. ***
*** Bug 251903 has been marked as a duplicate of this bug. ***
*** Bug 253079 has been marked as a duplicate of this bug. ***
*** Bug 253975 has been marked as a duplicate of this bug. ***
I have the same exception with an eclipse 3.4.1 M20080911-1700 I get it when I open eclipse : the package explorer view can't open and print this exception....
Finaly it's not really the same exception : Could not create the view: An unexpected exception was thrown. java.lang.NullPointerException at org.eclipse.jst.j2ee.internal.componentcore.JavaEEBinaryComponentHelper$ArchiveCache.releaseArchive(JavaEEBinaryComponentHelper.java:401) at org.eclipse.jst.j2ee.internal.componentcore.JavaEEBinaryComponentHelper.dispose(JavaEEBinaryComponentHelper.java:299) Should I open a new bug ?
(In reply to comment #33) > Should I open a new bug ? Please, and against the j2ee standard tools project by the looks of that stack trace. Thanks.
*** Bug 269326 has been marked as a duplicate of this bug. ***