--- a/src/glCompiler.cc Fri May 16 21:59:03 2014 +0300 +++ b/src/glCompiler.cc Sat May 17 02:00:02 2014 +0300 @@ -311,7 +311,7 @@ { // print ("Compile %1\n", g_objectOrigins[obj]); - if (obj == null || obj->document()->isImplicit()) + if (obj == null || obj->document() == null || obj->document()->isImplicit()) return; ObjectVBOInfo info;