Community
Participate
Working Groups
It seems that some of the changes to reduce memory by using intern() can cause a NullPointerException. java.lang.NullPointerException at org.eclipse.mylyn.tasks.core.TaskRepository.setProperty(TaskRepository.java:814) at org.eclipse.mylyn.tasks.core.TaskRepository.flushAuthenticationCredentials(TaskRepository.java:343) at org.eclipse.mylyn.internal.tasks.core.TaskRepositoryManager.removeRepository(TaskRepositoryManager.java:169) at org.eclipse.mylyn.internal.tasks.core.TaskRepositoryManager.clearRepositories(TaskRepositoryManager.java:439) at org.eclipse.mylyn.tests.util.TestFixture.singleRepository(TestFixture.java:211) ....
Created attachment 171128 [details] proposed patch Here is the proposed fix for this. Steffen, should we look at the other places where intern() is used to make sure that there aren't other cases like this?
Created attachment 171129 [details] mylyn/context/zip
Thanks for catching that. I have committed the fix. For unreleased changes please always feel free to reopen the original bug that way we can track all changes in one place.
*** Bug 315893 has been marked as a duplicate of this bug. ***