← Back to team overview

mugle-dev team mailing list archive

Error with getGameFileContents

 

Hey Matt,

After cleaning up and fixing the getter errors i found an error with your
getGameFileContents method;

When calling pm.getObjectByID() for a primary key look up, you need to
surround it with a try-catch as
it throws JDONotFoundException if the lookup cant find an object with that
key, so comparing the result
to null doesnt work.

I've fixed this, so im letting you know if you were having any unexplained
issues with this lookup failing it should now be resolved.

Follow ups