Community
Participate
Working Groups
I get the following stack trace when I try to run tests. Obviously, all tests fail. ... Caused by: java.lang.NullPointerException at org.eclipse.orion.internal.server.core.tasks.TaskStore.readAllTasks(TaskStore.java:165) at org.eclipse.orion.internal.server.core.tasks.TaskService.cleanUpTasks(TaskService.java:113) at org.eclipse.orion.internal.server.core.tasks.TaskService.<init>(TaskService.java:109) at org.eclipse.orion.internal.server.core.Activator.startTaskService(Activator.java:137) at org.eclipse.orion.internal.server.core.Activator.start(Activator.java:131) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711) at java.security.AccessController.doPrivileged(AccessController.java:251) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702) ... 46 more
TaskService wasn't initialized correctly. Good it came out now.
(In reply to comment #1) > TaskService wasn't initialized correctly. Good it came out now. Running tests before committing would have prevented this.
(In reply to comment #2) > (In reply to comment #1) > > TaskService wasn't initialized correctly. Good it came out now. > > Running tests before committing would have prevented this. Thanks for the advice but in my configuration tasks directory existed.