mrdoob/three.js — Issue #1431: JSON Loader Issue
Author: chrisella
Created: 2012-03-01 15:51:34+00:00
State: open

I'm trying the most simplistic loading of a JSON file into my application using this code :
```javascript
var loader = new THREE.JSONLoader();
loader.load( this.JSONModel, function( geom ){
geometry = geom;
}, 'models/HalleysComet');
```

however I am receiving this error.

Uncaught TypeError: Cannot read property 'geometryGroups' of undefined
initWebGLObjectsThree.js:299
init/threejs/planets/:347
path/threejs/planets/:114
SOLARSIM.TextureManager.queuedImageLoadCompleteTextureManager.js:99
SOLARSIM.TextureManager.processQueuedTexturesTextureManager.js:45
(anonymous function)

Anyone have this issue or know what may be causing me to halt at this hurdle ?

Code and more info available if needed.
Thanks in advance.

Chris