Using Eclipse 4.4
Mylyn Tasks Connector: Tuleap 2.0.0.I20140527-0713
Mylyn Task List 3.12.0.v20140605-1718
I created a query for a custom report called "My Report". It worked at first, I could see the results. I'm not sure when it started hapenning but after a few days (restarting Eclipse, closing/opening projects) I get this NPE when I right-click > Synchronize on the query.
java.lang.NullPointerException
at org.tuleap.mylyn.task.core.internal.repository.TuleapRepositoryConnector.doRefreshProject(TuleapRepositoryConnector.java:615)
at org.tuleap.mylyn.task.core.internal.repository.TuleapRepositoryConnector.refreshProject(TuleapRepositoryConnector.java:597)
at org.tuleap.mylyn.task.core.internal.repository.TuleapRepositoryConnector.performReportOrCustomQuery(TuleapRepositoryConnector.java:330)
at org.tuleap.mylyn.task.core.internal.repository.TuleapRepositoryConnector.performQuery(TuleapRepositoryConnector.java:292)
at org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeQueriesJob.synchronizeQuery(SynchronizeQueriesJob.java:312)
at org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeQueriesJob.synchronizeQueries(SynchronizeQueriesJob.java:269)
at org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeQueriesJob.run(SynchronizeQueriesJob.java:201)
at org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeRepositoriesJob.updateQueries(SynchronizeRepositoriesJob.java:187)
at org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeRepositoriesJob.run(SynchronizeRepositoriesJob.java:142)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
I would try to contribute a fix for the issue myself but I haven't found the source code. The code available at
https://github.com/sbegaudeau/mylyn.tasks/tree/tuleap_master looks outdated as the method where the NPE happens doesn't exist.