Reproducable internal server error when saving draft post

vincent van der leun <[email protected]> Sat, 11 Jul 2015 13:24:27 +0200
Newsgroups gmane.comp.java.roller.user
Message-ID <zarafa.55a0fceb.368a.3311b07f00fd03a3@xen2-zarafa-71-1.vanderleun.com>
Hi,

I recently started using Roller for the first time and am pleased with it. It was exactly what I was looking for,
a blog platform that would allow me to have multiple blogs and that can be hosted on Tomcat. 

I've published one (quite) long blog entry without issues. I wanted to start writing on a second post, but this
time I got a internal server error (page generated by browser) each and every time I tried to save it. This 
issue seems to be quite bizarre and am almost afraid to report it, but perhaps somebody is willing to try this 
on their installation and/or can help me advising how to debug this problem.

If get a reproducable internal server error every time I do the following:
* Create a new entry, title "test" (or whatever)
* In the body type "I am a dedicated NetBeans user"
* Click "Save on draft"

(My original body text was longer, but after a lot of trial and error, I found above's sentence seemed to trigger the 
server error on my setup consistently).

Now the funny part, when changing the "NetBeans word to any other word, say "Eclipse", then no problem. 
Some words starting with "net" and followed by "user" seem to trigger this issue. "Network user" for example 

does not. But "netblabla user" does.

I expected this to be an issue with search indexer, but cleared this index using Maintenance and double-checked
the configured directory in the property files. It contains files after starting and the roller.log files does not
seem to complain about the search index. Of course, I also cleared the cache using those options in the Maintenance 

screen. Also enabling or disabling plugins does not seem to help.


I've increased the log-level of Roller to FINE. But no exceptions are logged in either roller.log, or Tomcat's
stdout log. I've also checked Derby's logs and did not see any related error there.

Tomcat's accesslog logs this:
XX.XXX.XXX.XXX - - [11/Jul/2015:12:44:45 +0200] "POST /blog/roller-ui/authoring/entryEdit.rol HTTP/1.1" 500 

This is the portion in the roller.log that happens between clicking on Save as draft and the internal server error:

DEBUG 2015-07-11 13:01:13,311 CharEncodingFilter:doFilter - Processing CharEncodingFilter
DEBUG 2015-07-11 13:01:13,312 CharEncodingFilter:doFilter - Set request character encoding to UTF-8
DEBUG 2015-07-11 13:01:13,312 BootstrapFilter:doFilter - Entered /blog/roller-ui/authoring/entryEdit.rol
DEBUG 2015-07-11 13:01:13,313 WebloggerConfig:getProperty - Fetching property [installation.type=auto]
DEBUG 2015-07-11 13:01:13,313 PersistenceSessionFilter:doFilter - Entered /blog/roller-ui/authoring/entryEdit.rol
DEBUG 2015-07-11 13:01:13,313 SaltCache:put - PUT arlgbNzr147kHuKmnctM
DEBUG 2015-07-11 13:01:13,314 ValidateSaltFilter:doFilter - Salt value not found on POST to URL : /roller-ui/authoring/entryEdit.rol
DEBUG 2015-07-11 13:01:13,314 PersistenceSessionFilter:doFilter - Releasing Roller Session

My current setup:

Apache Roller 5.1.2 (no custom themes, plugins, etc.)
Apache Tomcat 8.0.9
Apache Derby 10.10.2.0
Java 1.7.0.45 on Debian 6.0.2 (64-bit)

Any help is much appreciated. Since I *am* a dedicated NetBeans, I'd love being able to blog about that ;-)



Kind regards,

Vincent