stefanogualdi / grails-ckeditor

Grails CKEditor plugin
http://grails.org/plugin/ckeditor
Apache License 2.0
23 stars 32 forks source link

Nullpointer Exception when war file deployed #25

Open goedef opened 8 years ago

goedef commented 8 years ago

Hello,

I ran into an issue with the latest version of ckeditor for Grails 2.x. In development mode all is well, but when I deploy a war to my production server I get Nullpointer exceptions from the OpenFileManagerController. The exceptions are generated by resource(dir: 'js/ofm', plugin: 'ckeditor'). When i put in an absolute path ('ofmBase: "/${appName}/plugins/ckeditor-4.5.4.1/js/ofm", and path: "/fenestra/plugins/ckeditor-4.5.4.1/js/ofm/images/fileicons the error are gone. So I have a workaround, but I can't find why the resource cammnad cannot fiond the plugin.