Program: 707
Project: 707
Buggy source:
private void renderOpaque(SetMultimap<Material,EntityRef> meshByMaterial){
  Vector3f cameraPosition=worldRenderer.getActiveCamera().getPosition();
  Quat4f worldRot=new Quat4f();
  Vector3f worldPos=new Vector3f();
  Transform transWorldSpace=new Transform();
  FloatBuffer tempMatrixBuffer44=BufferUtils.createFloatBuffer(16);
  FloatBuffer tempMatrixBuffer33=BufferUtils.createFloatBuffer(12);
  for (  Material material : meshByMaterial.keySet()) {
    if (material.isRenderable()) {
      OpenGLMesh lastMesh=null;
      material.enable();
      material.setFloat("String_Node_Str",1.0f);
      material.setFloat("String_Node_Str",1.0f);
      material.setMatrix4("String_Node_Str",worldRenderer.getActiveCamera().getProjectionMatrix());
      material.bindTextures();
      Set<EntityRef> entities=meshByMaterial.get(material);
      lastRendered=entities.size();
      for (      EntityRef entity : entities) {
        MeshComponent meshComp=entity.getComponent(MeshComponent.class);
        LocationComponent location=entity.getComponent(LocationComponent.class);
        if (isHidden(entity,meshComp) || location == null || meshComp.mesh == null || !worldProvider.isBlockRelevant(location.getWorldPosition())) {
          continue;
        }
        if (meshComp.mesh.isDisposed()) {
          logger.error("String_Node_Str");
          continue;
        }
        location.getWorldRotation(worldRot);
        location.getWorldPosition(worldPos);
        float worldScale=location.getWorldScale();
        javax.vecmath.Matrix4f matrixWorldSpace=new javax.vecmath.Matrix4f(VecMath.to(worldRot),VecMath.to(worldPos),worldScale);
        transWorldSpace.set(matrixWorldSpace);
        Vector3f worldPositionCameraSpace=new Vector3f();
        worldPositionCameraSpace.sub(worldPos,cameraPosition);
        Matrix4f matrixCameraSpace=new Matrix4f(worldRot,worldPositionCameraSpace,worldScale);
        AABB aabb=meshComp.mesh.getAABB().transform(transWorldSpace);
        if (worldRenderer.getActiveCamera().hasInSight(aabb)) {
          if (meshComp.mesh != lastMesh) {
            if (lastMesh != null) {
              lastMesh.postRender();
            }
            lastMesh=(OpenGLMesh)meshComp.mesh;
            lastMesh.preRender();
          }
          Matrix4f modelViewMatrix=MatrixUtils.calcModelViewMatrix(worldRenderer.getActiveCamera().getViewMatrix(),matrixCameraSpace);
          MatrixUtils.matrixToFloatBuffer(modelViewMatrix,tempMatrixBuffer44);
          material.setMatrix4("String_Node_Str",tempMatrixBuffer44,true);
          MatrixUtils.matrixToFloatBuffer(MatrixUtils.calcNormalMatrix(modelViewMatrix),tempMatrixBuffer33);
          material.setMatrix3("String_Node_Str",tempMatrixBuffer33,true);
          material.setFloat3("String_Node_Str",meshComp.color.rf(),meshComp.color.gf(),meshComp.color.bf(),true);
          material.setFloat("String_Node_Str",worldRenderer.getMainLightIntensityAt(worldPos),true);
          material.setFloat("String_Node_Str",worldRenderer.getBlockLightIntensityAt(worldPos),true);
          lastMesh.doRender();
        }
      }
      if (lastMesh != null) {
        lastMesh.postRender();
      }
    }
  }
}

Fixed version (ground truth):
public void renderOpaque(){
  if (config.getRendering().isRenderNearest()) {
    renderEntities(Arrays.asList(opaqueMeshSorter.getNearest(config.getRendering().getMeshLimit())));
  }
 else {
    renderEntities(opaqueMeshSorter.getEntities());
  }
}