if (entry == null) {
org.opencms.loader.I_CmsResourceLoader loader = null;
String variation = null;
if (w_req.isCacheable()) variation = w_res.getCmsCacheKey().matchRequestKey(w_req.getCmsCacheKey());
w_res.setCmsCachingRequired(variation != null);
<BUG>com.opencms.file.CmsResource resource = null;</BUG>
try {
<BUG>resource = cms.readFileHeader(m_vfsTarget);
</BUG>
int type = resource.getLoaderId();

if (entry == null) {
org.opencms.loader.I_CmsResourceLoader loader = null;
String variation = null;
if (w_req.isCacheable()) variation = w_res.getCmsCacheKey().matchRequestKey(w_req.getCmsCacheKey());
w_res.setCmsCachingRequired(variation != null);
try {
if (resource == null) resource = cms.readFileHeader(m_vfsTarget);
int type = resource.getLoaderId();
