WhyAmIGettingANullPointerExceptionWhenUploadingFiles

Last modified by Vincent Massol on 2007/01/14

Question Why am I getting a NullPointerException when uploading files?
Answer If the platform is running a Linux/Unix flavor, then you must define a temporary directory for placing uploaded files. You can do this by editing the xwiki.cfg file (located in the WEB-INF directory), and adding the following:

xwiki.upload.tempdir=/tmp
Tags:
Created by Sergiu Dumitriu on 2007/01/14
    

Get Connected