Aktuellt

Aktuellt om stiftelsen och våra projekt.

Fel vid körning av static/sitevision/news-list:
TypeError: Cannot read property "1" from null

Code
39: image = propertyUtil.getNode(node, 'SV.Image');
40:
41: imageRenderer.update(image);
42: var imgTag = imageRenderer.render()+'';
43: var imageSrc = imgTag.match(/src="(.*?)"/)[1];
44:
45: var item = new java.util.HashMap();
46: item.put("image", image);
47: item.put("imageThumbnailUrl", imageSrc);
48: item.put("node", node);

Mer:
message: Cannot read property "1" from null
fileName: #0(Function)
lineNumber: 44
name: TypeError