Dear all,
I'm trying to load "bike one" google sketch's model into OGRE. To do that I've exported the model into COLLADA XML format. Then I've downloaded the "libcollada14dom20" sources, builded the project and the demo loads the model correctly.
NExt I've downloaded and builded the opencollada2 plugin for OGRE. The complex_demo works fine with the cube.dae simple model but when I try to load the motorcycle model I get a null pointer assertion.

I've noticed a very strange behaviour: loading the model, some entities with lambert lighting model are founded. Debuggung the code, inside the ColladaEffectCommon.cpp document at line 98:

domProfile_COMMON::domTechnique::domLambertRef lambert(common->getTechnique()->getLambert());

the lamber pointer is not NULL (lambert lighting object is founded). The method

lambert->getEmission();

returns the pointer to domCommon_color_or_texture_type object used to read lambert parameters and convert the lighting method into the PHONG one... but every method like getColor() or getEmission() returns apointer with VERY STRANGE BEHAVIOUR...

Just following the 103-th line

materialPtr->setShadingMode(SO_PHONG);

I've added the following

domCommon_color_or_texture_typeRef tmp=lambert->getEmission();

to inspect the content of tmp var. Inside the watch I see

tmp = {_ptr=0x0ad93510}

so the pointer is NOT NULL, but when I execute

tmp->getColor() AN ASSERTION RAISES SAYING THAT THE tmp POINTER IS NULL!!

my god... what's happening???