General Actions:
| 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 |