Version: Confluence 6.2.3
A null pointer exeption occurs every time if I try to upload an attachment with a Character Ä, Ü or Ö in the filename. Everything works fine with filenames without those characters or even with the characters ä, ü or ö.
I also use JIRA and it accepts the upload of filenames with Ä, Ü or Ö without an error.
A similar issue was reported before, but the lower case letters with umlauts also did not work: Accessing edit/remove attachment URL containing a filename with German Umlauts throws NullPointerException
Please make sure your <confluence_install_dir>/conf/server.xml has this setting inside the connector directive, as recommended in the bug report:
Confluence will have to be restarted to pick up the change to the file.
I look forward to hearing whether this works for you.
Thank you for your reply. The issue looks similar, because it is also about German Umlauts in the filename.
Daniel's reply says, the reason is a Tomcat error and there is nothing you can do in Confluence.
It might be right at that time, but this new problem is different. The aspect URIEncoding="UTF-8" was always part of our connector directive. The error does not occur with low letter umlauts like ö, ä or ü and it does not occur in JIRA, which also runs on a Tomcat application server.
just ran into the same problem with Confluence 6.2.4
server.xml has the UTF-8 param
When i use the upload form i get a NullPointerException and nothing is uploaded or written to the database.
When i use the the drag and drop form on the page i get a warning with the information "null" but the file is uploaded and i can see it in the attachment list.
But when i try to access/download/delete it i get a "Page Not Found" error.
I can see the file on the filesystem and i can also see the information in the database!
The interesting part is that in the lowertitle column i still have a uppercase char Ö and not ö. If i change now the lowertitel to 123ö.txt inside the database manually everythings works. I can access/download/delete the file on the UI
Hello Community, Jessica here from the Confluence product marketing team! Today I wanted to get your takes on project planning –– what works, what doesn’t, how do you know if you’re doing it r...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs