[345326]: Wrong null-handling in StaticNameResolver https://bugs.eclipse.org/bugs/show_bug.cgi?id=345326