Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2008-03-11 17:56:13 -0400
committerspingel2008-03-11 17:56:13 -0400
commit6c3b9bcd14bdc68af3d5aa269f4bb623cb543d31 (patch)
tree5e22c982e4074bd3999118fa85051fe826031ab3
parent3fdaa34a77f6554c6bce09e481aa2e3ee48d01c9 (diff)
downloadorg.eclipse.mylyn.tasks-6c3b9bcd14bdc68af3d5aa269f4bb623cb543d31.tar.gz
org.eclipse.mylyn.tasks-6c3b9bcd14bdc68af3d5aa269f4bb623cb543d31.tar.xz
org.eclipse.mylyn.tasks-6c3b9bcd14bdc68af3d5aa269f4bb623cb543d31.zip
RESOLVED - bug 219690: [m2.3.1] NPE when a remote task is changed but the property is not mapped
https://bugs.eclipse.org/bugs/show_bug.cgi?id=219690
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TasksUiPlugin.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TasksUiPlugin.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TasksUiPlugin.java
index b75ba5038..4eacb2d40 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TasksUiPlugin.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TasksUiPlugin.java
@@ -1078,6 +1078,9 @@ public class TasksUiPlugin extends AbstractUIPlugin {
}
private static String cleanValue(String value) {
+ if (value == null) {
+ return "";
+ }
String commentText = value.replaceAll("\\s", " ").trim();
if (commentText.length() > 60) {
commentText = commentText.substring(0, 55) + "...";

Back to the top