Nicolo,
I suspect that using and NPE is what is causing this error. Can you try changing your entity to be persistable and try again to see if that resolves the error?
Excel Importer runs on the server, so I don't think it will be able to access NPEs.
Hope that helps,
Mike